Thank you for the detailed instructions Nico.
I followed the steps you detailed. I couldn't run
tools/jmol-release.xmlsuccessfully because I didn't want to copy files
to the website, and
selecting "n" canceled the operation. When I ran jmol-sonatype.xml the JAR
built but it's roughly 1Mb smaller than the latest artifact from Maven
Central (13.0.10 I think).
When using the freshly built artifact as a replacement dependency there are
compilation errors beginning with the following:
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR]
/D:/projects/matchbOx/src/main/java/ac/uk/ox/chem/matchbox/jmol/CustomAppConsole.java:[7,42]
cannot find symbol
symbol: class AppConsole
location: package org.openscience.jmol.app.jmolpanel
[ERROR]
/D:/projects/matchbOx/src/main/java/ac/uk/ox/chem/matchbox/jmol/CustomAppConsole.java:[12,39]
cannot find symbol
symbol: class AppConsole
[ERROR]
/D:/projects/matchbOx/src/main/java/ac/uk/ox/chem/matchbox/Exporter.java:[8,21]
package javax.vecmath does not exist
Any idea what's wrong?
Cheers,
Dave
On 24 February 2013 17:19, Nicolas Vervelle <[email protected]> wrote:
Hi,
>
> I usually do the releases for Jmol, and I never had this problem.
> When I do a release, I run the following Ant scripts from Eclipse :
>
> - build.xml with targets spotless, dist, clean-after-dist and
> specifying -Ddo.create.pot=true -Ddo.create.po=true -Dgettext.path=...
> - tools/jmol-release.xml with target deploy
> - tools/jmol-sonatype.xml with target snapshot
>
> After build.xml (I think), my build/dist directory contains the
> pom.xml.template file
>
> Nico
>
>
> On Sun, Feb 24, 2013 at 2:10 PM, N David Brown <[email protected]> wrote:
>
>> I'd like a newer artifact for the embedded Jmol instances being used in
>> my own Maven project, since I would like cel shading to be available.
>>
>> I tried running jmol-sonatype.xml myself in eclipse after successfully
>> completing a build.xml. It complained that
>> build/dists/pom.xml.templatecouldn't be found.
>>
>> I then tried copying that template file to the specified location and
>> copying build/*.jar into the same directory too. The build proceeds
>> happily for a while, then prints:
>>
>> [artifact:mvn] [ERROR] BUILD ERROR
>> [artifact:mvn] [INFO]
>> ------------------------------------------------------------------------
>> [artifact:mvn] [INFO]
>> D:\projects\svn\Jmol\build\dist-maven\jmol-null-SNAPSHOT.jar not found.
>>
>> Any suggestions how to build an artifact?
>>
>> Cheers,
>>
>> Dave
>>
>>
>>
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users