Thanks a lot, Robert. I will give it a try now.
Best,
x

Robert Hanson wrote:
> Sure. ASimpleJvxlWriter is a standalone app. I've added a couple of 
> files to the SVN for that -- manifest/jvxls.txt and 
> build-ASimpleJvxlWriter.xml -- this worked for me. You of course need 
> to modify that file. The key info is:
>
>     <jar destfile="${jmol.build.dir}/JvxlSUnsigned.jar"
>          manifest="manifest/jvxls.txt">
>       <fileset dir="${classes.dir}" >
>         <exclude name="**/.*" />
>         <exclude name="**/*.dx" />
>         <exclude name="**/Test*.class" />
>         <include name="org/openscience/jvxl/**" />
>         <include name="org/jmol/jvxl/**" />
>         <include name="org/jmol/util/**" />
>         <include name="org/jmol/g3d/**" />
>         <include name="org/jmol/api/**" />
>         <include name="org/jmol/atomdata/**" />
>         <include name="org/jmol/quantum/**" />
>         <include name="org/jmol/viewer/JmolConstants.class" />
>       </fileset>
>       <fileset dir="${appjars.dir}" includes="**/*"/>
>     </jar>
>       <signjar jar="${jmol.build.dir}/JvxlSUnsigned.jar"
>              signedjar="${jmol.build.dir}/ASimpleJvxlWriter.jar"
>              keystore="selfSignedCertificate/selfSignedCertificate.store"
>              storepass="selfSignedCertificate" 
> alias="selfSignedCertificate" />
>     <delete file="${jmol.build.dir}/JvxlSUnsigned.jar"/>
>
>  
>
> On Wed, Sep 9, 2009 at 12:52 PM, Xunlei Wu <[email protected] 
> <mailto:[email protected]>> wrote:
>
>     Hi All,
>
>     Newbie here.
>     I would like to compile src/org/openscience/jvxl/simplewriter into a
>     standalone .jar program. All the files under
>     src\org\openscience\jvxl\simplewriter have been included as source
>     files. I tried to just include individual .java files as required by
>     those source files. But the list grows longer. In the end, I have
>     included the root path: src/org/jmol as my source directory and
>     jars/ as
>     my library path. I used Sun's NetBeansIDE 6.7.1 and could not get
>     rid of
>     dependcy errors.
>     Would you please give me any suggestions? Thanks a lot.
>
>     Best,
>     x
>
>     
> ------------------------------------------------------------------------------
>     Let Crystal Reports handle the reporting - Free Crystal Reports
>     2008 30-Day
>     trial. Simplify your report design, integration and deployment -
>     and focus on
>     what you do best, core application coding. Discover what's new with
>     Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>     _______________________________________________
>     Jmol-users mailing list
>     [email protected]
>     <mailto:[email protected]>
>     https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>
>
>
> -- 
> Robert M. Hanson
> Professor of Chemistry
> St. Olaf College
> 1520 St. Olaf Ave.
> Northfield, MN 55057
> http://www.stolaf.edu/people/hansonr
> phone: 507-786-3107
>
>
> If nature does not answer first what we want,
> it is better to take what answer we get.
>
> -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
> trial. Simplify your report design, integration and deployment - and focus on 
> what you do best, core application coding. Discover what's new with 
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> ------------------------------------------------------------------------
>
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>   


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to