I'd recommend writing the plugin in Java and calling the Ant task
using the Java API, then add the source root. This would help to
encapsulate the functionality.

- Brett

On 11/17/05, Lee Meador <[EMAIL PROTECTED]> wrote:
> I've scanned the last couple of weeks' messages and I think I see what
> is happening.
>
> I have an ant task that generates java from a wsdl using Websphere 6.0's
> ant tasks to do so. It's similar to the Axis ones.
>
> I have it generate the java into target/generated-sources/java.
>
> The generated code doesn't get compiled when I do a
>
> mvn compile
>
> I think the problem is that generated-sources doesn't get added to the
> compileSourceRoots since they are being generated in ant.
>
> So ... can I run some useless plugin with no input and get the
> generated-sources added to the list of roots? Is there some other way to
> get it to look there?
>
> Thanks.
>
> -- Lee Meador
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to