Hello 

I continue having problems to generate the JetExpress Portal Tutorial. 

I have downloaded complete bluesunrise maven2 repository  from 
http://www.bluesunrise.com/maven2/repository.zip,
and all the resources of tutorial, from http://www.bluesunrise.com/training 

But I follow without obtaining that it works.
I have attached 2 complete log files whit builds erros full trace.

Thanks again!

:: 1)
# Windows
cd \JetspeedTraining\workspace
mvn archetype:create -DarchetypeGroupId=org.apache.portals.jetspeed-2 
-DarchetypeArtifactId=portal-archetype -DarchetypeVersion=2.1-dev 
-DgroupId=org.apache.portals.tutorials -DartifactId=jetexpress -Dversion=1.0

BUILD SUCCESSFUL !, but many dependencies errors are generates 
'ReferenceException'

// ---------- init output -----------------------

[INFO] 
----------------------------------------------------------------------------
[INFO] Using following parameters for creating Archetype: 
portal-archetype:2.1-dev [INFO] 
----------------------------------------------------------------------------
[INFO] Parameter: groupId, Value: org.apache.portals.tutorials [INFO] 
Parameter: packageName, Value: org.apache.portals.tutorials [INFO] Parameter: 
basedir, Value: C:\JetspeedTraining\workspace [INFO] Parameter: package, Value: 
org.apache.portals.tutorials [INFO] Parameter: version, Value: 1.0 [INFO] 
Parameter: artifactId, Value: jetexpress [WARNING] 
org.apache.velocity.runtime.exception.ReferenceException: reference : template 
= archetype-resources/pom.xml [line 17,column 3] : $Id is not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : 
template = archetype-resources/pom.xml [line 218,column 26] : ${pom.groupId} is 
not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : 
template = archetype-resources/pom.xml [line 221,column 26] : ${pom.version} is 
not a valid reference.
[WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : 
template = archetype-resources/pom.xml [line 224,column 26] : ${pom.groupId} is 
not a valid reference.
...
...(420 more...)
...
[WARNING] org.apache.velocity.runtime.exception.ReferenceException: reference : 
template = archetype-resources/settings.xml.sample [line 60,column 67] : 
${org.apache.jetspeed.server.home} is not a valid reference.
[INFO] Archetype created in dir: C:\JetspeedTraining\workspace\jetexpress
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3 seconds
[INFO] Finished at: Thu Feb 01 09:11:36 GMT 2007 [INFO] Final Memory: 5M/10M 
[INFO] ------------------------------------------------------------------------
// ---------- end output -----------------------


:: 2)
# Windows
cd \JetspeedTraining\workspace\jetexpress        
mvn -P tomcat,min

BUILD ERROR !

// ---------- init output -----------------------

[WARNING] 
        Artifact ant:ant:jar:1.6.5:runtime retains local scope 'runtime' 
overriding broader scope 'compile'
        given by a dependency. If this is not intended, modify or remove the 
local scope.

[WARNING] 
        Artifact org.apache.maven:maven-project:jar:2.0.1:runtime retains local 
scope 'runtime' overriding broader scope 'compile'
        given by a dependency. If this is not intended, modify or remove the 
local scope.

[INFO] [antrun:run {execution: etc-schema}] [INFO] Executing tasks

clean-schema:

test-database-default-name:

test-database-filter-drops:

test-database-target-sql:

schema:
    [mkdir] Created dir: 
C:\JetspeedTraining\workspace\jetexpress\etc\target\sql\${org.apache.jetspeed.production.database.default.name}
     [copy] Copying 3 files to 
C:\JetspeedTraining\workspace\jetexpress\etc\target\sql\${org.apache.jetspeed.production.database.default.name}
     [copy] Copying C:\JetspeedTraining\workspace\jetexpress\etc\sql\drop.sql 
to 
C:\JetspeedTraining\workspace\jetexpress\etc\target\sql\${org.apache.jetspeed.production.database.default.name}\drop.sql
     [copy] Copying 
C:\JetspeedTraining\workspace\jetexpress\etc\sql\populate-db-default.sql to 
C:\JetspeedTraining\workspace\jetexpress\etc\target\sql\${org.apache.jetspeed.production.database.default.name}\populate-db-default.sql
     [copy] Copying 
C:\JetspeedTraining\workspace\jetexpress\etc\sql\populate-userinfo-for-default-psml.sql
 to 
C:\JetspeedTraining\workspace\jetexpress\etc\target\sql\${org.apache.jetspeed.production.database.default.name}\populate-userinfo-for-default-psml.sql

schema-mssql:

schema-mysql:

schema-oracle:

schema-hsql:

schema-postgres:

schema-sapdb:

schema-derby:

schema-filter-drops:
     [copy] Warning: 
C:\JetspeedTraining\workspace\jetexpress\etc\sql\${org.apache.jetspeed.production.database.default.name}
 not found.
[INFO] Executed tasks
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing C:\JetspeedTraining\workspace\jetexpress\etc\pom.xml to 
c:\JetspeedTraining\maven\repository\org\apache\portals\tutorials\portal-etc\1.0\portal-etc-1.0.pom
[INFO] [antrun:run {execution: etc-populate-production}] [INFO] Executing tasks 
...
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error executing ant tasks

Embedded error: The following error occurred while executing this line:
C:\JetspeedTraining\workspace\jetexpress\etc\build.xml:296: The following error 
occurred while executing this line:
C:\JetspeedTraining\workspace\jetexpress\etc\build.xml:280: The following error 
occurred while executing this line:
C:\JetspeedTraining\workspace\jetexpress\etc\build.xml:340: Class Not Found: 
JDBC driver ${org.apache.jetspeed.production.database.driver} could not be 
loaded [INFO] 
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch [INFO] 
------------------------------------------------------------------------
[INFO] Total time: 7 seconds
[INFO] Finished at: Thu Feb 01 09:12:38 GMT 2007 [INFO] Final Memory: 7M/14M 
[INFO] ------------------------------------------------------------------------
// ---------- end output -----------------------


 
Javier Padron
Nartex Software


-----Original Message-----
From: David Sean Taylor [mailto:[EMAIL PROTECTED]
Sent: Monday, January 29, 2007 5:46 PM
To: Jetspeed Users List
Subject: Re: Questions about JetExpress Portal Tutorial


On Jan 29, 2007, at 5:41 AM, Javier padrón wrote:

> Hello to all,
>
> I am trying to create my first custom Portal folowing the steps on 
> 'JetExpress Portal Tutorial', I see that she is a complete guide.
> But I have some doubts, and these are the following ones:
>
> 1) tomcat-express refers to tomcat with the previous installation of 
> JetSpeed 2 (default build), or is new empty tomcat, without nothing 
> installed?
>
> 2) jetspeed-2-resources.zip, where is to unzip this file, is correct 
> in c:\JetspeedTraining\resources?
>
> 3) Generating a Jetspeed Portal
> # Windows
> cd \JetspeedTraining\workspace
> mvn archetype:create -DarchetypeGroupId=org.apache.portals.jetspeed-2
>                      -DarchetypeArtifactId=portal-archetype
>                      -DarchetypeVersion=2.1-dev
>                      -DgroupId=org.apache.portals.tutorials
>                      -DartifactId=jetexpress
>                      -Dversion=1.0
>
> The folder \JetspeedTraining\workspace is empty, this is correct, buid 
> throws errors :( ?
>
>
> I have the sensation that is no complete config...
>
I copied up the resources to here:

http://www.bluesunrise.com/training





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to