certi-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[certi-cvs] jcerti build.xml src_test/certi/certi.properties


From: CERTI CVS commits
Subject: [certi-cvs] jcerti build.xml src_test/certi/certi.properties
Date: Wed, 02 Oct 2013 11:43:14 +0000

CVSROOT:        /sources/certi
Module name:    jcerti
Changes by:     Eric NOULARD <erk>      13/10/02 11:43:14

Modified files:
        .              : build.xml 
Added files:
        src_test/certi : certi.properties 

Log message:
        Add an example of use of certi.properties propetry file.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/jcerti/src_test/certi/certi.properties?cvsroot=certi&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/jcerti/build.xml?cvsroot=certi&r1=1.7&r2=1.8

Patches:
Index: build.xml
===================================================================
RCS file: /sources/certi/jcerti/build.xml,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- build.xml   28 Nov 2011 12:27:23 -0000      1.7
+++ build.xml   2 Oct 2013 11:43:14 -0000       1.8
@@ -79,13 +79,11 @@
        </target>
 
        <!-- Classpath -->
-
        <path id="jcerti.classpath">
                <pathelement location="${jar.jcerti}" />
        </path>
 
        <!-- Javadoc -->
-
        <target name="javadoc" depends="">
                <javadoc author="false" version="false"
                                                destdir="${javadoc.dir}"
@@ -100,7 +98,6 @@
 
 
        <!-- Tests -->
-
        <property name="test.src.dir" value="${home.dir}/src_test" />
        <property name="test.class.dir" value="${build.dir}/class_test" />
        <property name="test.report.dir" value="${build.dir}/report_test" />
@@ -124,6 +121,7 @@
                <copy todir="${test.work.dir}" flatten="yes">
                        <fileset dir="${test.src.dir}" includes="**/*.xml"/>
                        <fileset dir="${test.src.dir}" includes="**/*.fed"/>
+                   <fileset dir="${test.src.dir}" includes="**/*.properties"/>
                </copy>
        </target>
 
@@ -144,8 +142,7 @@
        </target>
 
        <!-- Test Federate launchers-->
-
-       <property name="jcerti.opt" value="" />
+    <property name="jcerti.opt" value=""/>
 
        <target name="UAVSend-run" depends="prepare-test" description="o run 
the jcerti UAV Send example">
                <java classname="certi.UavSend" fork="true" 
dir="${test.work.dir}">
@@ -184,7 +181,6 @@
        </target>
 
        <!-- help -->
-
        <target name="help" description="o display help on ant build file use">
                <echo>
 Use the command
@@ -193,7 +189,7 @@
                        
 Commands that you can use to launch some example federate:
                        
-   ant federate-run   [-Djcerti.opt="anyValue"]
+   ant #federateName#-run   [-Djcerti.opt="anyValue"]
 
 You can run jcerti JUnit test with the command :
    ant test-report   
@@ -262,16 +258,12 @@
 
        <!-- Create bzip2 patch -->
        <target name="create-patch-bz2-dist" depends="prepare-dist">
-
                <exec executable="diff" output="${dist.dir}/jcerti-patch.txt">
                        <arg line="-urN ${jcerti.tree.ref} 
${jcerti.tree.current}" />
                </exec>
-
                <bzip2 src="${dist.dir}/jcerti-patch.txt" 
destfile="${dist.dir}/jcerti-patch.txt.bz2">
                </bzip2>
                <delete file="${dist.dir}/jcerti-patch.txt" />
-
        </target>
 
-
 </project>

Index: src_test/certi/certi.properties
===================================================================
RCS file: src_test/certi/certi.properties
diff -N src_test/certi/certi.properties
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ src_test/certi/certi.properties     2 Oct 2013 11:43:14 -0000       1.1
@@ -0,0 +1 @@
+logLevel=WARNING
\ No newline at end of file



reply via email to

[Prev in Thread] Current Thread [Next in Thread]