ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <>
Subject Re: cvs commit: jakarta-ant/src/testcases/org/apache/tools/ant/taskdefs/optional
Date Mon, 11 Mar 2002 18:24:15 GMT

----- Original Message -----
From: "Gert Driesen" <>
To: "Ant Developers List" <>
Sent: Sunday, March 10, 2002 10:55 PM
Subject: Re: cvs commit:

> Hi Steve,
> I seems that the scandir method in the Jspc class does not take the
> attribute into account.

not yet no :)

> If a package was specified and the destDir/package (converted to path)
> exists, the java file (if it was already generated before) would be
> in a package underneath the destDir path.

it is more complicated than just this

the task has to resolve all source directories relative to the uriroot and
decide packages for all of them, *and* jasperc has to save stuff into that

> So you should compare the last modified date of the java file in the
> destDir/package location with the jsp file in de srcDir location.

yup, but it will fall out of proper dir tree handling

> I think you should also throw a BuildException if the source file that's
> passed to the mapToJavaFile method isn't a jsp page.

this I dont know about; we just ignore them, which is consistent with

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message