You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by st...@wafoote.org on 2004/12/01 21:32:38 UTC

Unable to build Jetspeed-2 from HEAD today




First let me state that I'm new to Jetspeed, so please forgive my
ignorance.

Yesterday, after much help from the WIKI, and the list archive,  I was
finally able to build Jetspeed-2.  Unfortunately, Jetspeed would not
display.  Today I attempted to clean up my workspace, and start over from
scratch (this included getting a fresh copy ffrom CVS) , but now I get the
compile error below.  As you can tell, I am using Eclipse as build
environment.  Any help would be appreciated.

Secondly, in order to get through Maven  allClean allBuild, it was
necessary for me to manually download MANY jars for
http://www.bluesunrise.com/maven.  I tried several suggestions to avoid
this but all to no avail.  Is there something I can do to get Maven to
perform these downloads?

java:compile:
    [echo] Compiling to
C:\apache\jakarta-jetspeed-2\jetspeed-api/target/classes
    [javac] Compiling 181 source files to
C:\apache\jakarta-jetspeed-2\jetspeed-api\target\classes
    [javac]
C:\apache\jakarta-jetspeed-2\jetspeed-api\src\java\org\apache\jetspeed\om\folder\Folder.java:20:
 org.apache.jetspeed.om.folder.Folder is already defined in this
compilation unit
    [javac] import org.apache.jetspeed.om.folder.Folder;
    [javac] ^
    [javac] Note:
C:\apache\jakarta-jetspeed-2\jetspeed-api\src\java\org\apache\jetspeed\mockobjects\MockHttpServletRequest.java
 uses or overrides a deprecated API.
    [javac] Note: Recompile with -deprecation for details.
    [javac] 1 error

BUILD FAILED
File...... C:\apache\jakarta-jetspeed-2\maven.xml
Element... maven:reactor
Line...... 133
Column.... 40
Unable to obtain goal [java:compile] -- C:\Documents and
Settings\PittmanS\.maven\cache\maven-java-plugin-1.4\plugin.jelly:53:48:
<ant:javac> Compile failed; see the compiler error output for details.
Total time: 2 minutes 10 seconds
Finished at: Wed Dec 01 14:07:41 EST 2004


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


Re: Unable to build Jetspeed-2 from HEAD today

Posted by Randy Watler <rw...@finali.com>.
Stephen,

Try removing the extra import line and see what you get... which Java 
environment are you using?

Randy

stephen.pittman@wafoote.org wrote:

>
>
>First let me state that I'm new to Jetspeed, so please forgive my
>ignorance.
>
>Yesterday, after much help from the WIKI, and the list archive,  I was
>finally able to build Jetspeed-2.  Unfortunately, Jetspeed would not
>display.  Today I attempted to clean up my workspace, and start over from
>scratch (this included getting a fresh copy ffrom CVS) , but now I get the
>compile error below.  As you can tell, I am using Eclipse as build
>environment.  Any help would be appreciated.
>
>Secondly, in order to get through Maven  allClean allBuild, it was
>necessary for me to manually download MANY jars for
>http://www.bluesunrise.com/maven.  I tried several suggestions to avoid
>this but all to no avail.  Is there something I can do to get Maven to
>perform these downloads?
>
>java:compile:
>    [echo] Compiling to
>C:\apache\jakarta-jetspeed-2\jetspeed-api/target/classes
>    [javac] Compiling 181 source files to
>C:\apache\jakarta-jetspeed-2\jetspeed-api\target\classes
>    [javac]
>C:\apache\jakarta-jetspeed-2\jetspeed-api\src\java\org\apache\jetspeed\om\folder\Folder.java:20:
> org.apache.jetspeed.om.folder.Folder is already defined in this
>compilation unit
>    [javac] import org.apache.jetspeed.om.folder.Folder;
>    [javac] ^
>    [javac] Note:
>C:\apache\jakarta-jetspeed-2\jetspeed-api\src\java\org\apache\jetspeed\mockobjects\MockHttpServletRequest.java
> uses or overrides a deprecated API.
>    [javac] Note: Recompile with -deprecation for details.
>    [javac] 1 error
>
>BUILD FAILED
>File...... C:\apache\jakarta-jetspeed-2\maven.xml
>Element... maven:reactor
>Line...... 133
>Column.... 40
>Unable to obtain goal [java:compile] -- C:\Documents and
>Settings\PittmanS\.maven\cache\maven-java-plugin-1.4\plugin.jelly:53:48:
><ant:javac> Compile failed; see the compiler error output for details.
>Total time: 2 minutes 10 seconds
>Finished at: Wed Dec 01 14:07:41 EST 2004
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>
>  
>

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


Re: Unable to build Jetspeed-2 from HEAD today

Posted by Luiz Esmiralha <es...@gmail.com>.
On Wed, 1 Dec 2004 15:32:38 -0500, stephen.pittman@wafoote.org
<st...@wafoote.org> wrote:
> 
> 
> First let me state that I'm new to Jetspeed, so please forgive my
> ignorance.
> 
> Yesterday, after much help from the WIKI, and the list archive,  I was
> finally able to build Jetspeed-2.  Unfortunately, Jetspeed would not
> display.  Today I attempted to clean up my workspace, and start over from
> scratch (this included getting a fresh copy ffrom CVS) , but now I get the
> compile error below.  As you can tell, I am using Eclipse as build
> environment.  Any help would be appreciated.
> 
> Secondly, in order to get through Maven  allClean allBuild, it was
> necessary for me to manually download MANY jars for
> http://www.bluesunrise.com/maven.  I tried several suggestions to avoid
> this but all to no avail.  Is there something I can do to get Maven to
> perform these downloads?
> 
You'll need to run maven with
"-Dmaven.repo.remote=http://www.bluesunrise.com/maven/,http://www.ibiblio.org/maven/,http://dist.codehaus.org/,http://cvs.apache.org/repository"

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