Users - how to add new java files.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Users - how to add new java files.

cjhowe
That is correct Anna.  Just to be clear for Purani,
the build.xml file she is talking about is located for
you at
${ofbizhome}/applications/ecommerce/build.xml

However Purani,

I would sugest that there are ONLY two times you would
want to touch anything inside the framework or
applications directories

1) If you are fixing an actual bug that should be
contributed back into the OFBiz project and is listed
in Jira

2) You are disabling an ECA or SECA

A better way of customizing OFBiz can be found at

http://ofbizwiki.go-integral.com/Wiki.jsp?page=FAQ21

If you touch actual OFBiz code in the framework or
applications directory, you will have a headache
updating or maintaining your installation.

=========Anna Schietz wrote:
hi,

you have to add the the ofbiz-webtools.jar in the
framework/webtools/build/lib to the classpath. For
example when you execute
the ant build task from your IDE you can add the jars
there (e.g.: IntelliJ
Idea: Properties --> Additional Classpath).

But I guess (not sure because I'm also new to this..)
the better way to do
it is to add the jar in the build.xml of the component
you just changed.

In your case this would mean adding
 <fileset dir="../../framework/webtools/lib"
includes="*.jar"/>

to the <target name="classpath">
           

I hope if I'm telling you complete nonsense someone
will correct me....

regards,
Anna

> --- Ursprüngliche Nachricht ---
> Von: "Purani S" <puranisank at rediffmail.com>
> An: users at lists.ofbiz.org
> Betreff: [OFBiz] Users - how to add new java files.
> Datum: 8 Mar 2006 12:43:56 -0000
>
> Hello,
> I added a new java file "Manager" inside the folder
> "sequoiaerp\ecommerce\src\org\ofbiz\ecommerce\misc"
that import
> "org.ofbiz.webtools.GenericWebEvent" that is
available in webtools folder.
When I try to build, I get the
> error "org.ofbiz.webtools" does not exist.
>
> Can I please get help
>
> S.Purani
>

--
"Feel free" mit GMX FreeMail!
Monat für Monat 10 FreeSMS inklusive! http://www.gmx.net
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users