look in the file runtime\logs\error.log.
You can also add System.out.println("") in your java code 'to trace it' and
look in runtime\logs\ofbiz.log.
S.H.
______________________
Saad Hage
[email protected]
From: swathi [via OFBiz]
Sent: Thursday, November 05, 2009 4:49 PM
To: S.Hage
Subject: Re: compile java event.
Yes I had to change the properties in build.xml according to my application and
In eclipse I added my src folder to JavaBuildPath. I got the build dir created
with classes folder and lib folder with .class files and.jar file respectively.
But my event doesnt work as I want it to. where do I see if I have any errors.
Thankyou
S.Hage wrote:
I thing you should change thoses in build.xml:
<property name="desc" value="your component decription"/>
<property name="name" value="your component name in hot-deploy"/>
<property name="ofbiz.home.dir" value="../.."/>
swathi wrote:
Iam working on my own application in hot-deploy
James McGill-5 wrote:
On Wed, Nov 4, 2009 at 2:38 PM, swathi <[email protected]> wrote:
>
> Hi
> Can someone please tell me How do I compile a java event. I copied
> build.xml
> from example application. Just by doing ant at cmd prmt doesnt create a
> build dir with jars in my component.
> In which dir does it create the build dir?
>
Make sure your component is loaddd in component-load.xml, and your
component's build.xml is included in the filelist in the parent
build.xml.
Are you working in specialpurpose/yourapp?
--
James McGill
Phoenix AZ
--------------------------------------------------------------------------------
View message @ http://n4.nabble.com/compile-java-event-tp439486p532067.html
To unsubscribe from Re: compile java event., click here.
--
View this message in context:
http://n4.nabble.com/compile-java-event-tp439486p544603.html
Sent from the OFBiz - User mailing list archive at Nabble.com.