Why is that an issue?
Just tell Ant or your IDE to also use the sources from <my output
folder>/src
Or move src one directory up using Ant.

If you are using Ant to compile your code:

<javac ....>
   <src path="src"/>
   <src path="myoutputfolder/src">
...
</javac

On Thu, Jun 3, 2010 at 4:26 PM, Nan Null <[email protected]> wrote:

> I am using Axis2 1.5.1.  When generating the output Java code in Ant,
> I specify the output directory.
> However, the tool always output under:
> <my output folder>/src/package....
> I want it under:
> <my output folder>/package
>
> Basically, Axis always insert "src" into my project.  For a learning
> project, that's not an issue.  However, this is an existing project,
> and it causes a lot of issue for me.  Would someone please tell me how
> to correct this?
>
>       <property name="myOutputFolder" value="${basedir}/srcdir" />
>        <wsdl2java
>            output="${myOutputFolder}"
>           .....
>        />
>
> The output I got is under:
>
> ${basedir}/srcdir/src/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to