> You mention in that message upgrading Ant to 1.5.3 in Maven. 
> How exactly did you do that? I added a dependency on 
> ant-1.5.3-1.jar in project.xml, with no change in the results.

Maven b10 comes distributed with that, so it should be fine. That's what I
had to do to get it working.

Sanity check:
- is your CLASSPATH env variable set to something it shouldn't be?
- is MAVEN_HOME pointing to b10, and it is also first in your path?

>     <ant:exec executable="ant" failonerror="true">
>         <ant:arg value="-Dmaven.repo.local=${maven.repo.local}" />
>         <ant:arg line="-f project-ant.xml" />
>         <ant:arg value="generate-sql" />
>     </ant:exec>
> 
> This is how I'm not completely mental. I can do what needs to 
> be done in Ant; it's just in Maven that I can't get it to work.

Fair enough. For something less ugly, you can probably use a taskdef for the
style task, which can specify a classpath including xalan
(maven.dependency.classpath). I think that will work.

- Brett

Reply via email to