Cheers, Tim -- Tim Ruppert HotWax Media http://www.hotwaxmedia.com
o:801.649.6594 f:801.649.6595 On Jun 9, 2008, at 4:16 AM, Jacques Le Roux wrote:
Scott and all,Yes good idea, this could be a solution to this issue. Could it be an acceptable solution for everybody ? I think so since it's really needed for the POS on Windows. But I prefer to check before commiting. Actualy when doing that it will hide the need for plugin.jar which seems only needed for the case you use an electronic balance connected. Correct me please if I'm wrong.Thanks Jacques From: "Scott Gray" <[EMAIL PROTECTED]>Glad I could help, try changing the <or> tag to an <and> and it should workfine without the additional jar. Regards Scott 2008/6/9 Jacques Le Roux <[EMAIL PROTECTED]>:Thanks Scott,You found the reason. On Windows I need to have the old comm.jar in the path (I use to put it in jre/lib/ext) be able to use my Epson TM- T88IIIPOSPrinter. Hence the condition <available classname="javax.comm.SerialPort" classpathref="local.class.path"/ is fullfilled and the compilation tried. Jacques From: "Scott Gray" <[EMAIL PROTECTED]>Hi Jacques This section of the product build.xml specifically excludes ShipmentScaleApplet from being built: <target name="classes" depends="prepare,classpath"> <!-- check for applet required classes --><condition property="noapplet" value="ShipmentScaleApplet.java"><not> <or> <available classname="javax.comm.SerialPort" classpathref="local.class.path"/><available classname="netscape.javascript.JSObject"classpathref="local.class.path" property="jsobject.avail"/> </or> </not> </condition> <javac debug="on" source="1.5" deprecation="on" destdir="${build.dir}/classes"> <classpath> <path refid="local.class.path"/> </classpath> <src path="${src.dir}"/> <exclude name="${noapplet}"/> </javac> So it's weird that your having problems with it. -Scott 2008/6/8 Jacques Le Roux <[EMAIL PROTECTED]>: Hi David, Tim,First all, thanks Tim for the effort. This should benefit to the community at large. I'm not kidding, this has been on the table already some times : http://issues.apache.org/jira/browse/OFBIZ-92 https://issues.apache.org/jira/browse/OFBIZ-1345 When I get rid of plugin.jar on my machine with OS Windows XP Sp2 compiling with Sun jdk1.5.0_11 (I have no problems on Ubuntu 6.06) I get <<classes: [javac] Compiling 46 source files to D:\Export OFBiz\ofbizTrunk\applications\product\build\classes [javac] D:\ExportOFBiz\ofbizTrunk\applications\product\src \ShipmentScaleApplet.java:37:package netscape.javascript does not exist [javac] import netscape.javascript.JSObject; [javac] ^ [javac] D:\ExportOFBiz\ofbizTrunk\applications\product\src \ShipmentScaleApplet.java:206:cannot find symbol [javac] symbol : class JSObject [javac] location: class ShipmentScaleApplet [javac] JSObject win = JSObject.getWindow(this); [javac] ^ [javac] D:\ExportOFBiz\ofbizTrunk\applications\product\src \ShipmentScaleApplet.java:206:cannot find symbol [javac] symbol : variable JSObject [javac] location: class ShipmentScaleApplet [javac] JSObject win = JSObject.getWindow(this); [javac] ^ [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 3 errors BUILD FAILEDD:\Export OFBiz\ofbizTrunk\build.xml:128: The following error occurredwhile executing this line:D:\Export OFBiz\ofbizTrunk\applications\build.xml:67: The following erroroccurred while executing this line:D:\Export OFBiz\ofbizTrunk\applications\product\build.xml:100: Compilefailed; see the compiler error output for details.I wonder now if it's not related to French OS implementations as itseemsthat the only ones who have never crossed this issue are Ludovic and me(Ludovic was on Mac).Anyway Tim, this is not an issue on your side if you are able to compile. Also I doubt any person trying OFBiz (on Windows) without checking outwillever try to use an electronic balance (this is the existing reason ofthis applet call :o). But this is weird isn'it ? Thanks for your support guys ! Jacques From: "David E Jones" <[EMAIL PROTECTED]>I don't know what Jacques is talking about for the plugin.jar file...there shouldn't be anything operating system specific in OFBiz, andasidefrom the possibility of a few bits of bad code for processes paths withthe wrong separator character, I'm not aware of any such thing. -David On Jun 7, 2008, at 7:11 PM, Tim Ruppert wrote:Ok, so I just found two different versions of plugin.jar - on threedifferent systems. The one on my mac had a much smaller size thanthe one on my test server (running Fedora) and the one of my production servers (which were the same size).I'm guessing that the one that Jacques is alluding to is probably a Windows version, so I'll need someone to send me the Windows versionifthis is what you Jacques is alluding to me providing in the download.Thanks guys for the help. Cheers, Tim -- Tim Ruppert HotWax Media http://www.hotwaxmedia.com o:801.649.6594 f:801.649.6595 On Jun 7, 2008, at 6:16 PM, Tim Ruppert wrote:Ok, I've got everything together and am ready to do this, but I doneedto find out at least where to get the proper plugin.jar . I see that Jacques was mentioning this as a cross platform thing, but since idon'tuse Windows - I'm assuming it's for that. Please let me know andI'll finish this setup. Cheers, Tim -- Tim Ruppert HotWax Media http://www.hotwaxmedia.com o:801.649.6594 f:801.649.6595 On Jun 7, 2008, at 6:04 PM, Tim Ruppert wrote:Real quickly - what is that plugin.jar for again? I'm just tryingtoget this going and couldn't find Cheers, Tim -- Tim Ruppert HotWax Media http://www.hotwaxmedia.com o:801.649.6594 f:801.649.6595 On Jun 7, 2008, at 4:56 PM, Tim Ruppert wrote: I will get this going shortly.Cheers, Tim -- Tim Ruppert HotWax Media http://www.hotwaxmedia.com o:801.649.6594 f:801.649.6595 On Jun 7, 2008, at 3:20 PM, Jacques Le Roux wrote: Hi Tim,Thank you for the proposition. Yes this would be great. As we will not check tests it can be automated without worries. Keeping somerevisions aroud could be helpful in certain cases, good idea.I forgot something to put at least in the trunk README file: awarning explaining that it's not thoroughly tested... So to resume the process : 1. Svn export 2. Add plugin.jar in framewrok/base/lib 3. Ant run-install 4. Update README file with the revision number (optional ?)5. Zip (or tar.gz, etc. but I guess zip is easier for Windowsusers I guess and is no pb for Linux guys) 6. Copy on a directory with a revolving number of instances The README file could be <<To run OFBiz please use this simple sequence:1. Depending of your platform, launch OFBiz using startofbiz.bator startofbiz.sh 2. Give OFBiz a minute or two to start up... 3. Browse toERP : https://localhost:8443/catalog/control/main (login/ pwd areofbiz/admin) Ecommerce application :http://localhost:8080/ecommerce/control/main(when<http://localhost:8080/ecommerce/control/main%28when >checking out you may use as login/pwd DemoCustomer/ofbiz)EnjoyWarning : this OFBiz release has not been thoroughly tested andyou may encouter bugs, please refer to user ML in such case : [EMAIL PROTECTED] , thanks.CheersJacques From: "Tim Ruppert" <[EMAIL PROTECTED]>Do you guys want to have this automated and part of the nightlybuild so that it's easy and done as part of the demo deploymenteverynight? We can just post it at http:// demo.hotwaxmedia.com/ . ../ nightlybuild.zip - and then keep a certain amount around for acertainamount of time. If anyone's interested - I'd be happy to set itup. Jacques, let me know your thoughts on this. Cheers, Tim -- Tim Ruppert HotWax Media http://www.hotwaxmedia.com o:801.649.6594 f:801.649.6595 On Jun 7, 2008, at 1:53 PM, Jacques Le Roux wrote: Thanks for the reminder and comment Bruno ,You know : old guy, old habits :o) Jacques From: "Bruno Busco" <[EMAIL PROTECTED]> Jacques,Ant is no longer needed (it is included in OFBiz). I think thereadme fileshould only mention that the JAVA SDK should be installed.+1 for having in the zip files the Derby database already loaded with demo data. Regards, -Bruno 2008/6/7 Jacques Le Roux <[EMAIL PROTECTED]>:Yes sure, as I said in my 1st point :o). BTW the new READMEfilewill now be : <<To run OFBiz this simple sequence: 1. Depending of your platform, launch OFBiz using startofbiz.bat or startofbiz.sh 2. Give OFBiz a minute or two to start up... 3. Browse toERP : https://localhost:8443/catalog/control/main (login/pwdare ofbiz/admin) Ecommerce application :http://localhost:8080/ecommerce/control/main(when<http://localhost:8080/ecommerce/control/main%28when > <http://localhost:8080/ecommerce/control/main %28when>checkingout you may use as login/pwd DemoCustomer/ofbiz) EnjoyIf they wants to fo further they will have to use svn...Any other opinions (for instance, should we go the way Adiansuggested and I agreed with ?) Jacques From: "Adrian Crum" <[EMAIL PROTECTED]>Are you doing an svn export - to remove all the .svn folders?--- On Sat, 6/7/08, Jacques Le Roux <[EMAIL PROTECTED]<[EMAIL PROTECTED] > <[EMAIL PROTECTED]<[EMAIL PROTECTED] >><[EMAIL PROTECTED]<[EMAIL PROTECTED] > <[EMAIL PROTECTED]<[EMAIL PROTECTED] >> >> wrote:From: Jacques Le Roux <[EMAIL PROTECTED]<[EMAIL PROTECTED] > <[EMAIL PROTECTED]<[EMAIL PROTECTED] >><[EMAIL PROTECTED]<[EMAIL PROTECTED] > <[EMAIL PROTECTED]<[EMAIL PROTECTED] >> >> Subject: Re: People complaining about a real release To: [email protected] Date: Saturday, June 7, 2008, 10:45 AM Adrian,Yes good idea, using Potgres I forgot Derby. A bit more workon our sidethough. Moreover, as we don't know the platform which will be used, we have to add the plugin.jar in base/lib in each.FYI, the respective size of zipped trunk and release are 50MBand 40MB before creating demo data in Derby and 66MB, 53MB after JacquesFrom: "Adrian Crum" <[EMAIL PROTECTED]<[EMAIL PROTECTED] > <[EMAIL PROTECTED] <[EMAIL PROTECTED] >> <[EMAIL PROTECTED] <[EMAIL PROTECTED] > < [EMAIL PROTECTED] <[EMAIL PROTECTED] >> > >> Why not have the zip file contain a ready-to- run versionof OFBiz? In other words, run the install, then zip it. > > -Adrian > > --- On Sat, 6/7/08, Jacques Le Roux&lt;[EMAIL PROTECTED]<[EMAIL PROTECTED] > <[EMAIL PROTECTED]<[EMAIL PROTECTED] >><[EMAIL PROTECTED]<[EMAIL PROTECTED] > <[EMAIL PROTECTED]<[EMAIL PROTECTED] >> >&gt; wrote: > > Hi all, > > I began to work on this, I request your opinions, advices. > > I have : > > 1. Made an svn export of trunk (rev. 664255) and release4.0 (rev. 664343) and > zipped them in 2 zip archives, respectively > ofbizTrunk.zip and ofbizRelease4.0.zip> 2. Created a README file to be put in each zip (I thinkwe should add > respective rev. numbers in them, WDYT ?), content: >> &lt;&lt;In order to run OFBiz you you need tohave ant installed and ANT_HOME > in your path. Then follow this simple sequence: > > 1. In a terminal or command line window, go to the directory where you unzipped > OFBiz > 2. Type and run : ant run-install> 3. Wait till the database is filled with demo data...> 4. Depending of your platform, launch OFBiz using startofbiz.bat or > startofbiz.sh > 5. Give OFBiz a minute or two to start up... > 6. Browse to> ERP : https://localhost:8443/catalog/control/main(login/ pwd are> ofbiz/admin) > Ecommerce application : http://localhost:8080/ecommerce/control/main (when > checking out you may use as login/pwd > DemoCustomer/ofbiz) > > Enjoy > > > >
smime.p7s
Description: S/MIME cryptographic signature
