Chatree, I suggest to configure the build.xml file in the gtw component to do all the work when invoked by the root ofbiz build system. This is the standard way to build components in the hot-deploy.
Thank you, Bruno 2010/10/22 Chatree Srichart <[email protected]> > I suggest you install separate Apache Ant and set it to global PATH then > you > can use "ant" command in every directory. I think this solution would solve > the problem. Download <http://ant.apache.org/bindownload.cgi> > > Regards, > Chatree Srichart > > On Sat, Oct 23, 2010 at 1:15 AM, Bruno Busco <[email protected]> > wrote: > > > Hi Chatree, > > the hot-deploy is automatically compiled when I run ant in the \ofbiz > > folder. > > Unfortunately the hot-deploy/gwt/webapp/gwt is not automatically compiled > > (maybe some gwt build.xml hack could do the job). > > The command you suggest returns this error (I use Windows) > > > > > > > C:\ofbiz\ofbiz_gwt\hot-deploy\gwt\webapp\gwt>"C:\Programmi\Java\jdk1.6.0_14\bin\java" > > -jar framework/base/lib/ant-launcher-1.7.1.jar -lib > framework/base/lib/ant > > Unable to access jarfile framework/base/lib/ant-launcher-1.7.1.jar > > > > > > Thank you, > > Bruno > > > > 2010/10/22 Chatree Srichart <[email protected]> > > > > > The application.patch and specialpurpose.patch are empty is correct > > because > > > I didn't change anything in applications and specialpurpose > directories. > > I > > > only changed the framework directory. > > > > > > in the hot-deploy/gwt directory you need to put ../../ant and in > > > the hot-deploy/gwt/webapp/gwt directory you need to put ../../../../ant > > to > > > run ant batch. > > > > > > Regards, > > > Chatree Srichart > > > > > > On Sat, Oct 23, 2010 at 12:17 AM, Bruno Busco <[email protected]> > > > wrote: > > > > > > > ...also running ant while in the hot-deploy/gwt directory does not > work > > > > becouse ant batch is located into /ofbiz. > > > > > > > > -Bruno > > > > > > > > 2010/10/22 Bruno Busco <[email protected]> > > > > > > > > > I Chatree, > > > > > it seems that application.patch and specialpurpose.patch are empty. > > > > > Is this correct? > > > > > > > > > > -Bruno > > > > > > > > > > 2010/10/22 Chatree Srichart <[email protected]> > > > > > > > > > > Hi community, I created the OFBiz-GWT > > > > >> <http://code.google.com/p/ofbiz-gwt/>project to render the > screen, > > > > >> form and menu widgets as GWT widget. > > > > >> You can try with > > > > >> GettingStarted< > > http://code.google.com/p/ofbiz-gwt/wiki/GettingStarted > > > > > > > > >> page and > > > > >> see how it work. > > > > >> > > > > >> The benefits of this project are: > > > > >> > > > > >> - Partial screen updated > > > > >> - Developers do not need to know any > > > > >> JavaScript?<http://code.google.com/p/ofbiz-gwt/w/edit/JavaScript> > > > > >> language > > > > >> - Client side validation > > > > >> - Create custom widget with Java language > > > > >> - Easy to debug a screen with GWT development mode > > > > >> > > > > >> I hope you enjoy this project. > > > > >> > > > > >> Regards, > > > > >> Chatree Srichart > > > > >> > > > > > > > > > > > > > > > > > > > >
