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: What Maven version is everone using?
Date Fri, 16 Jul 2004 23:27:23 GMT
brad.simonin@psl.nmsu.edu wrote:

>We are using Maven version 1.0.  Just curious as to what else everyone is using.
>
>--Brad Simonin
>
>
>-----Original Message-----
>From:	Simonin, Bradley K. (Brad)
>Sent:	Fri 7/16/2004 9:14 AM
>To:	Jetspeed Developers List; Jetspeed Developers List
>Cc:	
>Subject:	RE: Jetspeed-2 source failing to compile from CVS:  Can anyone help?
>Okay.  Let me ask you a very clueless question.  In which Maven directory is the Servlet
2.3 jar file supposed to go in.  If it sounds like we are feeling 
>clueless then yes we are.  Just call us clueless portless confused Jetspeed portal wanna-be's.

>
>--Brad
>
>
>-----Original Message-----
>From:	Scott T. Weaver [mailto:scotts-jetspeed-list@binary-designs.net]
>Sent:	Thu 7/15/2004 8:07 AM
>To:	Jetspeed Developers List
>Cc:	
>Subject:	Re: Jetspeed-2 source failing to compile from CVS:  Can anyone help?
>Hi Brad,
>
>I still think there is a problem with your version of the servlet jar.  
>I say this because javax.servlet.ServletRequest interface in release 2.3 
>does not have a getLocalPort() method which is the method that is 
>causing the mock's compile to fail.
>
>See: 
>http://java.sun.com/products/servlet/2.3/javadoc/javax/servlet/ServletRequest.html
>
>
>brad.simonin@psl.nmsu.edu wrote:
>
>  
>
>>Scott.  We are still getting the following error.  We are using servlet jar 2.3.
>>
>>We have the jar in the following directory structure:
>>~/.maven/repository/servletapi/jars 
>>with the jar being:
>>servletapi-2.3.jar
>>
>>and we are still getting the following error:
>>
>>java:compile:
>>   [echo] Compiling to /home/apache/jakarta-jetspeed-2/jetspeed-api/target/classes
>>   [javac] Compiling 103 source files to /home/apache/jakarta-jetspeed-2/jetspeed-api/target/classes
>>   [javac] /home/apache/jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/mockobjects/MockHttpServletRequest.java:26:
org.apache.jetspeed.mockobjects.MockHttpServletRequest is not abstract and does not override
abstract method getLocalPort() in javax.servlet.ServletRequest
>>   [javac] public class MockHttpServletRequest implements HttpServletRequest
>>   [javac]        ^
>>   [javac] 1 error
>>
>>BUILD FAILED
>>File...... /home/apache/jakarta-jetspeed-2/maven.xml
>>Element... maven:reactor
>>Line...... 158
>>Column.... 40
>>Unable to obtain goal [java:compile] -- /root/.maven/cache/maven-java-plugin-1.4/plugin.jelly:53:48:
<ant:javac> Compile failed; see the compiler error output for details.
>>Total time: 13 minutes 17 seconds
>>Finished at: Wed Jul 14 15:06:24 MDT 2004
>>
>>Can you help?
>>
>>
>>--Brad
>>
>>-----Original Message-----
>>From:	Scott T. Weaver [mailto:scotts-jetspeed-list@binary-designs.net]
>>Sent:	Tue 7/13/2004 2:45 PM
>>To:	Jetspeed Developers List
>>Cc:	
>>Subject:	Re: Jetspeed-2 source failing to compile from CVS:  Can anyone help?
>>Hi Brad,
>>
>>It appears that Jetspeed is being compiled against an incompatible 
>>version of the servlet api.  Make sure the jar in your maven repo is 
>>actually version 2.3 of the servlet api.  This requiremtn only applies 
>>durning compile time as J2 will run fine under servlet api version 2.3 
>>and up.
>>
>>brad.simonin@psl.nmsu.edu wrote:
>>
>> 
>>
>>    
>>
>>>Hello.  We are trying to compile and install Jetspeed-2 for our future
>>>portal system.  We are having problems compiling from the source from
>>>CVS.  Can you look at our log and tell me if you see what we are doing
>>>wrong?
>>>
>>>We are using the following in a Slackware Linux environment:
>>>Ant  v1.6.1
>>>Maven v1.0
>>>Tomcat v5.0.25
>>>Java 1.4.2_04
>>>
>>>The error part of the log is as follows:
>>>
>>>java:prepare-filesystem:
>>>  [mkdir] Created dir:
>>>/home/apache/jakarta-jetspeed-2/jetspeed-api/target/classes
>>>
>>>java:compile:
>>>  [echo] Compiling to
>>>/home/apache/jakarta-jetspeed-2/jetspeed-api/target/classes
>>>  [javac] Compiling 103 source files to
>>>/home/apache/jakarta-jetspeed-2/jetspeed-api/target/classes
>>>  [javac]
>>>/home/apache/jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspee
>>>d/mockobjects/MockHttpServletRequest.java:26:
>>>org.apache.jetspeed.mockobjects.MockHttpServletRequest is not abstract
>>>and does not override abstract method getLocalPort() in
>>>javax.servlet.ServletRequest
>>>  [javac] public class MockHttpServletRequest implements
>>>HttpServletRequest
>>>  [javac]        ^
>>>  [javac] 1 error
>>>Total time: 2 minutes 26 seconds
>>>Finished at: Tue Jul 13 12:02:12 MDT 2004
>>>
>>>BUILD FAILED
>>>File...... /home/apache/jakarta-jetspeed-2/maven.xml
>>>Element... maven:reactor
>>>Line...... 158
>>>Column.... 40
>>>Unable to obtain goal [java:compile] --
>>>/root/.maven/cache/maven-java-plugin-1.4/plugin.jelly:53:48: 
>>><ant:javac> Compile failed; see the compiler error output for details.
>>>
>>>
>>>Can anyone point us in the right direction?  Thank you in advance.
>>>
>>>--Brad Simonin
>>>
>>>
>>>
>>>THE FULL LOG IS AS FOLLOWS:
>>>
>>>__  __
>>>|  \/  |__ _Apache__ ___
>>>| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
>>>|_|  |_\__,_|\_/\___|_||_|  v. 1.0
>>>
>>>Starting the reactor...
>>>Our processing order:
>>>Jetspeed-2 Component Manager
>>>Jetspeed-2 RDBMS Components
>>>Jetspeed-2 Common Portal Services
>>>Jetspeed 2 Site
>>>Java Portlet API
>>>Jetspeed-2 Core API
>>>Jetspeed-2 Portal Commons
>>>Jetspeed 2 Maven Plugin
>>>Jetspeed-2 Persistence Components
>>>Jetspeed-2 Preferences SPI Components
>>>Jetspeed-2 Registry Components
>>>Jetspeed-2 Enterprise Portal Content Server
>>>Jetspeed-2 Components
>>>Jetspeed-2 Security Components
>>>Jetspeed-2 ID Generator
>>>Jetspeed-2 File Cache
>>>Jetspeed-2 Template Locator
>>>Jetspeed-2 Capability Components
>>>Jetspeed-2 Page Manager
>>>Jetspeed-2 Portal Engine
>>>Jetspeed-2 Layout Portlets
>>>Jetspeed-2 Enterprise Portal Design Documentation Cornerstone Component
>>>Framework Cornerstone JMX Cornerstone JMX demo
>>>Jetspeed-2 Portlet Application Manager
>>>Jetspeed-2 Demo Portlet Application
>>>Jetspeed-2 Security Portlet Application
>>>Apache Struts Portlet Framework SPI
>>>Struts Portlet Demo
>>>Apache Struts Portlet Framework
>>>+----------------------------------------
>>>| Cleaning Jetspeed-2 Component Manager
>>>| Memory: 5M/6M
>>>+----------------------------------------
>>>+----------------------------------------
>>>| Cleaning Jetspeed-2 RDBMS Components
>>>| Memory: 5M/6M
>>>+----------------------------------------
>>>+----------------------------------------
>>>| Cleaning Jetspeed-2 Common Portal Services
>>>| Memory: 4M/8M
>>>+----------------------------------------
>>>Attempting to download commons-configuration-SNAPSHOT.jar.
>>>+----------------------------------------
>>>| Cleaning Jetspeed 2 Site
>>>| Memory: 5M/8M
>>>+----------------------------------------
>>>Attempting to download commons-jelly-tags-velocity-SNAPSHOT.jar.
>>>+----------------------------------------
>>>| Cleaning Java Portlet API
>>>| Memory: 6M/8M
>>>+----------------------------------------
>>>build:start:
>>>
>>>allClean:
>>>subClean:
>>>build:start:
>>>
>>>clean:clean:
>>>
>>>clean:
>>>
>>>build:end:
>>>
>>>build:start:
>>>
>>>clean:clean:
>>>
>>>clean:
>>>
>>>build:end:
>>>
>>>build:start:
>>>
>>>clean:clean:
>>>
>>>clean:
>>>
>>>build:end:
>>>
>>>build:start:
>>>
>>>clean:clean:
>>>
>>>clean:
>>>
>>>build:end:
>>>
>>>build:start:
>>>
>>>clean:clean:
>>>  [delete] Deleting directory
>>>/home/apache/jakarta-jetspeed-2/portlet-api/target
>>>+----------------------------------------
>>>| Cleaning Jetspeed-2 Core API
>>>| Memory: 5M/8M
>>>+----------------------------------------
>>>Attempting to download pluto-1.0.1-SNAPSHOT.jar.
>>>
>>>clean:
>>>
>>>build:end:
>>>
>>>build:start:
>>>
>>>clean:clean:
>>>  [delete] Deleting directory
>>>/home/apache/jakarta-jetspeed-2/jetspeed-api/target
>>>+----------------------------------------
>>>| Cleaning Jetspeed-2 Portal Commons
>>>| Memory: 6M/8M
>>>+----------------------------------------
>>>Attempting to download pluto-1.0.1-SNAPSHOT.jar.
>>>+----------------------------------------
>>>| Cleaning Jetspeed 2 Maven Plugin
>>>| Memory: 6M/8M
>>>+----------------------------------------
>>>+----------------------------------------
>>>| Cleaning Jetspeed-2 Persistence Components
>>>| Memory: 7M/8M
>>>+----------------------------------------
>>>Attempting to download jmock-SNAPSHOT.jar.
>>>+----------------------------------------
>>>| Cleaning Jetspeed-2 Preferences SPI Components
>>>| Memory: 7M/8M
>>>+----------------------------------------
>>>+----------------------------------------
>>>| Cleaning Jetspeed-2 Registry Components
>>>| Memory: 8M/8M
>>>+----------------------------------------
>>>Attempting to download pluto-1.0.1-SNAPSHOT.jar.
>>>Attempting to download jmock-SNAPSHOT.jar.
>>>+----------------------------------------
>>>| Cleaning Jetspeed-2 Enterprise Portal Content Server
>>>| Memory: 8M/13M
>>>+----------------------------------------
>>>+----------------------------------------
>>>| Cleaning Jetspeed-2 Components
>>>| Memory: 8M/13M
>>>+----------------------------------------
>>>+----------------------------------------
>>>| Cleaning Jetspeed-2 Security Components
>>>| Memory: 9M/13M
>>>+----------------------------------------
>>>+----------------------------------------
>>>| Cleaning Jetspeed-2 ID Generator
>>>| Memory: 9M/13M
>>>+----------------------------------------
>>>+----------------------------------------
>>>| Cleaning Jetspeed-2 File Cache
>>>| Memory: 10M/13M
>>>+----------------------------------------
>>>+----------------------------------------
>>>| Cleaning Jetspeed-2 Template Locator
>>>| Memory: 10M/13M
>>>+----------------------------------------
>>>+----------------------------------------
>>>| Cleaning Jetspeed-2 Capability Components
>>>| Memory: 11M/13M
>>>+----------------------------------------
>>>Attempting to download pluto-1.0.1-SNAPSHOT.jar.
>>>+----------------------------------------
>>>| Cleaning Jetspeed-2 Page Manager
>>>| Memory: 10M/13M
>>>+----------------------------------------
>>>Attempting to download pluto-1.0.1-SNAPSHOT.jar.
>>>+----------------------------------------
>>>| Cleaning Jetspeed-2 Portal Engine
>>>| Memory: 11M/13M
>>>+----------------------------------------
>>>Attempting to download pluto-1.0.1-SNAPSHOT.jar.
>>>Attempting to download jmock-SNAPSHOT.jar.
>>>+----------------------------------------
>>>| Cleaning Jetspeed-2 Layout Portlets
>>>| Memory: 12M/13M
>>>+----------------------------------------
>>>Attempting to download pluto-1.0.1-SNAPSHOT.jar.
>>>+----------------------------------------
>>>| Cleaning Jetspeed-2 Enterprise Portal Design Documentation
>>>| Memory: 12M/13M
>>>+----------------------------------------
>>>+----------------------------------------
>>>| Cleaning Cornerstone Component Framework
>>>| Memory: 13M/13M
>>>+----------------------------------------
>>>+----------------------------------------
>>>| Cleaning Cornerstone JMX
>>>| Memory: 14M/23M
>>>+----------------------------------------
>>>+----------------------------------------
>>>| Cleaning Cornerstone JMX demo
>>>| Memory: 13M/23M
>>>+----------------------------------------
>>>+----------------------------------------
>>>| Cleaning Jetspeed-2 Portlet Application Manager
>>>| Memory: 14M/23M
>>>+----------------------------------------
>>>Attempting to download pluto-1.0.1-SNAPSHOT.jar.
>>>+----------------------------------------
>>>| Cleaning Jetspeed-2 Demo Portlet Application
>>>| Memory: 14M/23M
>>>+----------------------------------------
>>>+----------------------------------------
>>>| Cleaning Jetspeed-2 Security Portlet Application
>>>| Memory: 15M/23M
>>>+----------------------------------------
>>>+----------------------------------------
>>>| Cleaning Apache Struts Portlet Framework SPI
>>>| Memory: 16M/23M
>>>+----------------------------------------
>>>
>>>clean:
>>>
>>>build:end:
>>>
>>>build:start:
>>>
>>>clean:clean:
>>>
>>>clean:
>>>
>>>build:end:
>>>
>>>build:start:
>>>
>>>clean:clean:
>>>
>>>clean:
>>>
>>>build:end:
>>>
>>>build:start:
>>>
>>>clean:clean:
>>>
>>>clean:
>>>
>>>build:end:
>>>
>>>build:start:
>>>
>>>clean:clean:
>>>
>>>clean:
>>>
>>>build:end:
>>>
>>>build:start:
>>>
>>>clean:clean:
>>>
>>>clean:
>>>
>>>build:end:
>>>
>>>build:start:
>>>
>>>clean:clean:
>>>
>>>clean:
>>>
>>>build:end:
>>>
>>>build:start:
>>>
>>>clean:clean:
>>>
>>>clean:
>>>
>>>build:end:
>>>
>>>build:start:
>>>
>>>clean:clean:
>>>
>>>clean:
>>>
>>>build:end:
>>>
>>>build:start:
>>>
>>>clean:clean:
>>>
>>>clean:
>>>
>>>build:end:
>>>
>>>build:start:
>>>
>>>clean:clean:
>>>
>>>clean:
>>>
>>>build:end:
>>>
>>>build:start:
>>>
>>>clean:clean:
>>>
>>>clean:
>>>
>>>build:end:
>>>
>>>build:start:
>>>
>>>clean:clean:
>>>
>>>clean:
>>>
>>>build:end:
>>>
>>>build:start:
>>>
>>>clean:clean:
>>>
>>>clean:
>>>
>>>build:end:
>>>
>>>-->build:start:
>>>
>>>clean:clean:
>>>
>>>clean:
>>>
>>>build:end:
>>>
>>>build:start:
>>>
>>>clean:clean:
>>>
>>>clean:
>>>
>>>build:end:
>>>
>>>build:start:
>>>
>>>clean:clean:
>>>
>>>clean:
>>>
>>>build:end:
>>>
>>>build:start:
>>>
>>>clean:clean:
>>>
>>>clean:
>>>
>>>build:end:
>>>
>>>build:start:
>>>
>>>clean:clean:
>>>
>>>clean:
>>>
>>>build:end:
>>>
>>>build:start:
>>>
>>>clean:clean:
>>>
>>>clean:
>>>
>>>build:end:
>>>
>>>build:start:
>>>
>>>clean:clean:
>>>
>>>clean:
>>>
>>>build:end:
>>>
>>>build:start:
>>>
>>>clean:clean:
>>>
>>>clean:
>>>
>>>build:end:
>>>
>>>build:start:
>>>
>>>clean:clean:
>>>
>>>clean:
>>>
>>>build:end:
>>>
>>>build:start:
>>>
>>>clean:clean:
>>>  [delete] Deleting directory
>>>/home/apache/jakarta-jetspeed-2/struts-portlet/spi/target
>>>+----------------------------------------
>>>| Cleaning Struts Portlet Demo
>>>| Memory: 15M/23M
>>>+----------------------------------------
>>>+----------------------------------------
>>>| Cleaning Apache Struts Portlet Framework
>>>| Memory: 16M/23M
>>>+----------------------------------------
>>>
>>>clean:
>>>
>>>build:end:
>>>
>>>build:start:
>>>
>>>clean:clean:
>>>
>>>clean:
>>>
>>>build:end:
>>>
>>>build:start:
>>>
>>>clean:clean:
>>>  [delete] Deleting directory
>>>/home/apache/jakarta-jetspeed-2/struts-portlet/framework/target
>>>Starting the reactor...
>>>Our processing order:
>>>Jetspeed 2 Maven Plugin
>>>Jetspeed-2 Layout Portlets
>>>Jetspeed 2 TagLibs
>>>+----------------------------------------
>>>| Cleaning Jetspeed 2 Maven Plugin
>>>| Memory: 17M/23M
>>>+----------------------------------------
>>>+----------------------------------------
>>>| Cleaning Jetspeed-2 Layout Portlets
>>>| Memory: 17M/23M
>>>+----------------------------------------
>>>Attempting to download pluto-1.0.1-SNAPSHOT.jar.
>>>+----------------------------------------
>>>| Cleaning Jetspeed 2 TagLibs
>>>| Memory: 17M/23M
>>>+----------------------------------------
>>>
>>>clean:
>>>
>>>build:end:
>>>
>>>build:start:
>>>
>>>clean:clean:
>>>
>>>clean:
>>>
>>>build:end:
>>>
>>>build:start:
>>>
>>>clean:clean:
>>>
>>>clean:
>>>
>>>build:end:
>>>
>>>build:start:
>>>
>>>clean:clean:
>>>
>>>clean:
>>>
>>>build:end:
>>>
>>>
>>>clean:clean:
>>>  [delete] Deleting directory /home/apache/jakarta-jetspeed-2/target
>>>  [delete] Deleting: /home/apache/jakarta-jetspeed-2/velocity.log
>>>
>>>clean:
>>>
>>>
>>>allBuild:
>>>check.required.properties:
>>>
>>>torque:init:
>>>
>>>db.scripts.gen:
>>>  [echo] Generating SQL schema creation scripts for HSQLDB
>>>  [torque-sql] Using classpath
>>>  [torque-sql] Generating to file
>>>/home/apache/jakarta-jetspeed-2/target/src/sql/hsql/report.portal.sql.ge
>>>neration
>>>  [echo] Generating SQL schema creation scripts for MySQL
>>>  [torque-sql] Using classpath
>>>  [torque-sql] Generating to file
>>>/home/apache/jakarta-jetspeed-2/target/src/sql/mysql/report.portal.sql.g
>>>eneration
>>>  [echo] Generating SQL schema creation scripts for Oracle
>>>  [torque-sql] Using classpath
>>>  [torque-sql] Generating to file
>>>/home/apache/jakarta-jetspeed-2/target/src/sql/oracle/report.portal.sql.
>>>generation
>>>
>>>db.create.test:
>>>db.test.properties:
>>>
>>>db.create:
>>>db.execute:
>>>  [sql] Executing file:
>>>/home/apache/jakarta-jetspeed-2/target/src/sql/mysql/phase3ojb-schema.sq
>>>l
>>>  [sql] 16 of 16 SQL statements executed successfully
>>>
>>>db.execute:
>>>  [sql] Executing file:
>>>/home/apache/jakarta-jetspeed-2/target/src/sql/mysql/phase1-schema.sql
>>>  [sql] 16 of 16 SQL statements executed successfully
>>>
>>>db.execute:
>>>  [sql] Executing file:
>>>/home/apache/jakarta-jetspeed-2/target/src/sql/mysql/phase2-schema.sql
>>>  [sql] 30 of 30 SQL statements executed successfully
>>>
>>>db.execute:
>>>  [sql] Executing file:
>>>/home/apache/jakarta-jetspeed-2/target/src/sql/mysql/registry-schema.sql
>>>  [sql] 36 of 36 SQL statements executed successfully
>>>
>>>db.execute:
>>>  [sql] Executing file:
>>>/home/apache/jakarta-jetspeed-2/target/src/sql/mysql/prefs-schema.sql
>>>  [sql] 8 of 8 SQL statements executed successfully
>>>
>>>db.execute:
>>>  [sql] Executing file:
>>>/home/apache/jakarta-jetspeed-2/target/src/sql/mysql/security-schema.sql
>>>  [sql] 14 of 14 SQL statements executed successfully
>>>
>>>db.execute:
>>>  [sql] Executing file:
>>>/home/apache/jakarta-jetspeed-2/src/sql/populate-db-default.sql
>>>  [sql] 167 of 167 SQL statements executed successfully
>>>
>>>db.execute:
>>>  [sql] Executing file:
>>>/home/apache/jakarta-jetspeed-2/target/src/sql/mysql/test-persistence-sc
>>>hema.sql
>>>  [sql] 4 of 4 SQL statements executed successfully Starting the
>>>reactor...
>>>Our processing order:
>>>Java Portlet API
>>>+----------------------------------------
>>>| Build and Install the Portlet API jar Java Portlet API
>>>| Memory: 32M/57M
>>>+----------------------------------------
>>>Plugin 'maven-deploy-plugin' in project 'Java Portlet API' is not
>>>available
>>>
>>>
>>>
>>>build:start:
>>>
>>>java:prepare-filesystem:
>>>  [mkdir] Created dir:
>>>/home/apache/jakarta-jetspeed-2/portlet-api/target/classes
>>>
>>>java:compile:
>>>  [echo] Compiling to
>>>/home/apache/jakarta-jetspeed-2/portlet-api/target/classes
>>>  [javac] Compiling 27 source files to
>>>/home/apache/jakarta-jetspeed-2/portlet-api/target/classes
>>>
>>>java:jar-resources:
>>>
>>>test:prepare-filesystem:
>>>  [mkdir] Created dir:
>>>/home/apache/jakarta-jetspeed-2/portlet-api/target/test-classes
>>>  [mkdir] Created dir:
>>>/home/apache/jakarta-jetspeed-2/portlet-api/target/test-reports
>>>
>>>test:test-resources:
>>>
>>>test:compile:
>>>  [echo] No test source files to compile.
>>>
>>>test:test:
>>>  [echo] No tests to run.
>>>
>>>jar:jar:
>>>  [jar] Building jar:
>>>/home/apache/jakarta-jetspeed-2/portlet-api/target/portlet-api-1.0.jar
>>>Copying: from
>>>'/home/apache/jakarta-jetspeed-2/portlet-api/target/portlet-api-1.0.jar'
>>>to: '/root/.maven/repository/portlet-api/jars/portlet-api-1.0.jar'
>>>Copying: from '/home/apache/jakarta-jetspeed-2/portlet-api/project.xml'
>>>to: '/root/.maven/repository/portlet-api/poms/portlet-api-1.0.pom'
>>>Starting the reactor...
>>>Our processing order:
>>>Apache Struts Portlet Framework SPI
>>>+----------------------------------------
>>>| Build and Install the Struts Portlet SPI jar Apache Struts Portlet 
>>>| Framework SPI
>>>| Memory: 34M/57M
>>>+----------------------------------------
>>>Plugin 'maven-deploy-plugin' in project 'Apache Struts Portlet Framework
>>>SPI' is not available
>>>
>>>jar:install:
>>>
>>>build:end:
>>>
>>>build:start:
>>>
>>>java:prepare-filesystem:
>>>  [mkdir] Created dir:
>>>/home/apache/jakarta-jetspeed-2/struts-portlet/spi/target/classes
>>>
>>>java:compile:
>>>  [echo] Compiling to
>>>/home/apache/jakarta-jetspeed-2/struts-portlet/spi/target/classes
>>>  [javac] Compiling 1 source file to
>>>/home/apache/jakarta-jetspeed-2/struts-portlet/spi/target/classes
>>>
>>>java:jar-resources:
>>>
>>>test:prepare-filesystem:
>>>  [mkdir] Created dir:
>>>/home/apache/jakarta-jetspeed-2/struts-portlet/spi/target/test-classes
>>>  [mkdir] Created dir:
>>>/home/apache/jakarta-jetspeed-2/struts-portlet/spi/target/test-reports
>>>
>>>test:test-resources:
>>>
>>>test:compile:
>>>  [echo] No test source files to compile.
>>>
>>>test:test:
>>>dbSetup:
>>>
>>>  [echo] No tests to run.
>>>
>>>jar:jar:
>>>  [jar] Building jar:
>>>/home/apache/jakarta-jetspeed-2/struts-portlet/spi/target/struts-portlet
>>>-spi-0.1.jar
>>>Copying: from
>>>'/home/apache/jakarta-jetspeed-2/struts-portlet/spi/target/struts-portle
>>>t-spi-0.1.jar' to:
>>>'/root/.maven/repository/jetspeed2/jars/struts-portlet-spi-0.1.jar'
>>>Copying: from
>>>'/home/apache/jakarta-jetspeed-2/struts-portlet/spi/project.xml' to:
>>>'/root/.maven/repository/jetspeed2/poms/struts-portlet-spi-0.1.pom'
>>>Starting the reactor...
>>>Our processing order:
>>>Apache Struts Portlet Framework
>>>+----------------------------------------
>>>| Build and Install the Struts Portlet jar Apache Struts Portlet 
>>>| Framework
>>>| Memory: 35M/57M
>>>+----------------------------------------
>>>Plugin 'maven-deploy-plugin' in project 'Apache Struts Portlet
>>>Framework' is not available
>>>
>>>jar:install:
>>>
>>>build:end:
>>>
>>>build:start:
>>>
>>>java:prepare-filesystem:
>>>  [mkdir] Created dir:
>>>/home/apache/jakarta-jetspeed-2/struts-portlet/framework/target/classes
>>>
>>>java:compile:
>>>  [echo] Compiling to
>>>/home/apache/jakarta-jetspeed-2/struts-portlet/framework/target/classes
>>>  [javac] Compiling 17 source files to
>>>/home/apache/jakarta-jetspeed-2/struts-portlet/framework/target/classes
>>>  [javac]
>>>/home/apache/jakarta-jetspeed-2/struts-portlet/framework/src/java/org/ap
>>>ache/struts/portlet/PortletServletContextImpl.java:117: warning:
>>>getServlet(java.lang.String) in javax.servlet.ServletContext has been
>>>deprecated
>>>  [javac]         return context.getServlet(arg0);
>>>  [javac]                       ^
>>>  [javac]
>>>/home/apache/jakarta-jetspeed-2/struts-portlet/framework/src/java/org/ap
>>>ache/struts/portlet/PortletServletContextImpl.java:125: warning:
>>>getServletNames() in javax.servlet.ServletContext has been deprecated
>>>  [javac]         return context.getServletNames();
>>>  [javac]                       ^
>>>  [javac]
>>>/home/apache/jakarta-jetspeed-2/struts-portlet/framework/src/java/org/ap
>>>ache/struts/portlet/PortletServletContextImpl.java:129: warning:
>>>getServlets() in javax.servlet.ServletContext has been deprecated
>>>  [javac]         return context.getServlets();
>>>  [javac]                       ^
>>>  [javac]
>>>/home/apache/jakarta-jetspeed-2/struts-portlet/framework/src/java/org/ap
>>>ache/struts/portlet/PortletServletContextImpl.java:133: warning:
>>>log(java.lang.Exception,java.lang.String) in
>>>javax.servlet.ServletContext has been deprecated
>>>  [javac]         context.log(arg0, arg1);
>>>  [javac]                ^
>>>  [javac] 4 warnings
>>>
>>>java:jar-resources:
>>>
>>>test:prepare-filesystem:
>>>  [mkdir] Created dir:
>>>/home/apache/jakarta-jetspeed-2/struts-portlet/framework/target/test-cla
>>>sses
>>>  [mkdir] Created dir:
>>>/home/apache/jakarta-jetspeed-2/struts-portlet/framework/target/test-rep
>>>orts
>>>
>>>test:test-resources:
>>>
>>>test:compile:
>>>  [echo] No test source files to compile.
>>>
>>>test:test:
>>>dbSetup:
>>>
>>>  [echo] No tests to run.
>>>
>>>jar:jar:
>>>  [jar] Building jar:
>>>/home/apache/jakarta-jetspeed-2/struts-portlet/framework/target/struts-p
>>>ortlet-0.1.jar
>>>Copying: from
>>>'/home/apache/jakarta-jetspeed-2/struts-portlet/framework/target/struts-
>>>portlet-0.1.jar' to:
>>>'/root/.maven/repository/jetspeed2/jars/struts-portlet-0.1.jar'
>>>Copying: from
>>>'/home/apache/jakarta-jetspeed-2/struts-portlet/framework/project.xml'
>>>to: '/root/.maven/repository/jetspeed2/poms/struts-portlet-0.1.pom'
>>>Starting the reactor...
>>>Our processing order:
>>>Jetspeed-2 Core API
>>>+----------------------------------------
>>>| Build and Install the portlet commons services jar Jetspeed-2 Core API
>>>| Memory: 38M/57M
>>>+----------------------------------------
>>>Attempting to download pluto-1.0.1-SNAPSHOT.jar.
>>>Plugin 'maven-deploy-plugin' in project 'Jetspeed-2 Core API' is not
>>>available
>>>
>>>jar:install:
>>>
>>>build:end:
>>>
>>>build:start:
>>>
>>>java:prepare-filesystem:
>>>  [mkdir] Created dir:
>>>/home/apache/jakarta-jetspeed-2/jetspeed-api/target/classes
>>>
>>>java:compile:
>>>  [echo] Compiling to
>>>/home/apache/jakarta-jetspeed-2/jetspeed-api/target/classes
>>>  [javac] Compiling 103 source files to
>>>/home/apache/jakarta-jetspeed-2/jetspeed-api/target/classes
>>>  [javac]
>>>/home/apache/jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspee
>>>d/mockobjects/MockHttpServletRequest.java:26:
>>>org.apache.jetspeed.mockobjects.MockHttpServletRequest is not abstract
>>>and does not override abstract method getLocalPort() in
>>>javax.servlet.ServletRequest
>>>  [javac] public class MockHttpServletRequest implements
>>>HttpServletRequest
>>>  [javac]        ^
>>>  [javac] 1 error
>>>Total time: 2 minutes 26 seconds
>>>Finished at: Tue Jul 13 12:02:12 MDT 2004
>>>
>>>BUILD FAILED
>>>File...... /home/apache/jakarta-jetspeed-2/maven.xml
>>>Element... maven:reactor
>>>Line...... 158
>>>Column.... 40
>>>Unable to obtain goal [java:compile] --
>>>/root/.maven/cache/maven-java-plugin-1.4/plugin.jelly:53:48: 
>>><ant:javac> Compile failed; see the compiler error output for details.
>>>
>>>
>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
>>>For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org
>>>
>>>
>>>
>>>
>>>   
>>>
>>>      
>>>
>> 
>>
>>    
>>
>
>
>  
>
Maven 1.0. The jetspeed-2 worked from me from CVS just now with the 
exception of one test java file not compiling, the change to which I 
sent a minute ago.

Please re-review your build environment. One other thing to check that 
has messed me up before is occasionally some annoying installer will put 
a java.exe and/or javac.exe in your Windows\System32 directory, which is 
usually earlier on your path than your actual JDK directory.

-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