Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Java returned: 13
Java returned: 13 [message #329462] Wed, 25 June 2008 10:55 Go to next message
Eclipse UserFriend
Originally posted by: ivan.palov.sap.com

I have simple JavaProject created in Eclipse SDK
Version: 3.4.0
Build id: I20080207-1530
and build.xml file with content:

<project name="testproject" basedir=".">
<property
name="build.home"
value="c:/eclipse/perf" />
<property
name="buildType"
value="s" />
<property
name="date"
value="20080404" />
<property
name="time"
value="175400" />
<property
name="RELENG_BUILDER"
value="releng.wtpbuilder" />

<property
name="perf.buildId"
value="${buildType}${date}-${time}" />
<property
name="perfRoot"
value="${build.home}/perfRoot" />
<property

file=" ${build.home}/${RELENG_BUILDER}/distribution/wtp.perf/perf.p roperties "
/>
<target name="executeEclipse">
<java
fork="true"
failonerror="true"
timeout="28800000"
dir="${perfRoot}"
classname="org.eclipse.equinox.launcher.Main" >
<classpath>
<fileset
dir="${perfRoot}\eclipse\plugins">
<include name="org.eclipse.equinox.launcher_*.jar" />
</fileset>
</classpath>
<jvmarg value="-Dosgi.ws=win32" />
<jvmarg value="-Dosgi.os=win32" />
<jvmarg value="-Dosgi.arch=x86" />
<jvmarg
value="-Declipse.perf.dbloc=${build.home}/${perf.dbloc}"
/>
<arg value="-application" />
<arg
value="org.eclipse.test.performance.ui.resultGenerator"
/>
<arg value="-baseline" />
<arg value="${perf.ref.buildId}" />
<arg value="-baseline.prefix" />
<arg value="${perf.ref.config}" />
<arg value="-current" />
<arg value="${perf.buildId}" />
<arg value="-current.prefix" />
<arg value="${perf.config}" />
<arg value="-jvm" />
<arg value="${perf.jvm}" />
<arg value="-config" />
<arg value="${perf.config}" />
<arg value="-output" />
<arg value="${perfRoot}/results1/graph" />
<arg value="-print" />
</java>
</target>
</project>



And when i run this build.xml (like ant build file from ant view), i get
error saying : JAVA Returned: 13.


here is the whole output i get:


Apache Ant version 1.7.0 compiled on December 13 2006
Buildfile: C:\Documents and
Settings\kaloyan\Desktop\testovworkspace\sampleAnt\build.xml
parsing buildfile C:\Documents and
Settings\kaloyan\Desktop\testovworkspace\sampleAnt\build.xml with URI =
file:/C:/Documents%20and%20Settings/kaloyan/Desktop/testovwo rkspace/sampleAnt/build.xml
Project base dir set to: C:\Documents and
Settings\kaloyan\Desktop\testovworkspace\sampleAnt
[antlib:org.apache.tools.ant] Could not load definitions from resource
org/apache/tools/ant/antlib.xml. It could not be found.
[property] Loading
c:\eclipse\perf\releng.wtpbuilder\distribution\wtp.perf\perf .properties
Build sequence for target(s) `executeEclipse' is [executeEclipse]
Complete build sequence is [executeEclipse, ]
executeEclipse:
[java] Executing 'C:\jdk1.5.0_14\jre\bin\java.exe' with arguments:
[java] '-Dosgi.ws=win32'
[java] '-Dosgi.os=win32'
[java] '-Dosgi.arch=x86'
[java]
'-Declipse.perf.dbloc=c:/eclipse/perf/wtp-perf-db;dbuser=app ;dbpasswd=app;dbname=newDB'
[java] '-classpath'
[java]
'c:\eclipse\perf\perfRoot\eclipse\plugins\org.eclipse.equino x.launcher_1.0.100.v20080509-1800.jar'
[java] 'org.eclipse.equinox.launcher.Main'
[java] '-application'
[java] 'org.eclipse.test.performance.ui.resultGenerator'
[java] '-baseline'
[java] 'R-2.0.2-20080223205547'
[java] '-baseline.prefix'
[java] 'wtpbuild'
[java] '-current'
[java] 's20080404-175400'
[java] '-current.prefix'
[java] 'wtpbuild'
[java] '-jvm'
[java] 'sun1.5.0'
[java] '-config'
[java] 'wtpbuild'
[java] '-output'
[java] 'c:/eclipse/perf/perfRoot/results1/graph'
[java] '-print'
[java]
[java] The ' characters around the executable and arguments are
[java] not part of the command.

BUILD FAILED
C:\Documents and
Settings\kaloyan\Desktop\testovworkspace\sampleAnt\build.xml :32: Java
returned: 13
at org.apache.tools.ant.taskdefs.Java.execute(Java.java:107)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.java:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.ja va:1329)
at org.apache.tools.ant.Project.executeTarget(Project.java:1298 )
at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(D efaultExecutor.java:41)
at
org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecuto r.executeTargets(EclipseDefaultExecutor.java:32)
at org.apache.tools.ant.Project.executeTargets(Project.java:118 1)
at
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run (InternalAntRunner.java:423)
at
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.mai n(InternalAntRunner.java:137)

Total time: 3 seconds

If you have idea what might be the reason for this java returned: 13
error, i'll be glad to hear your advice.

Thanks in advance.
Re: Java returned: 13 Detailed Description [message #329494 is a reply to message #329462] Thu, 26 June 2008 07:39 Go to previous message
Eclipse UserFriend
Originally posted by: ivan.palov.sap.com

What i'm trying to do is to set up automatic Performance Procedure
execution for Eclipse SDK Version: 3.4.0 Build id: I20080207-1530.
I had performance results stored in Derby Database, and when ant build
script is trying start Eclipse via org.eclipse.equinox.laucher.Main class
and then to run org.eclipse.test.performance.ui.resultGenerator eclipse
application to generate graphic results for this tests, i get this error
code:
Java returned: 13.

This in previous post is a simplifed example of my build.xml file.

Any help will be appreciated.
Thanks,
Ivan
Previous Topic:Migrating Launch Configurations
Next Topic:Can't update TableViewer when Button is pressed
Goto Forum:
  


Current Time: Wed Jan 15 10:27:36 GMT 2025

Powered by FUDForum. Page generated in 0.04398 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top