On 17/05/16 23:15, Robert Hanson wrote:
> Will be checking in Jmol 14.6 release as soon as I can. But it's not a
Maven release. Someone else has to do that.

Sorry for the delay in replying. I have been attempting to use the ant 
build script, tools/jmol-sonatype.xml, to build some artifacts for 
deployment to Maven central. Here is my protocol (apologies, I am not 
that familiar with ant and may have made some basic errors):


Preamble
---------
0) Start with a 64 bit install of Ubuntu 14.04.4

1) Install the following packages
   sudo apt-get install mvn libsaxon-java openjdk-7-jdk ant

2) Create ~/.jmol.build.properties file with contents
   <property name="keystore.name" value="selfSignedCertificate" />


Main
----
1) Obtain the source code and extract
   wget 
http://heanet.dl.sourceforge.net/project/jmol/Jmol/Version%2014.6/Version%2014.6.1/Jmol-14.6.1_2016.07.11-full.tar.gz

   tar xfvz Jmol-14.6.1_2016.07.11-full.tar.gz
   cd jmol-14.6.1_2016.07.11

2) Add a required jar to enable docs to be built
   cp /usr/share/java/saxon.jar ./jars/

3) Build jar target
   ant jar
   <input ~/.jmol.build.properties as the private property file >

4) Build dist target
   ant dist
   <input ~/.jmol.build.properties as the private property file >

This fails with an error stating that “srcjsv does not exist” and this 
is because I do not have the source to JSpecView in the tree. However, 
if I should omit the line 1216 in build.xml, for the sake of reaching 
the next step:

  <!-- <fileset dir="srcjsv" />-->

And proceed to this:

   ant -f ./tools/jmol-sonatype.xml dist-release

Then, the following error is seen:
BUILD FAILED
/home/mw529/code/jmol/dev/jmol-14.6.1_2016.07.11/tools/jmol-sonatype.xml:91: 
Warning: Could not find file 
/home/mw529/code/jmol/dev/jmol-14.6.1_2016.07.11/build/dist/jmol-${Jmol.properties.___JmolVersion}-javadoc.jar
 
to copy.


I am guessing that this seems to be some form of mis-parsing of the 
Jmol.properties.___JmolVersion in the build/dist directory?

Do you have any suggestions on how to resolve this?

Thanks,

Mark



------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to