Forum Problems Installing LAMS: LAMS2 and Sakai 2.4


 
You may request notification for LAMS2 and Sakai 2.4.
Search: 

1: LAMS2 and Sakai 2.4
06/29/07 06:43 AM
[ Reply | Forward ]
I am trying to build LAMS from the CVS and get the following:

C:\sakai2_4_x\sakai-lamstwo>maven bld dlp
__  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2

Starting the reactor...
Our processing order:
sakai-lamstwo-model-api
sakai-lamstwo-logic-api
sakai-lamstwo-hbm
sakai-lamstwo-dao-impl
sakai-lamstwo-logic-impl
sakai-lamstwo-pack
Sakai Lamstwo
sakai-lamstwo-tool
+----------------------------------------
| building: sakai-lamstwo-model-api
| Memory: 21M/508M
+----------------------------------------
build:start:

sakai:build:
build:start:

sakai:sakai.build:
java:prepare-filesystem:

java:compile:
    [echo] Compiling to C:\sakai2_4_x\sakai-lamstwo\api\model/target/classes
    [echo]
==========================================================

  NOTE: Targetting JVM 1.5, classes
  will not run on earlier JVMs

==========================================================


java:jar-resources:

test:prepare-filesystem:

test:test-resources:

test:compile:
    [echo] No test source files to compile.

test:test:
    [echo] No tests to run.
Copying: from 'C:\sakai2_4_x\sakai-lamstwo\api\model\target\sakai-lamstwo-model-
api-2-4-x.jar' to: 'C:\Documents and Settings\administrator.TECHNOLOGY\.maven\re
pository\sakaiproject\jars\sakai-lamstwo-model-api-2-4-x.jar'
Copying: from 'C:\sakai2_4_x\sakai-lamstwo\api\model\project.xml' to: 'C:\Docume
nts and Settings\administrator.TECHNOLOGY\.maven\repository\sakaiproject\poms\sa
kai-lamstwo-model-api-2-4-x.pom'
+----------------------------------------
| building: sakai-lamstwo-logic-api
| Memory: 7M/508M
+----------------------------------------

jar:jar:

jar:install:


build:end:

build:start:

sakai:sakai.build:
java:prepare-filesystem:

java:compile:
    [echo] Compiling to C:\sakai2_4_x\sakai-lamstwo\api\logic/target/classes
    [echo]
==========================================================

  NOTE: Targetting JVM 1.5, classes
  will not run on earlier JVMs

==========================================================


java:jar-resources:

test:prepare-filesystem:

test:test-resources:

test:compile:
    [echo] No test source files to compile.

test:test:
    [echo] No tests to run.
Copying: from 'C:\sakai2_4_x\sakai-lamstwo\api\logic\target\sakai-lamstwo-logic-
api-2-4-x.jar' to: 'C:\Documents and Settings\administrator.TECHNOLOGY\.maven\re
pository\sakaiproject\jars\sakai-lamstwo-logic-api-2-4-x.jar'
Copying: from 'C:\sakai2_4_x\sakai-lamstwo\api\logic\project.xml' to: 'C:\Docume
nts and Settings\administrator.TECHNOLOGY\.maven\repository\sakaiproject\poms\sa
kai-lamstwo-logic-api-2-4-x.pom'
+----------------------------------------
| building: sakai-lamstwo-hbm
| Memory: 14M/508M
+----------------------------------------

jar:jar:

jar:install:


build:end:

build:start:

sakai:sakai.build:
java:prepare-filesystem:

java:compile:
    [echo] Compiling to C:\sakai2_4_x\sakai-lamstwo\impl\hbm/target/classes
    [echo]
==========================================================

  NOTE: Targetting JVM 1.5, classes
  will not run on earlier JVMs

==========================================================


java:jar-resources:

test:prepare-filesystem:

test:test-resources:

test:compile:
    [echo] No test source files to compile.

test:test:
    [echo] No tests to run.
Copying: from 'C:\sakai2_4_x\sakai-lamstwo\impl\hbm\target\sakai-lamstwo-hbm-2-4
-x.jar' to: 'C:\Documents and Settings\administrator.TECHNOLOGY\.maven\repositor
y\sakaiproject\jars\sakai-lamstwo-hbm-2-4-x.jar'
Copying: from 'C:\sakai2_4_x\sakai-lamstwo\impl\hbm\project.xml' to: 'C:\Documen
ts and Settings\administrator.TECHNOLOGY\.maven\repository\sakaiproject\poms\sak
ai-lamstwo-hbm-2-4-x.pom'
+----------------------------------------
| building: sakai-lamstwo-dao-impl
| Memory: 21M/508M
+----------------------------------------

jar:jar:

jar:install:


build:end:

build:start:

sakai:sakai.build:
java:prepare-filesystem:

java:compile:
    [echo] Compiling to C:\sakai2_4_x\sakai-lamstwo\impl\dao/target/classes
    [echo]
==========================================================

  NOTE: Targetting JVM 1.5, classes
  will not run on earlier JVMs

==========================================================


java:jar-resources:

test:prepare-filesystem:

test:test-resources:

test:compile:
    [javac] Compiling 1 source file to C:\sakai2_4_x\sakai-lamstwo\impl\dao\targ
et\test-classes
C:\sakai2_4_x\sakai-lamstwo\impl\dao\src\test\org\lamsfoundation\lams\integratio
ns\sakai\dao\test\LamstwoDaoImplTest.java:55: cannot find symbol
symbol  : constructor LamstwoItem(java.lang.String,java.lang.String,java.lang.St
ring,java.lang.String,java.lang.Boolean,java.util.Date)
location: class org.lamsfoundation.lams.integrations.sakai.model.LamstwoItem
                item = new LamstwoItem(ITEM_TITLE, ITEM_INTRODUCTION,ITEM_OWNER,
ITEM_SITE, ITEM_HIDDEN, new Date());
                      ^
C:\sakai2_4_x\sakai-lamstwo\impl\dao\src\test\org\lamsfoundation\lams\integratio
ns\sakai\dao\test\LamstwoDaoImplTest.java:90: cannot find symbol
symbol  : constructor LamstwoItem(java.lang.String,java.lang.String,java.lang.St
ring,java.lang.String,java.lang.Boolean,java.util.Date)
location: class org.lamsfoundation.lams.integrations.sakai.model.LamstwoItem
                LamstwoItem item1 = new LamstwoItem("New item1", ITEM_INTRODUCTI
ON, ITEM_OWNER, ITEM_SITE, ITEM_HIDDEN, new Date());
                                    ^
2 errors

BUILD FAILED
File...... C:\Documents and Settings\administrator.TECHNOLOGY\.maven\cache\sakai
-2.2\plugin.jelly
Element... maven:reactor
Line...... 34
Column.... 6
Unable to obtain goal [sakai:sakai.build] -- C:\Documents and Settings\administr
ator.TECHNOLOGY\.maven\cache\maven-test-plugin-1.6.2\plugin.jelly:52:46: <javac>
Compile failed; see the compiler error output for details.
Total time: 7 seconds
Finished at: Fri Jun 29 13:45:35 BST 2007

C:\sakai2_4_x\sakai-lamstwo>


Can someone give me a hint as to how to get this working

Thanks

Bill

Posted by bill steele

2: Re: LAMS2 and Sakai 2.4
In response to 1 07/08/07 06:33 PM
[ Reply | Forward ]
Hi Bill,

Please add the following lines to your build.properties file.

maven.test.failure.ignore=true
maven.test.skip=true

In the future we will either remove the unit tests or update them so that this won't be necessary.

Anthony

Posted by Anthony Sukkar

3: Re: Re: LAMS2 and Sakai 2.4
In response to 2 09/18/07 12:28 PM
[ Reply | Forward ]
Anthony,

I was having the same problem, that build.properties line should be added to the installation wiki.

Thanks a lot!
Alan

Posted by Alan Hummel

4: Re: Re: Re: LAMS2 and Sakai 2.4
In response to 3 09/18/07 01:34 PM
[ Reply | Forward ]
Actually it only worked on Sakai 2.3... Sakai 2.4 generates the following:
+----------------------------------------
| building: sakai-lamstwo-logic-api
| Memory: 8M/9M
+----------------------------------------
Attempting to download generic-dao-0.9.jar.
170K downloaded
Attempting to download sakai-entity-api-2.4.0.jar.
WARNING: Failed to download sakai-entity-api-2.4.0.jar.

BUILD FAILED
File...... /root/.maven/cache/sakai-2.2/plugin.jelly
Element... maven:reactor
Line...... 34
Column.... 6
The build cannot continue because of the following unsatisfied dependency:

sakai-entity-api-2.4.0.jar

Total time: 1 minutes 0 seconds
Finished at: Tue Sep 18 15:55:09 BRT 2007

root@Coruscant:/home/ahummel/sakai/2.4/sakai-src/sakai-lamstwo#

Any tips on this one?

Posted by Alan Hummel

5: Re: Re: Re: Re: LAMS2 and Sakai 2.4
In response to 4 09/18/07 04:26 PM
[ Reply | Forward ]
Nevermind my previous post, all I had to do was to clean up the ~/.maven/ cache before starting over.

Everything worked great.

Thanks again!

Posted by Alan Hummel

Reply to first post on this page
Back to Problems Installing LAMS