So, the question remains. Do we want the j2s directory and the JSmol*.js files to be included with the Jmol distribution? If so, I suggest they be placed in the main distribution folder when a distribution is built, just like we presently do with Jmol.js. If we do that, I think it would be practical to have the export to web functionality make pages that take advantage of JSmol features. There are probably some issues with features that need server-side support, but I don't think that is insurmountable.
Jonathan On Jan 9, 2013, at 12:41 PM, Robert Hanson wrote: > What I've done is use "j2s" as the subdirectory containing all the .js files. > This is independent of any directory that contains the .jar files. > > > On Mon, Jan 7, 2013 at 5:16 PM, Gutow, Jonathan H <gu...@uwosh.edu> wrote: > I think you misunderstand my suggestion. I don't mean to include those files > in the JAR. I mean to include them in the folder that contains all the > JmolApplet*.jar files, just the way we now include Jmol.js, or in a subfolder. > > Jonathan > On Jan 7, 2013, at 5:09 PM, Robert Hanson wrote: > > > Jonathan, there are about 600 files that are included with JSmol. If > > jmol.js is in the JAR file, and the idea is to include all files including > > the .js files in what you are doing, that's going to be a problem. > > > > > > On Mon, Jan 7, 2013 at 2:36 PM, Gutow, Jonathan H <gu...@uwosh.edu> wrote: > > So you don't think the JSmol javascript files should be included in > > addition to Jmol.js in the standard Jmol distribution? It seems to me that > > once all the kinks are worked out it would be reasonable to include JSmol > > as part of the Jmol distribution and encourage people to migrate to it. > > That way Jmol sites would be generally more robust. > > > > I agree that templates and some of the small single function .js files used > > for Export to Web should stay in the .jar. > > > > Jonathan > > On Jan 7, 2013, at 12:29 PM, Robert Hanson wrote: > > > > > What files are we talking about? Do you mean the template files that are > > > the HTML? Those would all be part of Jmol.jar still, and have nothing to > > > do with the JSmol distribution. > > > > > > I was figuring that JSmol will be distributed from the JSmol project, not > > > from Jmol. I haven't set that up yet; still just releasing it as > > > http://chemapps.stolaf.edu/jmol/jsmol.zip > > > > > > Bob > > > > > > > > > > > > > > > On Sun, Jan 6, 2013 at 2:48 PM, Gutow, Jonathan H <gu...@uwosh.edu> wrote: > > > I'm working on converting the auto-generation of web pages inside Jmol to > > > make pages that use JSmol. One thing that will change the code is how > > > the JSmol files will be distributed. Right now some of the special files > > > for the automatically generated pages are actually distributed as part of > > > Jmol.jar. I think with JSmol, I may be able to dispense with all or most > > > of these. However, I will need to know where the *.js files associated > > > with JSmol are going to be in the distribution. > > > > > > I vote for putting them in the dist folder with all the Applet*.jar files. > > > > > > Any thoughts? > > > > > > Jonathan > > > Dr. Jonathan H. Gutow > > > Chemistry Department gu...@uwosh.edu > > > UW-Oshkosh Office:920-424-1326 > > > 800 Algoma Boulevard FAX:920-424-2042 > > > Oshkosh, WI 54901 > > > http://www.uwosh.edu/facstaff/gutow/ > > > > > > > > > ------------------------------------------------------------------------------ > > > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > > > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > > > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > > > MVPs and experts. ON SALE this month only -- learn more at: > > > http://p.sf.net/sfu/learnmore_123012 > > > _______________________________________________ > > > Jmol-developers mailing list > > > Jmol-developers@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/jmol-developers > > > > > > > > > > > > -- > > > Robert M. Hanson > > > Larson-Anderson Professor of Chemistry > > > Chair, Chemistry Department > > > St. Olaf College > > > Northfield, MN > > > http://www.stolaf.edu/people/hansonr > > > > > > > > > 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 > > > > > > ------------------------------------------------------------------------------ > > > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > > > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > > > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > > > MVPs and experts. SALE $99.99 this month only -- learn more at: > > > http://p.sf.net/sfu/learnmore_122412_______________________________________________ > > > Jmol-developers mailing list > > > Jmol-developers@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/jmol-developers > > > > Dr. Jonathan H. Gutow > > Chemistry Department gu...@uwosh.edu > > UW-Oshkosh Office:920-424-1326 > > 800 Algoma Boulevard FAX:920-424-2042 > > Oshkosh, WI 54901 > > http://www.uwosh.edu/facstaff/gutow/ > > > > > > ------------------------------------------------------------------------------ > > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > > MVPs and experts. SALE $99.99 this month only -- learn more at: > > http://p.sf.net/sfu/learnmore_122412 > > _______________________________________________ > > Jmol-developers mailing list > > Jmol-developers@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/jmol-developers > > > > > > > > -- > > Robert M. Hanson > > Larson-Anderson Professor of Chemistry > > Chair, Chemistry Department > > St. Olaf College > > Northfield, MN > > http://www.stolaf.edu/people/hansonr > > > > > > 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 > > > > ------------------------------------------------------------------------------ > > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > > MVPs and experts. SALE $99.99 this month only -- learn more at: > > http://p.sf.net/sfu/learnmore_122412_______________________________________________ > > Jmol-developers mailing list > > Jmol-developers@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/jmol-developers > > Dr. Jonathan H. Gutow > Chemistry Department gu...@uwosh.edu > UW-Oshkosh Office:920-424-1326 > 800 Algoma Boulevard FAX:920-424-2042 > Oshkosh, WI 54901 > http://www.uwosh.edu/facstaff/gutow/ > > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. SALE $99.99 this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122412 > _______________________________________________ > Jmol-developers mailing list > Jmol-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jmol-developers > > > > -- > Robert M. Hanson > Larson-Anderson Professor of Chemistry > Chair, Chemistry Department > St. Olaf College > Northfield, MN > http://www.stolaf.edu/people/hansonr > > > 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 > > ------------------------------------------------------------------------------ > Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery > and much more. Keep your Java skills current with LearnJavaNow - > 200+ hours of step-by-step video tutorials by Java experts. > SALE $49.99 this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122612 > _______________________________________________ > Jmol-developers mailing list > Jmol-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jmol-developers Dr. Jonathan H. Gutow Chemistry Department gu...@uwosh.edu UW-Oshkosh Office:920-424-1326 800 Algoma Boulevard FAX:920-424-2042 Oshkosh, WI 54901 http://www.uwosh.edu/facstaff/gutow/ ------------------------------------------------------------------------------ Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 _______________________________________________ Jmol-developers mailing list Jmol-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-developers