compiling windchill .java files using ant
Hi,
trying to compile a windchill .java file using ant and having no success. The command on its own in a windchill shell works fine ie "javac -d %WT_HOME%\codebase %WT_HOME%\codebase\com\ptc\windchill\uwgm\proesrv\c11n\DefaultModeledAttributesDelegate.java".
I have tried both :
srcdir="${wchome}/codebase/com/ptc/windchill/uwgm/proesrv/c11n"
destdir="${wchome}/codebase/com/ptc/windchill/uwgm/proesrv/c11n"
includes="DefaultModeledAttributesDelegate.java"
fork="true"
memoryMaximumSize="512M"
nowarn="true"
debug="true" >
<classpath>
<pathelement path="class.path"/>
</classpath>
</javac>
and
<exec executable="${wchome}/bin/windchill.exe">
<arg line="javac" -d=" %wt_home%=" codebase=" %wt_home%=" codebase=" com=" ptc=" windchill=" uwgm=" proesrv=" c11n=" defaultmodeledattributesdelegate.java"="/>
</exec>
but neither seem to work. IN both cases I get java errors.
Any ideas?
Cheers
Simon Lucas

