I would like to test the sample "Synchronous BPEL Process". After adding the JBI module (add project jar file) to the composite application, I try to build the project.
Here is the log produced :
pre-init: init-private: init-userdir: init-user: init-project: do-init: post-init: init-check: init-taskdefs: init: init-deploy: deps-jar: pre-init: netbeans.home: C:\Program Files\netbeans-5.5rc1\platform6 netbeans.user: C:\Documents and Settings\jemmanuel.roux\.netbeans\5.5rc1 init-private: init-userdir: init-user: init-project: do-init: post-init: init-check: init-taskdefs: init: pre-dist: C:\Sun\Formation\SOA\SynchronousSample1\SynchronousSample1Application\nbproject\build-impl.xml:103: The following error occurred while executing this line: C:\Sun\Formation\SOA\SynchronousSample1\SynchronousSample1\nbproject\build-impl.xml:160: Found compilation errors. BUILD FAILED (total time: 1 second)
Here is line 103 of build-impl.xml file :
<ant target="dist_se" inheritall="false" dir="${project.SynchronousSample1}"/>
extract from the following block :
<target name="deps-jar" depends="init" unless="${no.dependencies}">
<ant target="dist_se" inheritall="false" dir="${project.SynchronousSample1}"/>
<basename property="se.jar.name" file="${reference.SynchronousSample1.dist_se}"/>
<unzip src="${project.SynchronousSample1}/build/${se.jar.name}" dest="${src.dir}/../bindingComponentASA">
<patternset>
<include name="**/*.wsdl"/>
<include name="**/*.xsd"/>
</patternset>
</unzip>
</target>
Here is line 160 of build-impl.xml file :
<validate-project buildDirectory="${basedir}/${build.dir}" sourceDirectory="${basedir}/${src.dir}" projectClassPath="${javac.classpath}" buildDependentProjectDir="${basedir}/${build.dir}/dependentProjectFiles" classpathRef="ant.task.classpath.validation"/>
extract from the following block :
<target name="pre-dist">
<!-- Empty placeholder for easier customization. -->
<!-- You can override this target in the ../build.xml file. -->
<mkdir dir="${build.dir}"/>
<!-- run the validation task here. -->
<validate-project buildDirectory="${basedir}/${build.dir}" sourceDirectory="${basedir}/${src.dir}" projectClassPath="${javac.classpath}" buildDependentProjectDir="${basedir}/${build.dir}/dependentProjectFiles" classpathRef="ant.task.classpath.validation"/>
<!-- copy all files from project source directory to build directory. -->
<copy todir="${build.dir}" preservelastmodified="true">
<fileset includes="**/*.bpel,**/*.wsdl,**/*.xsd" dir="${src.dir}"/>
</copy>
<!-- generate portmap.xml in build directory. -->
<generate-jbi-descriptors buildDirectory="${basedir}/${build.dir}" sourceDirectory="${basedir}/${src.dir}" projectClassPath="${javac.classpath}" classpathRef="ant.task.classpath.models"/>
<!-- extract wsdl/xsd files from dependent projects and copy to build/dependentProjectFiles. -->
<delete dir="${build.dir}/dependentProjectFiles"/>
<mkdir dir="${build.dir}/dependentProjectFiles"/>
<dependent-project-file-extractor buildDirectory="${basedir}/${build.dir}/dependentProjectFiles" sourceDirectory="${basedir}/${src.dir}" projectDirectory="${basedir}" projectClassPath="${javac.classpath}"/>
</target>
If anyone has an idea. Thanks ...