Are you running ant clean before ant build?

-Adrian

--- On Mon, 5/17/10, Matt Warnock <[email protected]> wrote:

> From: Matt Warnock <[email protected]>
> Subject: Re: compile error on trunk and 10.04, revision 945444
> To: [email protected]
> Date: Monday, May 17, 2010, 10:47 PM
> Thanks for the tip, I guess I just
> blindly assumed that any commit
> should still compile.  That's probably naive on my
> part.
> 
> However, I reverted to 945340, and have the same
> result.  Also tried
> installing sun-java-6-jdk, to see if openjdk was missing
> something, but
> got the same result.
> 
> The error seems to be in file:
> [of-biz-home]/applications/product/src/org/ofbiz/product/product/ProductSearchSession.java
> at line 1231: cannot find symbol
> 
> This same file was changed when I reverted to 945340, but
> the changes
> may go back further, I dunno.
> 
>   [javac16] symbol  : method
> add(java.util.Map<java.lang.String,java.lang.Object>)
>   [javac16] location: interface
> java.util.List<java.util.Map<java.lang.String,java.lang.String>>
>   [javac16]
> featureCountList.add(UtilMisc.toMap("productFeatureId",
> (String)
> searchResult.get("pfacProductFeatureId"),
> "productFeatureTypeId",
> (String) searchResult.get("pfcProductFeatureTypeId"),
> "description",
> (String) searchResult.get("pfcDescription"),
> "featureCount",
> Long.toString((Long) searchResult.get("featureCount"))));
>   [javac16]           
>              
>    ^
>   [javac16] 1 error
> 
> 
> Anyone running Debian out there?  Anyone seeing this
> on other machines?
> Any suggestions?
> 
> -- 
> Matt Warnock <[email protected]>
> RidgeCrest Herbals, Inc.
> 
> On Mon, 2010-05-17 at 19:38 -0700, BJ Freeman wrote:
> > last build dot say
> > 945340 was successful
> > http://ci.apache.org/waterfall?show=ofbiz-trunk
> > 
> > =========================
> > BJ Freeman
> > http://bjfreeman.elance.com
> > Strategic Power Office with Supplier Automation 
> > <http://www.businessesnetwork.com/automation/viewforum.php?f=93>
> > Specialtymarket.com <http://www.specialtymarket.com/>
> > 
> > Systems Integrator-- Glad to Assist
> > 
> > Chat  Y! messenger: bjfr33man
> > Linkedin
> > <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>
> > 
> > 
> > Matt Warnock sent the following on 5/17/2010 6:22 PM:
> > > Trying to compile the latest trunk on a Debian
> stable system using
> > > openJDK 1.6 and ant 1.7. Checked out revision
> 945444 thru 945449 of
> > > trunk, 10.04, and 09.04.
> > >  
> > > 09.04 compiles fine, but both 10.04 and trunk
> fail, with the following
> > > errors:
> > > 
> > > 
> > > [javac16]
> /home/ofbiz/release10.04/applications/product/src/org/ofbiz/product/product/ProductSearchSession.java:1231:
> cannot find symbol
> > >   [javac16] symbol  : method
> > >
> add(java.util.Map<java.lang.String,java.lang.Object>)
> > >   [javac16] location: interface
> > >
> java.util.List<java.util.Map<java.lang.String,java.lang.String>>
> > >   [javac16]
> > >
> featureCountList.add(UtilMisc.toMap("productFeatureId",
> (String)
> > > searchResult.get("pfacProductFeatureId"),
> "productFeatureTypeId",
> > > (String)
> searchResult.get("pfcProductFeatureTypeId"), "description",
> > > (String) searchResult.get("pfcDescription"),
> "featureCount",
> > > Long.toString((Long)
> searchResult.get("featureCount"))));
> > >   [javac16]     
>                
>        ^
> > > 
> > > 
> > > /home/ofbiz/release10.04/build.xml:195: The
> following error occurred
> > > while executing this line:
> > >
> /home/ofbiz/release10.04/applications/build.xml:67: The
> following error
> > > occurred while executing this line:
> > > /home/ofbiz/release10.04/macros.xml:27: The
> following error occurred
> > > while executing this line:
> > > /home/ofbiz/release10.04/common.xml:92: Compile
> failed; see the compiler
> > > [javac16] Compiling 55 source files
> > > to
> /home/ofbiz/release10.04/applications/product/build/classes
> > > 
> > > Has something changed in 10.04 or should I be
> doing soemthing
> > > differently?
> > > 
> > 
> 
> 



Reply via email to