protoFramework.jar
jar file)etc/netbeans.conf
file:... netbeans_default_userdir="L:/WRK/Java/tools/netbeansCache/8.2/userDir" netbeans_default_cachedir="L:/WRK/Java/tools/netbeansCache/8.2/cacheDir" ... netbeans_jdkhome="L:/WRK/Java/tools/jdk1.8.0_92" ...
protoFramework.jar
jar file in the libraries dependencies of the project for the development itself.
Class-Path
attribute in the manifest, but there is no framework specificityprotoFramework.jar
jar file in the libraries dependencies in the manifest file.
build.xml
script.<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>
Class-Path
attribute in the manifest, but there is no framework specificityCopyright 2017-2020 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence