It has to conform to existing source structure we have. I can't just arbitrarily put it anywhere. It needs to be put inside an existing package, where it's a sub package, deal with WS stubs. There are many other tasks involved for this same functionality.
Anyway, I think it should not be like that. At least give an option. The work around I had was to create another task to move the files over to the right place. On Thu, Jun 3, 2010 at 4:34 PM, Jorge Medina <[email protected]> wrote: > 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] >> > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
