Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 344864 - [releng] what should go in the build
Summary: [releng] what should go in the build
Status: RESOLVED WONTFIX
Alias: None
Product: Orion
Classification: ECD
Component: Releng (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-05 12:38 EDT by Felipe Heidrich CLA
Modified: 2015-04-27 10:43 EDT (History)
2 users (show)

See Also:


Attachments
example patch (462 bytes, patch)
2011-05-05 15:28 EDT, Andrew Niefer CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Felipe Heidrich CLA 2011-05-05 12:38:37 EDT
Right now I suspect that the build process gets all the files under each js project (for example, org.eclipse.orion.client.editor). This creates files in the html web server that I'm not sure if they should be there, for example:
http://orion.eclipse.org:8080/editor/
http://orion.eclipse.org:8080/editor/samples/demo.html

These files are very useful during dev time, but maybe they don't make sense in the final build.

If we decided that these files should be in the final build, then I would like to improve them a bit.
Comment 1 John Arthorne CLA 2011-05-05 13:55:18 EDT
Related to bug 343870.

For tests I think they should really be removed from the production server. Samples I could see being useful for people learning our APIs so leaving them on the main server sounds fine to me.
Comment 2 Andrew Niefer CLA 2011-05-05 15:28:22 EDT
Created attachment 194875 [details]
example patch

It is possible to exclude specific files from being included by using the "bin.excludes" property which is a comma separated list of files or ant patterns to exclude.

See attached patch as an example which excludes the demo.html file.
Comment 3 Boris Bokowski CLA 2011-05-06 00:03:48 EDT
Note that having the latest demo.html available on orionhub.org in runnable form is quite useful for making our performance tests available to browser vendors in a way that they are used to consume web code.
Comment 4 John Arthorne CLA 2015-04-27 10:43:00 EDT
Not a big win to prune here.