You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by Javier padrón <jp...@nartexsoft.com> on 2007/01/29 14:41:26 UTC

Questions about JetExpress Portal Tutorial

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...
 
Thanks !
 

My configuration:
 
:: Folder Tree ::
c:\JetspeedTraining
c:\JetspeedTraining\maven
c:\JetspeedTraining\maven\repository
c:\JetspeedTraining\resources   (In this folder I have unziped 'http://portals.apache.org/tutorials/resources/jetspeed-2-resources.zip')
c:\JetspeedTraining\resources\applications
c:\JetspeedTraining\resources\decorations
c:\JetspeedTraining\resources\...
c:\JetspeedTraining\tomcat-express
c:\JetspeedTraining\workspace
 
:: settings.xml ::
%USERPROFILE%\.m2\settings.xml
<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/POM/4.0.0">
    <localRepository>c:/JetspeedTraining/maven/repository</localRepository>
    <profiles>
     <profile>
            <id>settings</id>
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>
            <properties>
                <!-- Jetspeed-2 deployment properties -->
                <org.apache.jetspeed.server.home>c:/JetspeedTraining/tomcat-express</org.apache.jetspeed.server.home>
                <org.apache.jetspeed.catalina.version.major>5.5</org.apache.jetspeed.catalina.version.major>
                <org.apache.jetspeed.services.autodeployment.server>localhost</org.apache.jetspeed.services.autodeployment.server>
                <org.apache.jetspeed.services.autodeployment.port>8080</org.apache.jetspeed.services.autodeployment.port>
                <org.apache.jetspeed.services.autodeployment.user>j2deployer</org.apache.jetspeed.services.autodeployment.user>
                <org.apache.jetspeed.services.autodeployment.password>j2deployer</org.apache.jetspeed.services.autodeployment.password>
                <!-- DB properties -->
                <!--
        ... Oracle 9i config...
        -->
            </properties>
        </profile>
    </profiles>
    <activeProfiles>
   <activeProfile>jetspeed-db-drivers-path</activeProfile>
    </activeProfiles>
</settings>
 
:: Buid Error ::
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
 
GroupId: org.apache.portals.jetspeed-2
ArtifactId: portal-archetype
Version: 2.1-dev
 
Reason: Unable to download the artifact from any repository
 
Try downloading the file manually from the project website.
 
Then, install it using the command:
    mvn install:install-file -DgroupId=org.apache.portals.jetspeed-2 -DartifactI
d=portal-archetype \
        -Dversion=2.1-dev -Dpackaging=jar -Dfile=/path/to/file
 

  org.apache.portals.jetspeed-2:portal-archetype:jar:2.1-dev
 
from the specified remote repositories:
  central (http://repo1.maven.org/maven2)
  
 
 
 
Thanks !!
 
Javier Padrón
Nartex Software

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


RE: Questions about JetExpress Portal Tutorial

Posted by Javier padrón <jp...@nartexsoft.com>.
Thank you David ! 

-----Original Message-----
From: David Sean Taylor [mailto:david@bluesunrise.com] 
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: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


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


Re: Questions about JetExpress Portal Tutorial

Posted by David Sean Taylor <da...@bluesunrise.com>.
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: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


RE: Questions about JetExpress Portal Tutorial

Posted by Javier padrón <jp...@nartexsoft.com>.
Thanks EVI, I am going to watch that. 

Somebody can respond the remaining doubts to me? 

Thanks again !

-----Original Message-----
From: evi [mailto:evi@evi.pri.ee] 
Sent: Monday, January 29, 2007 1:52 PM
To: 'Jetspeed Users List'
Subject: RE: Questions about JetExpress Portal Tutorial

Hi!

I cannot answer all your questions, but I send you advise I got recently:

"...Might help if you dl'ed the entire repository found here and unzipped it over your local repository:

http://www.bluesunrise.com/maven2/repository.zip..."

I also installed a new empty tomcat to tomcat-express directory.

Evi



-----Original Message-----
From: Javier padrón [mailto:jpadron@nartexsoft.com]
Sent: Monday, January 29, 2007 3:41 PM
To: Jetspeed Developers List
Cc: jetspeed-user@portals.apache.org
Subject: Questions about JetExpress Portal Tutorial

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...
 
Thanks !
 

My configuration:
 
:: Folder Tree ::
c:\JetspeedTraining
c:\JetspeedTraining\maven
c:\JetspeedTraining\maven\repository
c:\JetspeedTraining\resources   (In this folder I have unziped
'http://portals.apache.org/tutorials/resources/jetspeed-2-resources.zip')
c:\JetspeedTraining\resources\applications
c:\JetspeedTraining\resources\decorations
c:\JetspeedTraining\resources\...
c:\JetspeedTraining\tomcat-express
c:\JetspeedTraining\workspace
 
:: settings.xml ::
%USERPROFILE%\.m2\settings.xml
<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/POM/4.0.0">
    <localRepository>c:/JetspeedTraining/maven/repository</localRepository>
    <profiles>
     <profile>
            <id>settings</id>
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>
            <properties>
                <!-- Jetspeed-2 deployment properties -->
 
<org.apache.jetspeed.server.home>c:/JetspeedTraining/tomcat-express</org.apa
che.jetspeed.server.home>
 
<org.apache.jetspeed.catalina.version.major>5.5</org.apache.jetspeed.catalin
a.version.major>
 
<org.apache.jetspeed.services.autodeployment.server>localhost</org.apache.je
tspeed.services.autodeployment.server>
 
<org.apache.jetspeed.services.autodeployment.port>8080</org.apache.jetspeed.
services.autodeployment.port>
 
<org.apache.jetspeed.services.autodeployment.user>j2deployer</org.apache.jet
speed.services.autodeployment.user>
 
<org.apache.jetspeed.services.autodeployment.password>j2deployer</org.apache
.jetspeed.services.autodeployment.password>
                <!-- DB properties -->
                <!--
        ... Oracle 9i config...
        -->
            </properties>
        </profile>
    </profiles>
    <activeProfiles>
   <activeProfile>jetspeed-db-drivers-path</activeProfile>
    </activeProfiles>
</settings>
 
:: Buid Error ::
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
 
GroupId: org.apache.portals.jetspeed-2
ArtifactId: portal-archetype
Version: 2.1-dev
 
Reason: Unable to download the artifact from any repository
 
Try downloading the file manually from the project website.
 
Then, install it using the command:
    mvn install:install-file -DgroupId=org.apache.portals.jetspeed-2
-DartifactI d=portal-archetype \
        -Dversion=2.1-dev -Dpackaging=jar -Dfile=/path/to/file
 

  org.apache.portals.jetspeed-2:portal-archetype:jar:2.1-dev
 
from the specified remote repositories:
  central (http://repo1.maven.org/maven2)
  
 
 
 
Thanks !!
 
Javier Padrón
Nartex Software

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


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


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


RE: Questions about JetExpress Portal Tutorial

Posted by evi <ev...@evi.pri.ee>.
Hi!

I cannot answer all your questions, but I send you advise I got recently:

"...Might help if you dl'ed the entire repository found here and unzipped it
over your local repository:

http://www.bluesunrise.com/maven2/repository.zip..."

I also installed a new empty tomcat to tomcat-express directory.

Evi



-----Original Message-----
From: Javier padrón [mailto:jpadron@nartexsoft.com] 
Sent: Monday, January 29, 2007 3:41 PM
To: Jetspeed Developers List
Cc: jetspeed-user@portals.apache.org
Subject: Questions about JetExpress Portal Tutorial

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...
 
Thanks !
 

My configuration:
 
:: Folder Tree ::
c:\JetspeedTraining
c:\JetspeedTraining\maven
c:\JetspeedTraining\maven\repository
c:\JetspeedTraining\resources   (In this folder I have unziped
'http://portals.apache.org/tutorials/resources/jetspeed-2-resources.zip')
c:\JetspeedTraining\resources\applications
c:\JetspeedTraining\resources\decorations
c:\JetspeedTraining\resources\...
c:\JetspeedTraining\tomcat-express
c:\JetspeedTraining\workspace
 
:: settings.xml ::
%USERPROFILE%\.m2\settings.xml
<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/POM/4.0.0">
    <localRepository>c:/JetspeedTraining/maven/repository</localRepository>
    <profiles>
     <profile>
            <id>settings</id>
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>
            <properties>
                <!-- Jetspeed-2 deployment properties -->
 
<org.apache.jetspeed.server.home>c:/JetspeedTraining/tomcat-express</org.apa
che.jetspeed.server.home>
 
<org.apache.jetspeed.catalina.version.major>5.5</org.apache.jetspeed.catalin
a.version.major>
 
<org.apache.jetspeed.services.autodeployment.server>localhost</org.apache.je
tspeed.services.autodeployment.server>
 
<org.apache.jetspeed.services.autodeployment.port>8080</org.apache.jetspeed.
services.autodeployment.port>
 
<org.apache.jetspeed.services.autodeployment.user>j2deployer</org.apache.jet
speed.services.autodeployment.user>
 
<org.apache.jetspeed.services.autodeployment.password>j2deployer</org.apache
.jetspeed.services.autodeployment.password>
                <!-- DB properties -->
                <!--
        ... Oracle 9i config...
        -->
            </properties>
        </profile>
    </profiles>
    <activeProfiles>
   <activeProfile>jetspeed-db-drivers-path</activeProfile>
    </activeProfiles>
</settings>
 
:: Buid Error ::
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
 
GroupId: org.apache.portals.jetspeed-2
ArtifactId: portal-archetype
Version: 2.1-dev
 
Reason: Unable to download the artifact from any repository
 
Try downloading the file manually from the project website.
 
Then, install it using the command:
    mvn install:install-file -DgroupId=org.apache.portals.jetspeed-2
-DartifactI d=portal-archetype \
        -Dversion=2.1-dev -Dpackaging=jar -Dfile=/path/to/file
 

  org.apache.portals.jetspeed-2:portal-archetype:jar:2.1-dev
 
from the specified remote repositories:
  central (http://repo1.maven.org/maven2)
  
 
 
 
Thanks !!
 
Javier Padrón
Nartex Software

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


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