On 11/7/2011 10:46 PM, Chris Betts wrote:
Hi Folks,
we've got a new version of JXplorer in beta; this time with multiple
windows allowing you can copy and paste between directories.
https://sourceforge.net/projects/jxplorer/files/jxplorer/version%203.3%20%28beta%201%29/
feedback welcome!
I am trying to compile from SVN:
Last Changed Author: pegacat
Last Changed Rev: 57
Last Changed Date: 2011-11-07 20:30:17 -0600 (Mon, 07 Nov 2011)
There appears to be some discrepancies in the build.xml as to the location of
the jxplorer.jar file.
<jar jarfile="${jars}/jxplorer.jar">
says the jar file should be in the jars directory.
The clean section has:
<target name="clean" depends="init" description="Cleans all build
artifacts">
<delete file="jxplorer.jar"/>
which says it is in the current directory?
The clean section does not delete the classes directory either,
so a new build without any source changes just uses the old classes.
(Found this out when testing the target= and source=. See below.)
The SNV contains a jars/jxplorer.jar as well as three other jar files.
Since the build.xml is building the jars/jxplorer.jar, I would think
jxplorer.jar should not be in SVN repository at all.
The dist section copies jars/*.jars and ./jxplorer.jar to the dist
which would only copy one of the jxplorer.jar files, even if two existed.
The build section has target=1.4 and source=1.4 To compile, I had to set
these to 1.5. (1.6 gave errors, where as 1.5 gave a lot of warnings.)
So it appears that once the classes are built, a new jars/jxplorer.jar
is created. But a clean does not clean up the classes or the
jars/jxplorer.jar, and so there is no way to get back to a clean
SVN repository.
I am not much of a Java programmer, but attached are some suggestions
for the build.xml.
And should the help.jar, jhall.jar and junit.jar also be built?
Where is the source for these?
Thanks.
cheers,
- Chris
--
Dr Christopher Betts
Pegacat Software
Melbourne, Australia
m: 0408 533 456
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Jxplorer-users mailing list
Jxplorer-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jxplorer-users
--
Douglas E. Engert <deeng...@anl.gov>
Argonne National Laboratory
9700 South Cass Avenue
Argonne, Illinois 60439
(630) 252-5444
Index: build.xml
===================================================================
--- build.xml (revision 57)
+++ build.xml (working copy)
@@ -50,8 +50,8 @@
optimize="${compile.optimize}"
deprecation="off"
nowarn="off"
- target="1.4"
- source="1.4"
+ target="1.5"
+ source="1.5"
verbose="off">
</javac>
</target>
@@ -73,8 +73,9 @@
</target>
<target name="clean" depends="init" description="Cleans all build
artifacts">
- <delete file="jxplorer.jar"/>
+ <delete file="${jars}/jxplorer.jar"/>
<delete file="${build_number_file}"/>
+ <delete dir="${classes}"/>
<delete dir="${dist}"/>
<delete dir="${release}"/>
<delete dir="${report}"/>
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Jxplorer-users mailing list
Jxplorer-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jxplorer-users