portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric L. Wittle" <er...@wittle.net>
Subject Re: maven failed
Date Fri, 16 Jul 2004 23:24:47 GMT
..::luq::.. wrote:

> hi
>
> I have tomcat 5.0.25 , maven 1.0 rc3, ant 1.6.1 and w2k..
> I build the jetspeed2 from cvs and I get this:(this is the last lines)
>
>
> java:jar-resources:
> Copying 7 files to C:\JAKART~1\portal\target\classes
> Copied 54 empty directories to C:\JAKART~1\portal\target\classes
>
> test:prepare-filesystem:
>     [mkdir] Created dir: C:\JAKART~1\portal\target\test-classes
>     [mkdir] Created dir: C:\JAKART~1\portal\target\test-reports
>
> test:test-resources:
> Copying 7 files to C:\JAKART~1\portal\target\test-classes
> Copied 86 empty directories to C:\JAKART~1\portal\target\test-classes
> Copying 1 file to C:\JAKART~1\portal\target\test-classes
> Copied 4 empty directories to C:\JAKART~1\portal\target\test-classes
>
> test:compile:
>     [javac] Compiling 18 source files to 
> C:\JAKART~1\portal\target\test-classes
>     [javac] 
> C:\jakarta-jetspeed-2\portal\src\test\org\apache\jetspeed\PortalComp
> onentAssemblyTestCase.java:24: warning: 
> org.apache.commons.logging.impl.Log4jFac
> tory in org.apache.commons.logging.impl has been deprecated
>     [javac] import org.apache.commons.logging.impl.Log4jFactory;
>     [javac]                                        ^
>     [javac] 
> C:\jakarta-jetspeed-2\portal\src\test\org\apache\jetspeed\userinfo\T
> estUserInfoManager.java:33: cannot resolve symbol
>     [javac] symbol  : class PropertyException
>     [javac] location: package impl
>     [javac] import org.apache.jetspeed.prefs.impl.PropertyException;
>     [javac]                                       ^
>     [javac] 
> C:\jakarta-jetspeed-2\portal\src\test\org\apache\jetspeed\PortalComp
> onentAssemblyTestCase.java:71: warning: 
> org.apache.commons.logging.impl.Log4jFac
> tory in org.apache.commons.logging.impl has been deprecated
>     [javac] System.getProperties().setProperty(LogFactory.class.getName(
> ), Log4jFactory.class.getName());
>     [javac]
>    ^
>     [javac] 
> C:\jakarta-jetspeed-2\portal\src\test\org\apache\jetspeed\userinfo\T
> estUserInfoManager.java:214: cannot resolve symbol
>     [javac] symbol  : class PropertyException
>     [javac] location: class 
> org.apache.jetspeed.userinfo.TestUserInfoManager
>     [javac]         catch (PropertyException pex)
>     [javac]                ^
>     [javac] 2 errors
>     [javac] 2 warnings
>
> BUILD FAILED
> File...... C:\JAKART~1\maven.xml
> Element... maven:reactor
> Line...... 266
> Column.... 40
> Unable to obtain goal [war:init] -- C:\Documents and 
> Settings\Administrator\.maven\plugins\maven-test-plugin-1.6.1\plugin.jelly:52:46: 
> <javac> Compile failed; see the compiler error output for details.
> Total time: 9 minutes 46 seconds
> Finished at: Sat Jul 17 00:37:42 CEST 2004
>
>
> Have anybody any idea??
> thx
> ..::luq::..
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org

In portal/src/test/org/apache/jetspeed/userinfo/TestUserManager.java, 
change the line:

import org.apache.jetspeed.prefs.impl.PropertyException;

to

import org.apache.jetspeed.prefs.PropertyException;

That worked for me to complete the allBuild allClean target.

-Eric
  ericw at wittle.net

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message