hi Wayne,

thanks for your quick replay,

I run the hudson build job,and there is junit test for our plugins,the
build.xml looks like:

<project name="org.eclipse.php.core.tests" default="build.jars" basedir=".">
<property name="p2.build.repo" value="file:${buildDirectory}/buildRepo"/>
<property name="basews" value="${ws}"/>
<property name="baseos" value="${os}"/>
<property name="basearch" value="${arch}"/>
<property name="basenl" value="${nl}"/>
<property name="bundleId" value="org.eclipse.php.core.tests"/>
<property name="bundleVersion" value="3.0.0.v20110324-2320"/>
<property name="p2.publishonerror" value="false"/>
<!-- Compiler settings. -->
<property name="javacFailOnError" value="false"/>
<property name="javacDebugInfo" value="on"/>
<property name="javacVerbose" value="false"/>
<property name="logExtension" value=".log"/>
<property name="compilerArg" value=""/>
<property name="compilation.prereq.log"
value="${buildDirectory}/prereqErrors.log"/>
<property name="javacSource" value="1.3"/>
<property name="javacTarget" value="1.2"/>
−
<condition property="dir_bootclasspath" value="${java.home}/../Classes">
<os family="mac"/>
</condition>
<property name="dir_bootclasspath" value="${java.home}/lib"/>
−
<path id="path_bootclasspath">
−
<fileset dir="${dir_bootclasspath}">
<include name="*.jar"/>
</fileset>
</path>
<property name="bootclasspath" refid="path_bootclasspath"/>
−
<condition property="bundleBootClasspath" value="${J2SE-1.5}">
<isset property="J2SE-1.5"/>
</condition>
−
<condition property="bundleJavacSource" value="1.5">
<isset property="J2SE-1.5"/>
</condition>
−
<condition property="bundleJavacTarget" value="1.5">
<isset property="J2SE-1.5"/>
</condition>
<property name="bundleJavacSource" value="${javacSource}"/>
<property name="bundleJavacTarget" value="${javacTarget}"/>
<property name="bundleBootClasspath" value="${bootclasspath}"/>
−
<target name="init" depends="properties">
−
<condition property="pluginTemp" value="${buildTempFolder}/plugins">
<isset property="buildTempFolder"/>
</condition>
<property name="pluginTemp" value="${basedir}"/>
−
<condition property="build.result.folder"
value="${pluginTemp}/org.eclipse.php.core.tests_3.0.0.v20110324-2320">
<isset property="buildTempFolder"/>
</condition>
<property name="build.result.folder" value="${basedir}"/>
<property name="temp.folder" value="${basedir}/temp.folder"/>
<property name="plugin.destination" value="${basedir}"/>
−
<condition property="p2.publish.parts" value="true">
<istrue value="${p2.gathering}"/>
</condition>
<property name="compilation.problem.marker"
value="${build.result.folder}/compilation.problem"/>
−
<condition property="compilation.problem.marker.exists" value="true">
−
<and>
<available file="${compilation.problem.marker}"/>
<isfalse value="${p2.publishonerror}"/>
</and>
</condition>
</target>
−
<target name="properties" if="eclipse.running">
<property name="build.compiler"
value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
</target>
−
<target name="build.update.jar" depends="init" description="Build the
plug-in: org.eclipse.php.core.tests for an update site.">
<delete dir="${temp.folder}"/>
<mkdir dir="${temp.folder}"/>
<antcall target="build.jars"/>
−
<antcall target="gather.bin.parts">
<param name="destination.temp.folder" value="${temp.folder}/"/>
</antcall>
<jar
destfile="${plugin.destination}/org.eclipse.php.core.tests_3.0.0.v20110324-2320.jar"
basedir="${temp.folder}/org.eclipse.php.core.tests_3.0.0.v20110324-2320"
filesetmanifest="merge"/>
<delete dir="${temp.folder}"/>
</target>
−
<target name="@dot" depends="init" unless="@dot" description="Create jar:
org.eclipse.php.core.tests @dot.">
<delete dir="${build.result.folder}/@dot"/>
<mkdir dir="${build.result.folder}/@dot"/>
−
<path id="@dot.classpath">
<pathelement path="../org.junit_3.8.2.v3_8_2_v20100427-1100.jar"/>
<pathelement
path="../../eclipse/plugins/org.eclipse.core.runtime_3.7.0.v20110110.jar"/>
<pathelement
path="../../eclipse/plugins/org.eclipse.osgi_3.7.0.v20110304.jar"/>
<pathelement path="../javax.transaction_1.1.1.v201004190952.jar"/>
<pathelement
path="../../eclipse/plugins/org.eclipse.equinox.common_3.6.0.v20110110.jar"/>
<pathelement
path="../../eclipse/plugins/org.eclipse.core.jobs_3.5.100.v20110214.jar"/>
<pathelement
path="../../eclipse/plugins/org.eclipse.core.runtime.compatibility.registry_3.3.100.v20101108/runtime_registry_compatibility.jar"/>
<pathelement
path="../../eclipse/plugins/org.eclipse.core.runtime.compatibility.registry_3.3.100.v20101108"/>
<pathelement
path="../../eclipse/plugins/org.eclipse.equinox.registry_3.5.100.v20110207.jar"/>
<pathelement
path="../../eclipse/plugins/org.eclipse.equinox.preferences_3.4.0.v20110124-0830.jar"/>
<pathelement
path="../../eclipse/plugins/org.eclipse.core.contenttype_3.4.100.v20110207.jar"/>
<pathelement
path="../../eclipse/plugins/org.eclipse.core.runtime.compatibility.auth_3.2.200.v20110110.jar"/>
<pathelement
path="../../eclipse/plugins/org.eclipse.equinox.app_1.3.100.v20110214.jar"/>
<pathelement
path="../../eclipse/plugins/org.eclipse.osgi.services_3.3.0.v20110110.jar"/>
<pathelement path="../javax.servlet_2.5.0.v201103041518.jar"/>
<pathelement
path="../../eclipse/plugins/org.eclipse.core.resources_3.7.100.v20110228.jar"/>
<pathelement
path="../../eclipse/plugins/org.eclipse.ant.core_3.2.200.v20110207.jar"/>
<pathelement
path="../../eclipse/plugins/org.eclipse.core.variables_3.2.500.v20110207.jar"/>
<pathelement
path="../../eclipse/plugins/org.eclipse.core.expressions_3.4.300.v20110228.jar"/>
<pathelement
path="../../eclipse/plugins/org.eclipse.core.filesystem_1.3.100.v20110207.jar"/>
<pathelement
path="../../eclipse/plugins/org.eclipse.core.filesystem.linux.x86_64_1.2.0.v20100505-1235.jar"/>
<pathelement path="../org.apache.commons.lang_2.4.0.v201005080502.jar"/>
<pathelement
path="../../eclipse/plugins/org.eclipse.dltk.core_3.0.0.v20101210-1336.jar"/>
<pathelement
path="../../eclipse/plugins/org.eclipse.emf.ecore_2.6.0.v20100614-1136.jar"/>
<pathelement
path="../../eclipse/plugins/org.eclipse.emf.common_2.6.0.v20100614-1136.jar"/>
<pathelement
path="../../eclipse/plugins/org.eclipse.emf.ecore.xmi_2.5.0.v20100521-1846.jar"/>
<pathelement
path="../../eclipse/plugins/org.eclipse.dltk.core.tests_1.0.0.v20101209/core.jar"/>
<pathelement path="../org.junit_4.8.1.v4_8_1_v20100427-1100.jar"/>
<pathelement path="../org.hamcrest.core_1.1.0.v20090501071000.jar"/>
<pathelement
path="../../eclipse/plugins/org.eclipse.team.core_3.6.0.I20110301-0800.jar"/>


On Fri, Mar 25, 2011 at 9:05 AM, Wayne Beaton <wa...@eclipse.org> wrote:

>  This mailing is list is probably not the right place for your question.
>
> I recommend that you pose this question on the eclipse.platform forum:
>
> http://www.eclipse.org/forums/eclipse.platform
>
> You should provide more information. What build.xml file are you asking
> about? What, specificially, is the error reported?
>
> HTH,
>
> Wayne
>
>
> On 03/24/2011 08:31 PM, 赵忠伟 wrote:
>
> hi,
>
> when I upgrade eclipse3.6 to eclipse3.7M6,the junit test could not find
> junit,and I found the generated build.xml for the test project is:
> <pathelement path="../org.junit_3.8.2.v3_8_2_v20100427-1100.jar"/>
> but before it was:
> <pathelement path="../org.junit_3.8.2.v3_8_2_v20100427-1100/junit.jar"/>
>
> Does anyone know what is wrong,thanks very much!
>
> --
>
> Thanks!
>
> Best Regards!
>
> Zhao
>
>
> _______________________________________________
> dash-dev mailing 
> listdash-dev@eclipse.orghttps://dev.eclipse.org/mailman/listinfo/dash-dev
>
>
> _______________________________________________
> dash-dev mailing list
> dash-dev@eclipse.org
> https://dev.eclipse.org/mailman/listinfo/dash-dev
>
>


-- 

Thanks!

Best Regards!

Zhao
_______________________________________________
dash-dev mailing list
dash-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/dash-dev

Reply via email to