Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] exclude a resource folder within src/main/resources in source bundle

Hi,
I have this structure within my bundle (excerpt):

/
 + src/main/java/... (java files)
 + src/main/resources/... (some config files)
 + src/main/resources/lib (big files)
 + src/test/...

The build.properties looks like this:
source.. = src/main/java/,\
           src/main/resources/
output.. = target/classes/
bin.includes = .,\
               pom.xml,\
               META-INF/
src.includes = src/,\
               pom.xml,\
               doc/
src.excludes = src/test/java/,\
               src/test/resources/


Now, when the source bundle is generated, the jar's structure looks like this (excerpt):

/
 + <everything within the java folder>
 + <everything within the resources folder>
 + <everything within the src folder>

I.e. the resulting source jar will contain everything of the binary jar AND what is configured for the source jar.
How can I instruct tycho to not include the binary contents (contents of 'source..')?

When using the export plugin wizard, the resulting source jar does not contain what is configured in 'source..'.

Thanks.

Back to the top