Running Pluggin From Ant Script [message #448573] |
Thu, 27 April 2006 02:08 |
Eclipse User |
|
|
|
Originally posted by: muhammed.yaseen.sourcen.com
Hi
I have created a pluggin which is using some third party libraries, i have
to do some post compile tasks so that some icons and other resource are
moved to the /bin folder, then i have to launch the pluggin for test or
for running.
for this what i did is i exported the project as a build file, then i
modified the build-user.xml that calls th default build and then launch
the application.
and then i try to launch the pluggin from the build-user xml which returns
Java 13 error
" Java returned: 13 "
here is the snippet
<target depends="build" name="MYBUILD">
<echo message="${ant.project.name}: ${ant.file}"/>
<mkdir dir="${buildLocation}/icons"/>
<copy todir="${buildLocation}/icons">
<fileset dir="${iconDir}">
<include name="*.*"/>
</fileset>
</copy>
<copy todir="${buildLocation}/{configDir}">
<fileset dir="${configDir}">
<include name="${propertyFile}"/>
</fileset>
</copy>
<java classname="org.eclipse.core.launcher.Main"
classpathref="project.classpath" failonerror="yes">
<arg line="-application"/>
<arg line="com.foo.bar.rcp.Application"/>
</java>
</target>
I know this can be done some how as eclipse is loading it after all
without error :)
Please Help
|
|
|
Powered by
FUDForum. Page generated in 0.03107 seconds