Skip to main content


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 14:00 Go to next message
Klaus S. is currently offline Klaus S.Friend
Messages: 11
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 14:24 Go to previous messageGo to next message
Satyam Kandula is currently offline Satyam KandulaFriend
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 16:11 Go to previous message
Klaus S. is currently offline Klaus S.Friend
Messages: 11
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: Thu Mar 28 13:17:18 GMT 2024

Powered by FUDForum. Page generated in 0.02565 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top