On Mon, Mar 16, 2009 at 4:07 PM, Anti <[email protected]> wrote: > I just created hibernate POJOs for three new tables using weblogic > workshop, all these 3 classes have this: > > import org.apache.commons.lang.builder.EqualsBuilder; > import org.apache.commons.lang.builder.HashCodeBuilder; > import org.apache.commons.lang.builder.ToStringBuilder; > > > That makes my build to fail (it wasn´t failing before this change): > > [java] [ERROR] Errors in 'file:/C:/CAPWL/src/org/eagle/cap/ > common/pojo/CapChecksheetItemsLu.java' > [java] [ERROR] Line 84: No source code is available for > type org.apache.commons.lang.builder.EqualsBuilder; did you forget to > inherit a required module? > [java] [ERROR] Line 90: No source code is available for > type org.apache.commons.lang.builder.HashCodeBuilder; did you forget > to inherit a required module? > [java] [ERROR] Line 96: No source code is available for > type org.apache.commons.lang.builder.ToStringBuilder; did you forget > to inherit a required module? > > > The section of build.xml where the error happens is: > > <target name="gwtbuildcap"> > <java classname="com.google.gwt.dev.GWTCompiler" dir="." > description="Generate static GWT files for the CAP module" fork="true" > failonerror="true" maxmemory="512m"> > <classpath> > <path refid="gwt.classpath" /> > </classpath> > <arg value="-out" /> > <arg value="WebContent" /> > <arg line="-style OBFUSCATE"/> > <arg value="${gwt.entry.point.CapMain}" /> > </java> > </target> > > So it seems that those imports (necessary for the equal method so I can > ´t jus remove them) are spoiling the whole thing...comments and help > are highly appreciated.
You have two choices: port org.apache.commons.lang.builder.EqualsBuilder, org.apache.commons.lang.builder.HashCodeBuilder, and org.apache.commons.lang.builder.ToStringBuilder to GWT or stop using them. I'd recommend the second choice (not using them). Ian --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
