roippi
Developer
ant is really badly documented.  By that I mean that the ant manual is actually very complete but unintuitively laid out, and googling what I need is hard.
I believe I figured it out. First, compile needs to know about the .class files in the jars, so it needs to be added to the classpath:
	
	
	
		
And then jar needs to know about it since compile will make sure that all the necessary .class files are there but won't actually unpack the .jars:
	
	
	
		
Totally intuitive, yeah.
I'll be committing this soonish and hopefully it compiles for others. Knock on wood.
				
			I believe I figured it out. First, compile needs to know about the .class files in the jars, so it needs to be added to the classpath:
		PHP:
	
				<classpath>
			      <pathelement path="${classpath}"/>
			      <fileset dir="${lib}/jar">
			        <include name="**/*.jar"/>
			      </fileset>
			</classpath>
	And then jar needs to know about it since compile will make sure that all the necessary .class files are there but won't actually unpack the .jars:
		PHP:
	
			    <zipgroupfileset dir="lib/jar">
		        <include name="*.jar"/>
		    </zipgroupfileset>
	Totally intuitive, yeah.
I'll be committing this soonish and hopefully it compiles for others. Knock on wood.