I've created a simple test that demonstrates the problem.  The essence of which 
is that the Java builder doesn't deal with java sources in multiple directories.
So if I were to crete a Java builder and give it a list of two directories for 
input files, it should generate a command like this:
  javac -d build/classes -sourcepath gen/mymod/java:Source/Interface 
Source/Interface/ConstantName.java gen/mymod/java/LibraryFlags.java

I also attempted to create a test case from this example, and have attached a 
patch that adds the test case.

Note, this is a regression from some version after 0.97, which is what the 
project I'm attempting to update, is still using.

I'm also happy to attempt to fix this issue, and I'm an old hand at python, but 
a total noob when it comes to scons, so any help would be appreciated.

Thanks,

Robert Boehne

From: Scons-dev 
<[email protected]<mailto:[email protected]>> on behalf of 
William Blevins <[email protected]<mailto:[email protected]>>
Reply-To: SCons developer list <[email protected]<mailto:[email protected]>>
Date: Wednesday, April 6, 2016 at 8:14 PM
To: SCons developer list <[email protected]<mailto:[email protected]>>
Subject: Re: [Scons-dev] Java tests

Rob,

Tests exist under #test with Java-related integration tests under #test/Java. 
Not sure if all of them build jars.

Information on the SCons test framework can be found under #QMTest as a 
README.txt and some *.rst file(s).

https://bitbucket.org/scons/scons/wiki/DeveloperGuide/TestingMethodology

V/R,
William

On Wed, Apr 6, 2016 at 4:13 PM, Rob Boehne 
<[email protected]<mailto:[email protected]>> wrote:
All,

I'm working on fixing an issue with scons, and It would help if someone could 
point me to a test currently in the test suite that compiles java into a jar.

Thanks,

Robert Boehne

_______________________________________________
Scons-dev mailing list
[email protected]<mailto:[email protected]>
https://pairlist2.pair.net/mailman/listinfo/scons-dev


Attachment: twoDirJavac.tgz
Description: twoDirJavac.tgz

Attachment: newtest.pat
Description: newtest.pat

_______________________________________________
Scons-dev mailing list
[email protected]
https://pairlist2.pair.net/mailman/listinfo/scons-dev

Reply via email to