CVS update: JGroupsWebsite build.properties build.properties.template build.xml
"Bela Ban" <[email protected]> Wed, 20 Jul 2011 16:14:01 +0000
| Newsgroups | gmane.comp.java.javagroups.cvs |
|---|---|
| Message-ID | <[email protected]> |
User: belaban
Date: 11/07/20 16:14:01
Modified: . build.properties build.properties.template
build.xml
Log:
creating 2.x documentation separately from 3.x
Revision Changes Path
1.2 +1 -0 JGroupsWebsite/build.properties
Index: build.properties
===================================================================
RCS file: /cvsroot/javagroups/JGroupsWebsite/build.properties,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- build.properties 21 Jan 2009 15:42:58 -0000 1.1
+++ build.properties 20 Jul 2011 16:14:01 -0000 1.2
@@ -2,6 +2,7 @@
# Replace with your own JGroups source installation
jgroups.dir=/home/bela/JGroups
+jgroups.2.dir=/home/bela/JGroups-2.12-branch
# Replace with your own JGroupsArticles installation
jgroups.articles.dir=/home/bela/JGroupsArticles
1.2 +1 -0 JGroupsWebsite/build.properties.template
Index: build.properties.template
===================================================================
RCS file: /cvsroot/javagroups/JGroupsWebsite/build.properties.template,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- build.properties.template 21 Jan 2009 15:42:58 -0000 1.1
+++ build.properties.template 20 Jul 2011 16:14:01 -0000 1.2
@@ -2,6 +2,7 @@
# Replace with your own JGroups source installation
jgroups.dir=/home/bela/JGroups
+jgroups.2.dir=/home/bela/JGroups-2.12-branch
# Replace with your own JGroupsArticles installation
jgroups.articles.dir=/home/bela/JGroupsArticles
1.7 +26 -9 JGroupsWebsite/build.xml
Index: build.xml
===================================================================
RCS file: /cvsroot/javagroups/JGroupsWebsite/build.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- build.xml 20 Jul 2011 15:50:30 -0000 1.6
+++ build.xml 20 Jul 2011 16:14:01 -0000 1.7
@@ -11,6 +11,7 @@
<property name="papers.dir" value="papers"/>
<property name="hsqldbr.dir" value="hsqldbr"/>
<property name="jgroups.dir" value="../JGroups"/>
+ <property name="jgroups.2.dir" value="../JGroups-2.12-branch"/>
<property name="jgroups.articles.dir" value="../JGroupsArticles"/>
<property name="jnlp.dir" value="jnlp"/>
@@ -27,6 +28,10 @@
<available file="${jgroups.dir}" type="dir" property="jgroups.exists"/>
</target>
+ <target name="check-jgroups-2.x" description="Checks whether the ${jgroups.2.dir} dir exists">
+ <available file="${jgroups.2.dir}" type="dir" property="jgroups.2.exists"/>
+ </target>
+
<target name="check-jgroups-articles" description="Checks whether the ${jgroups.articles.dir} dir exists">
<available file="${jgroups.articles.dir}" type="dir" property="jgroups.articles.exists"/>
</target>
@@ -37,8 +42,7 @@
<target name="prepare">
<mkdir dir="build"/>
- <available classname="org.apache.velocity.anakia.AnakiaTask"
- property="AnakiaTask.present">
+ <available classname="org.apache.velocity.anakia.AnakiaTask" property="AnakiaTask.present">
<classpath refid="classpath"/>
</available>
<copy file="${build.properties.file}.template" tofile="${build.properties.file}" overwrite="false"/>
@@ -46,8 +50,7 @@
<target name="prepare-error" depends="prepare" unless="AnakiaTask.present">
<echo>
- AnakiaTask is not present! Please check to make sure that
- velocity.jar is in your classpath.
+ AnakiaTask is not present! Please check to make sure that velocity.jar is in your classpath.
</echo>
</target>
@@ -85,7 +88,9 @@
<antcall target="copy-articles" description="Copies articles from JGroupsArticles"/>
- <antcall target="copy-manual" description="Copies the manual to build/manual"/>
+ <antcall target="copy-manual-2.x" description="Copies the 2.x manual to build/manual"/>
+
+ <antcall target="copy-manual" description="Copies the 3.x manual to build/manual-3.x"/>
<antcall target="copy-tutorial" description="Copies the tutorial to build/tutorial"/>
@@ -142,15 +147,27 @@
</target>
<target name="copy-manual" if="jgroups.exists" depends="check-jgroups"
- description="Copies the PDF and HTML files from JGroups/doc/manual/build/en to ./build/manual">
+ description="Copies the PDF and HTML files from JGroups/doc/manual/build/en to ./build/manual-3.x">
<ant antfile="${jgroups.dir}/build.xml" target="manual" inheritall="false"/>
- <copyDirectory from="${jgroups.dir}/doc/manual/build/en" to="${build.dir}/manual/"/>
+ <copyDirectory from="${jgroups.dir}/doc/manual/build/en" to="${build.dir}/manual-3.x/"/>
+ </target>
+
+ <target name="copy-manual-2.x" if="jgroups.2.exists" depends="check-jgroups-2.x"
+ description="Copies the PDF and HTML files from JGroups-2.12-branch/doc/manual/build/en to ./build/manual">
+ <ant antfile="${jgroups.2.dir}/build.xml" target="manual" inheritall="false"/>
+ <copyDirectory from="${jgroups.2.dir}/doc/manual/build/en" to="${build.dir}/manual/"/>
</target>
<target name="copy-tutorial" if="jgroups.exists" depends="check-jgroups"
- description="Copies the PDF and HTML files from JGroups/doc/tutorial/build/en to ./build/tutorial">
+ description="Copies the PDF and HTML files from JGroups/doc/tutorial/build/en to ./build/tutorial-3.x">
<ant antfile="${jgroups.dir}/build.xml" target="tutorial" inheritall="false"/>
- <copyDirectory from="${jgroups.dir}/doc/tutorial/build/en" to="${build.dir}/tutorial/"/>
+ <copyDirectory from="${jgroups.dir}/doc/tutorial/build/en" to="${build.dir}/tutorial-3.x/"/>
+ </target>
+
+ <target name="copy-tutorial-2.x" if="jgroups.2.exists" depends="check-jgroups-2.x"
+ description="Copies the PDF and HTML files from JGroups-2.12-branch/doc/tutorial/build/en to ./build/tutorial">
+ <ant antfile="${jgroups.2.dir}/build.xml" target="tutorial" inheritall="false"/>
+ <copyDirectory from="${jgroups.2.dir}/doc/tutorial/build/en" to="${build.dir}/tutorial/"/>
</target>
<target name="clean" description="Removes generated files and directories">
------------------------------------------------------------------------------
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/