ant help needed

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

ant help needed

Per Bothner
The various XxxVector.java classes in gnu/lists are now generated
from the file gnu/lists/PrimVector.template, using the  program
gnu/kawa/util/PreProcess.java.  Currently, the source files (such
as FVector.java and U32Vector.java) are checked in, and generated
as needed using Makefile rules.

The build should still work using Ant, because the generated
files are in the repository.  However, I'd like to remove these
files, but first we need to update Ant to generate them.
Most of the work is handled by PreProcess, which is already called by
Ant's build.xml (to handle converting between between Java7/Java8/etc).
So it's just a matter of calling PreProcess with the right arguments,
which is fairly simple.

I also just noticed that Ant reports a bunch of:
   java.io.FileNotFoundException: JAVA5  (No such file or directory)
I won't have time to look into this right now, but I'll do so
on Sunday if no-one beats me to it.
--
        --Per Bothner
[hidden email]   http://per.bothner.com/
Reply | Threaded
Open this post in threaded view
|

[PATCH] PreProcess fix (was Re: ant help needed)

Jamison Hope
On Aug 1, 2015, at 2:41 AM, Per Bothner <[hidden email]> wrote:

> I also just noticed that Ant reports a bunch of:
>  java.io.FileNotFoundException: JAVA5  (No such file or directory)

This was due to a typo in PreProcess.java, it was scanning the string for charAt(0) instead of the separator.  The attached patch should fix it.


--
Jamison Hope
The PTR Group
www.theptrgroup.com



PreProcess-fix-FileNotFound.patch (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] PreProcess fix (was Re: ant help needed)

Per Bothner


On 08/10/2015 12:01 PM, Jamison Hope wrote:
> On Aug 1, 2015, at 2:41 AM, Per Bothner <[hidden email]> wrote:
>
>> I also just noticed that Ant reports a bunch of:
>> java.io.FileNotFoundException: JAVA5  (No such file or directory)
>
> This was due to a typo in PreProcess.java, it was scanning the string
> for charAt(0) instead of the separator.  The attached patch should
> fix it.

Oops. Checked in.  Thanks!
--
        --Per Bothner
[hidden email]   http://per.bothner.com/