protoFramework.jar
may change depending on were it is on your PCbuild.xml
file: You will see:<target depends="init,compile,-pre-jar,-do-jar-without-manifest,-post-jar" description="Build JAR." name="jar"/> <target name="-do-jar-without-manifest" depends="-samplePublish, -sampleEvent" /> <target name="-samplePublish" depends="init,compile,-pre-pre-jar,-pre-jar" > <jar description="jar binary file" compress="true" jarfile="${dist.dir}/samplesPublish.jar"> <fileset defaultexcludes="yes" dir="${build.classes.dir}" > <include name="org/da/samples/protoframework/publish/**/*.class"/> </fileset> </jar> </target> <target name="-sampleEvent" depends="init,compile,-pre-pre-jar,-pre-jar" > <jar description="jar binary file" compress="true" jarfile="${dist.dir}/samplesEvents.jar"> <fileset defaultexcludes="yes" dir="${build.classes.dir}" > <include name="org/da/samples/protoframework/event/**/*.class"/> </fileset> </jar> </target>
<target name="Start my Module" description="Start my Module" depends="init" > <java classname="org.da.protoframework.model.core.Framework"> <arg value="config=<path_to_the_configuration>/filelist.xml"/> <classpath> <pathelement path="<path_to_the_framework>/protoframework.jar"/> <pathelement path="<path_to_the_framework>/lib/MDIUtilities-ui-LGPL.jar"/> </classpath> </java> </target>
<target depends="init" name="Debug my Module" description="Debug my Module" > <property name="debug.class" value="org.da.protoframework.model.core.Framework"/> <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail> <j2seproject1:nbjpdastart name="${debug.class}"/> <j2seproject3:debug classname="${debug.class}"> <customize> <arg line="config=<path_to_the_configuration>/filelist.xml"/> </customize> </j2seproject3:debug> </target>Note that if you add a debug ant target, you will need to define the declaration for
j2seproject1:
and j2seproject3
. For example:<project name="myModule" default="default" basedir="." xmlns:j2seproject1="http://www.netbeans.org/ns/j2se-project/1" xmlns:j2seproject3="http://www.netbeans.org/ns/j2se-project/3" > ... <project>
protoFramework.jar
may change depending on were it is on your PCCopyright 2017-2020 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence