Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Including file into build
Including file into build [message #676281] Fri, 03 June 2011 10:00 Go to next message
Klaus S. is currently offline Klaus S.
Messages: 10
Registered: January 2011
Junior Member
I want to include a file which is located in a source folder of the project (1) into the binary folder (2).

(1) src/org/eclipse/bpmn2/impl/bpmn2.ecore
(2) bin/org/eclipse/bpmn2/impl/bpmn2.ecore
where 'src' is a source folder, 'bin' a binary folder

I figured out that for *.txt and *.properties files this will be done automatically but not with files with file extension *.ecore
So I tried to specify the file as bin.include in build.properties but unfortunately this does not work.

My build.properties looks like this:
bin.includes = .,\
               model/,\
               META-INF/,\
               plugin.xml,\
               plugin.properties,\
               src/org/eclipse/bpmn2/impl/bpmn2.ecore
jars.compile.order = .
source.. = src/
output.. = bin/
Re: Including file into build [message #676286 is a reply to message #676281] Fri, 03 June 2011 10:24 Go to previous messageGo to next message
Satyam Kandula is currently offline Satyam Kandula
Messages: 444
Registered: July 2009
Senior Member
Except filtered resources all non java files in the build path gets copied. The filtered resources can be specified through Preferences->Java Compiler->Building->Output Folder.
Re: Including file into build [message #676318 is a reply to message #676286] Fri, 03 June 2011 12:11 Go to previous message
Klaus S. is currently offline Klaus S.
Messages: 10
Registered: January 2011
Junior Member
thanks! .. this solves the issue
Previous Topic:Any way to register event to trigger when Unix FD changes?
Next Topic:Getting NoSuchMethodError in runtime.
Goto Forum:
  


Current Time: Wed Jul 23 16:07:24 EDT 2014

Powered by FUDForum. Page generated in 0.01631 seconds