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

Ok. Thanks. Sorry I didn’t ask the more direct question the first time. The Tycho compiler plugin has a configuration option has an excludes option so I’ll try that out.

 

From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Stéphane Bouchet
Sent: Thursday, December 13, 2012 10:52 AM
To: Tycho user list
Subject: Re: [tycho-user] src.excludes in build.properties

 

as said, build.properties is not for excluding classes to be compiled. it is used in order to creates the final JAR.

 

to excludes a java file to be compiled, you can modify the .classpath. 

therefore, i do not know if tycho is supporting it.

 

Cheers,

 

2012/12/13 Justin Georgeson <JGeorgeson@xxxxxxx>

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
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user

 


Back to the top