[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

build.sysclasspath instead of patching upstream build.xml?



Hi,

I got the hint, that it could be possible to use build.sysclasspath to 
override classpaths defined in an ant buildfile:

http://ant.apache.org/manual/sysclasspath.html

But I didn't get it to work. My debian/rules is:

export CLASSPATH+=:$(CURDIR)/lib/*.jar:/usr/share/java:/usr/share/java/*.jar
export ANT_OPTS+= -Dbuild.sysclasspath=first -Dant.build.clonevm=true
<SNIP>
	ant -propertyfile debian/ant.properties -buildfile debian/build-override.xml

Any idea?

Best regards,

Thomas Koch, http://www.koch.ro


Reply to: