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:\Export
> OFBiz\ofbizTrunk\applications\product\src\ShipmentScaleApplet.java:37:
> package netscape.javascript does not exist
> [javac] import netscape.javascript.JSObject;
> [javac] ^
> [javac] D:\Export
> OFBiz\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:\Export
> OFBiz\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 FAILED
> D:\Export OFBiz\ofbizTrunk\build.xml:128: The following error occurred
> while executing this line:
> D:\Export OFBiz\ofbizTrunk\applications\build.xml:67: The following error
> occurred while executing this line:
> D:\Export OFBiz\ofbizTrunk\applications\product\build.xml:100: Compile
> failed; see the compiler error output for details.
>
>>
>>>
> I wonder now if it's not related to French OS implementations as it seems
> that 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 out will
> ever try to use an electronic balance (this is the existing reason of this
> 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, and aside
>> from the possibility of a few bits of bad code for processes paths with the
>> 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 three
>>> different systems. The one on my mac had a much smaller size than the 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 version if
>>> this 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 do need
>>>> to 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 i don't
>>>> use Windows - I'm assuming it's for that. Please let me know and I'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 trying to
>>>>> get 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 some
>>>>>>> revisions
>>>>>>> aroud could be helpful in certain cases, good idea.
>>>>>>> I forgot something to put at least in the trunk README file: a
>>>>>>> warning 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 Windows users
>>>>>>> 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.bat or
>>>>>>> startofbiz.sh
>>>>>>> 2. Give OFBiz a minute or two to start up...
>>>>>>> 3. 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
>>>>>>>
>>>>>>> Warning : this OFBiz release has not been thoroughly tested and you
>>>>>>> may encouter bugs, please refer to user ML in such case :
>>>>>>> [EMAIL PROTECTED] , thanks.
>>>>>>>
>>>>>>>>
>>>>>>>>>
>>>>>>> Cheers
>>>>>>>
>>>>>>> Jacques
>>>>>>>
>>>>>>> From: "Tim Ruppert" <[EMAIL PROTECTED]>
>>>>>>>
>>>>>>>> Do you guys want to have this automated and part of the nightly
>>>>>>>> build so that it's easy and done as part of the demo deployment every
>>>>>>>> night? We can just post it at http://demo.hotwaxmedia.com/ . . .
>>>>>>>> / nightlybuild.zip - and then keep a certain amount around for a
>>>>>>>> certain
>>>>>>>> amount of time. If anyone's interested - I'd be happy to set it up.
>>>>>>>>
>>>>>>>> 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 the
>>>>>>>>>> readme file
>>>>>>>>>> should 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 README file
>>>>>>>>>>> will 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 to
>>>>>>>>>>> ERP : https://localhost:8443/catalog/control/main (login/pwd
>>>>>>>>>>> are
>>>>>>>>>>> ofbiz/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)
>>>>>>>>>>>
>>>>>>>>>>> Enjoy
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>> If they wants to fo further they will have to use svn...
>>>>>>>>>>> Any other opinions (for instance, should we go the way Adian
>>>>>>>>>>> suggested 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 &
>>>>>>>>>>>> lt;[EMAIL PROTECTED]<[EMAIL PROTECTED]><
>>>>>>>>>>>> [EMAIL PROTECTED]<[EMAIL PROTECTED]>
>>>>>>>>>>>> >>
>>>>>>>>>>>> wrote:
>>>>>>>>>>>> From: Jacques Le Roux <[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 work on
>>>>>>>>>>>> our side
>>>>>>>>>>>> though. 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 50MB
>>>>>>>>>>>> and 40MB
>>>>>>>>>>>> before
>>>>>>>>>>>> creating demo data in Derby and 66MB, 53MB after
>>>>>>>>>>>>
>>>>>>>>>>>> Jacques
>>>>>>>>>>>>
>>>>>>>>>>>> From: "Adrian Crum" <[EMAIL PROTECTED]<[EMAIL PROTECTED]>
>>>>>>>>>>>> <[EMAIL PROTECTED] <[EMAIL PROTECTED]>
>>>>>>>>>>>> >
>>>>>>>>>>>> >
>>>>>>>>>>>> > Why not have the zip file contain a ready-to-run version
>>>>>>>>>>>> of 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]>
>>>>>>>>>>>> >&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 think we
>>>>>>>>>>>> should add
>>>>>>>>>>>> > respective rev. numbers in them, WDYT ?), content:
>>>>>>>>>>>> >
>>>>>>>>>>>> > &lt;&lt;In order to run OFBiz you you need to have
>>>>>>>>>>>> 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
>>>>>>>>>>>> >
>>>>>>>>>>>> >
>>>>>>>>>>>> >
>>>>>>>>>>>> >
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>