Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] src.excludes in build.properties

Given the below, what do I set in build.properties to exclude src/com/lgc/pkg2/Util2.java from being compiled? I originally thought that's what src.excludes was for.

[jgeorgeson@inconsequential: /d01/sandboxes/ jgeorgeson]
$ cat build.propertiess
source.. = src/
output.. = bin/
[jgeorgeson @inconsequential: /d01/sandboxes/ jgeorgeson]
$ find src
src
src/com
src/com/lgc
src/com/lgc/pkg1
src/com/lgc/pkg1/Util1.java
src/com/lgc/pkg2
src/com/lgc/pkg2/Util2.java

-----Original Message-----
From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Sievers, Jan
Sent: Thursday, December 13, 2012 10:00 AM
To: Tycho user list
Subject: Re: [tycho-user] src.excludes in build.properties

you will have to elaborate more on your use case a sample project could help

Jan

-----Original Message-----
From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Justin Georgeson
Sent: Donnerstag, 13. Dezember 2012 16:49
To: Tycho user list
Subject: Re: [tycho-user] src.excludes in build.properties

Thanks, but I guess I'm still missing something. After a bit of googling, I guess src.include and src.exclude aren't used for compiling. They're used for building a jar file that has sources included. I have source files included by the folder(s) listed in source.. which I don't want to be compiled. Can I do that in the build.properties?
 
-----Original Message-----
From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Sievers, Jan
Sent: Thursday, December 13, 2012 2:28 AM
To: Tycho user list
Subject: Re: [tycho-user] src.excludes in build.properties

http://git.eclipse.org/c/tycho/org.eclipse.tycho.git/tree/tycho-its/projects/TYCHO449SrcIncludesExcludes 


From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Justin Georgeson
Sent: Donnerstag, 13. Dezember 2012 00:01
To: (tycho-user@xxxxxxxxxxx)
Subject: [tycho-user] src.excludes in build.properties

Is this property supported? It's documented as part of PDE here
 
http://help.eclipse.org/juno/topic/org.eclipse.pde.doc.user/reference/pde_feature_generating_build.htm?cp=4_3_1_1
 
We tried multiple variations of ant file patterns, with and without the parent path prefix listed in source.. (ie if "source.. = src/" then putting "src.excludes = com/lgc/." and "src.excludes = src/com.lgc/"), individual files vs the whole directories. Nothing seemed to be honored.
 
 
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user


Back to the top