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 Mansour <ma...@yahoo.com> on 2007/08/06 17:46:55 UTC

No learning progress

I have been already trying to learn jetspeed for more than 2 weeks. I 
give up, then I go back because it's the only framework that has what I 
need. The documentation sucks. Honestly, I regret the time I have 
wasted, it would have been easier for me to write my own security layer 
for roles/groups management. The documents sometimes instruct you to use 
maven-1 and then switches to maven-2. And worse, none of the instruction 
works.

I tried the installer for jetspeed-2 and it works fine. But a lot of 
things that I don't need and frustrated about. What are all these 
directories. I don't want an embeded tomcat. I need to understand how to 
deploy jetspeed and customize it. Then I will dive into how to add my 
own portlets.


The last thing I was trying to do is following this page 
http://portals.apache.org/jetspeed-2/getting-started-binary.html

I created a directory ~/workspace/jetspeed. And put in that directory 
build.properties , which contains:

basedir = ~/workspace/myportal
maven.repo.remote = http://www.bluesunrise.com/maven/, 
http://www.ibiblio.org/maven/, http://dist.codehaus.org/, 
http://cvs.apache.org/repository



then, when I ran: maven j2:portal.genapp , I get:

BUILD FAILED
File...... 
/home/mansour/.maven/cache/maven-jetspeed2-plugin-2.1.2/plugin.jelly
Element... fail
Line...... 735
Column.... 42
Required property org.apache.jetspeed.server.home undefined. See 
http://portals.apache.org/jetspeed-2/getting-started.html.
Total time: 2 seconds
Finished at: Mon Aug 06 12:44:02 ADT 2007

Is there a clean place to learn about Jetspeed-2 other than the docs.





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


JetSpeed2 Installation Problem

Posted by "Redman, Greg" <gr...@nasa.gov>.
I'm receiving the following error while trying to install the
jetspeed-2.1.2-demo-installer.jar on a Windows 2003 Server box.  I
receive the "Finished" pop-up box.  When I click "OK", I receive another
pop-up box saying;

Install Failed
Error running the install.  The following error occurred while executing
this line:
E:\Apache\Jetspeed-2.1.2\database\build.xml:133:
com.microsoft.sqlserver.jdbc.SQLServerException: Introducing FOREIGN KEY
constraint 'FK_FOLDER_1' on table 'FOLDER' may cause cycles or multiple
cascade paths.  

build.xml:132-133
    <sql driver="${_jdbc.driver.class}" url="${_jdbc.url}"
userid="${_db.username}" password="${_db.password}"
      src="${basedir}/${db.type}/phase2-schema.sql" print="yes"
output="setup.log">

Here's the last error from the GUI "Errors" tab;

      [sql]   BEGIN ALTER TABLE FOLDER ADD CONSTRAINT FK_FOLDER_1
FOREIGN KEY (PARENT_ID) REFERENCES FOLDER (FOLDER_ID) ON DELETE CASCADE
END


Any help would be greatly appreciated!

Greg

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


Re: No learning progress

Posted by David Sean Taylor <da...@bluesunrise.com>.
I agree we should address the documentation situation, such as  
yanking the Maven-1 build instructions for custom builds
I will start a new thread on the dev list to discuss a solution  
amongst the developers, thanks

On Aug 7, 2007, at 10:01 PM, Ron Wheeler wrote:

> I agree with you. There is a constant tension between users who are  
> already committed to an open source product and want new features  
> to solve particular problems that they have run into, with those  
> who are just getting started and need to get the application  
> running using the installation documentation and need to gain an  
> understanding about how to build their application from the  
> distributed package.
>
> Being in the second class, I am trying to add a newcomers  
> perspective to the documentation and to improve the installation  
> and customization docs.
>
> If you want to help, we could certainly use another eye on the  
> documentation to ensure that it meets the needs of those who are  
> just starting out.
>
> Let David know if you want to help. Unfortunately, we are strong on  
> enthusiasm and weak on knowledge so most of the heavy lifting is  
> falling on David who also needs to make a living while helping the  
> rest of us.
>
> If you have a budget for your project, you might also think about  
> giving him a contract to help you out or to build an initial  
> configuration that works.
>
> Ron
>
> Mansour wrote:
>> Brice Lambi wrote:
>>> I agree that the builds are not being managed very well right  
>>> now.  I cannot
>>> build 2.1.2 (java.lang.UnsupportedClassVersionError) but I can build
>>> 2.1just fine.  I think some of your problem may be your lack of
>>> understanding
>>> of maven.  I told you to run 'mvn' to install to the local  
>>> repository which
>>> would have solved your dependency resolution errors in your  
>>> earlier emails.
>>> As a beginner don't bother trying to generate your own custom  
>>> portal, the
>>> jetspeed maven2 plugin is not reliable enough for someone who is  
>>> new to
>>> maven.
>>>
>>> Try jetspeed-2.1 and simply run 'mvn' then 'mvn -P tomcat' with your
>>> relevant info in ~/.m2/settings.xml and see if you can get it  
>>> working.  Once
>>> you have that figured out generating a custom portal might be  
>>> easier.
>>>
>>> This is an open source project, you get what you pay for.
>> And, nope. I don't always get what I a pay for. DO you? I paid a  
>> lot of money for MS vista and never got anything back.
>>
>>>  If you need
>>> better support I would suggest trying websphere or something that  
>>> you can
>>> buy commercial support for.
>>>
>> Is this true?
>> Because it's an open source, I am expecting support before any  
>> thing. By saying support I mean "documentation".
>>
>>
>> ---------------------------------------------------------------------
>> 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
>
>

-- 
David Sean Taylor
Bluesunrise Software
david@bluesunrise.com
[office] +01 707 773-4646
[mobile] +01 707 529 9194



Re: No learning progress

Posted by Ron Wheeler <rw...@artifact-software.com>.
I agree with you. There is a constant tension between users who are 
already committed to an open source product and want new features to 
solve particular problems that they have run into, with those who are 
just getting started and need to get the application running using the 
installation documentation and need to gain an understanding about how 
to build their application from the distributed package.

Being in the second class, I am trying to add a newcomers perspective to 
the documentation and to improve the installation and customization docs.

If you want to help, we could certainly use another eye on the 
documentation to ensure that it meets the needs of those who are just 
starting out.

Let David know if you want to help. Unfortunately, we are strong on 
enthusiasm and weak on knowledge so most of the heavy lifting is falling 
on David who also needs to make a living while helping the rest of us.

If you have a budget for your project, you might also think about giving 
him a contract to help you out or to build an initial configuration that 
works.

Ron

Mansour wrote:
> Brice Lambi wrote:
>> I agree that the builds are not being managed very well right now.  I 
>> cannot
>> build 2.1.2 (java.lang.UnsupportedClassVersionError) but I can build
>> 2.1just fine.  I think some of your problem may be your lack of
>> understanding
>> of maven.  I told you to run 'mvn' to install to the local repository 
>> which
>> would have solved your dependency resolution errors in your earlier 
>> emails.
>> As a beginner don't bother trying to generate your own custom portal, 
>> the
>> jetspeed maven2 plugin is not reliable enough for someone who is new to
>> maven.
>>
>> Try jetspeed-2.1 and simply run 'mvn' then 'mvn -P tomcat' with your
>> relevant info in ~/.m2/settings.xml and see if you can get it 
>> working.  Once
>> you have that figured out generating a custom portal might be easier.
>>
>> This is an open source project, you get what you pay for. 
> And, nope. I don't always get what I a pay for. DO you? I paid a lot 
> of money for MS vista and never got anything back.
>
>>  If you need
>> better support I would suggest trying websphere or something that you 
>> can
>> buy commercial support for.
>>   
> Is this true?
> Because it's an open source, I am expecting support before any thing. 
> By saying support I mean "documentation".
>
>
> ---------------------------------------------------------------------
> 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: No learning progress

Posted by Mansour <ma...@yahoo.com>.
Brice Lambi wrote:
> I agree that the builds are not being managed very well right now.  I cannot
> build 2.1.2 (java.lang.UnsupportedClassVersionError) but I can build
> 2.1just fine.  I think some of your problem may be your lack of
> understanding
> of maven.  I told you to run 'mvn' to install to the local repository which
> would have solved your dependency resolution errors in your earlier emails.
> As a beginner don't bother trying to generate your own custom portal, the
> jetspeed maven2 plugin is not reliable enough for someone who is new to
> maven.
>
> Try jetspeed-2.1 and simply run 'mvn' then 'mvn -P tomcat' with your
> relevant info in ~/.m2/settings.xml and see if you can get it working.  Once
> you have that figured out generating a custom portal might be easier.
>
> This is an open source project, you get what you pay for. 
 And, nope. I don't always get what I a pay for. DO you? I paid a lot of 
money for MS vista and never got anything back.

>  If you need
> better support I would suggest trying websphere or something that you can
> buy commercial support for.
>   
Is this true?
Because it's an open source, I am expecting support before any thing. By 
saying support I mean "documentation".


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


Re: No learning progress

Posted by David Sean Taylor <da...@bluesunrise.com>.
I spent most of the day updating the Ant/Eclipse Tutorial for 2.1.2.
Ron Wheeler and David Dyer are helping write tutorial

http://people.apache.org/~taylor/tutorial/docs/site/index.html

Note this is a work in progress, only sections "01" and "Reference"  
are valid.
Section "02"-"06" are still under construction.
Section 01 should get you through getting a simple custom project up  
and running
Please give it a try and see how it works for you.

Thanks



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


Re: [Bulk] Re: No learning progress

Posted by Mansour <ma...@yahoo.com>.
I used the 2.1.2 and downloaded the whole repo for this reason but out 
of luck.


Brice Lambi wrote:
> Actually, that was my mistake.  I can build 2.1.2 just fine, I was using the
> wrong version of jdbc driver.  You should have no trouble with 2.1.2.  I'm
> still having problems with generating a custom portal, I usually need to
> edit some of the ant build files manually to get it to work.  So keep
> trying, its really not that complicated once you get the hang of it.
>
>
>
> On 8/7/07, Brice Lambi <la...@gmail.com> wrote:
>   
>> I agree that the builds are not being managed very well right now.  I
>> cannot build 2.1.2 (java.lang.UnsupportedClassVersionError) but I can
>> build 2.1 just fine.  I think some of your problem may be your lack of
>> understanding of maven.  I told you to run 'mvn' to install to the local
>> repository which would have solved your dependency resolution errors in your
>> earlier emails.  As a beginner don't bother trying to generate your own
>> custom portal, the jetspeed maven2 plugin is not reliable enough for someone
>> who is new to maven.
>>
>> Try jetspeed-2.1 and simply run 'mvn' then 'mvn -P tomcat' with your
>> relevant info in ~/.m2/settings.xml and see if you can get it working.  Once
>> you have that figured out generating a custom portal might be easier.
>>
>> This is an open source project, you get what you pay for.  If you need
>> better support I would suggest trying websphere or something that you can
>> buy commercial support for.
>>
>>
>>
>> On 8/7/07, Mansour <ma...@yahoo.com> wrote:
>>     
>>> here's the next greating I am getting:
>>>
>>>
>>> [INFO] artifact org.apache.maven.plugins:maven-site-plugin: checking for
>>> updates from com.bluesunrise.m2
>>> [INFO] artifact org.apache.maven.plugins:maven-site-plugin: checking for
>>> updates from central
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR] BUILD ERROR
>>> [INFO]
>>> ------------------------------------------------------------------------
>>>
>>> [INFO] The plugin 'org.apache.maven.plugins:maven-site-plugin' does not
>>> exist or no valid version could be found
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] For more information, run Maven with the -e switch
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Total time: 2 seconds
>>> [INFO] Finished at: Tue Aug 07 07:40:31 ADT 2007
>>> [INFO] Final Memory: 2M/4M
>>> [INFO]
>>> ------------------------------------------------------------------------
>>>
>>>
>>>
>>> If the tutorial is out of date, what are they waiting for in apache
>>> portals. Do we have to through all this to get a simple thing working.
>>>
>>>
>>> Sugarman, Duke wrote:
>>>       
>>>> The tutorial is not working because it is out of date.  It would be
>>>>         
>>> nice
>>>       
>>>> if someone at Apache portals could work on this because it is
>>>> frustrating many people.
>>>>
>>>> Put the following in your settings.xml file (e.g., before the
>>>>         
>>> <profiles>
>>>       
>>>> tag) and try again:
>>>>
>>>>       <mirrors>
>>>>         <mirror>
>>>>           <id>central.mirror</id>
>>>>           <name>Mirror http://repo1.maven.org/maven2/ </name>
>>>>           <url>http://www.bluesunrise.com/maven2</url>
>>>>           <mirrorOf>central</mirrorOf>
>>>>         </mirror>
>>>>       </mirrors>
>>>>
>>>> -----Original Message-----
>>>> From: Mansour [mailto:mansour77@yahoo.com]
>>>> Sent: Monday, August 06, 2007 8:16 PM
>>>> To: Jetspeed Users List
>>>> Subject: Re: No learning progress
>>>>
>>>> That's what I am getting now:
>>>>
>>>> [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
>>>> -DartifactId=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)
>>>>
>>>>
>>>>
>>>> A quick google gave me this:
>>>>
>>>>         
>>> http://www.mail-archive.com/jetspeed-user@portals.apache.org/msg05654.ht
>>>       
>>>> ml
>>>> so I downloaded repository.zip and extracted it.
>>>>
>>>> The problem I faced is when doing:
>>>> mvn -P tomcat,min
>>>>
>>>> I get the following:
>>>> deploy-shared-components:
>>>> [INFO]
>>>>
>>>>         
>>> ------------------------------------------------------------------------
>>>       
>>>> [ERROR] BUILD ERROR
>>>> [INFO]
>>>>
>>>>         
>>> ------------------------------------------------------------------------
>>>       
>>>> [INFO] Error executing ant tasks
>>>>
>>>> Embedded error: The following error occurred while executing this
>>>>         
>>> line:
>>>       
>>>> /home/mansour/workspace/Jetspeed/jetexpress/app-servers/build.xml:89:
>>>> The following error occurred while executing this line:
>>>> /home/mansour/workspace/Jetspeed/jetexpress/app-servers/build.xml:145:
>>>> The following error occurred while executing this line:
>>>> /home/mansour/workspace/Jetspeed/jetexpress/app-servers/tomcat-
>>>>         
>>> build.xml
>>>       
>>>> :88:
>>>> The following error occurred while executing this line:
>>>> /home/mansour/workspace/Jetspeed/jetexpress/app-servers/tomcat-
>>>>         
>>> build.xml
>>>       
>>>> :278:
>>>> /opt/tomcat/shared/lib not found.
>>>> [INFO]
>>>>
>>>>         
>>> ------------------------------------------------------------------------
>>>       
>>>> [INFO] For more information, run Maven with the -e switch
>>>> [INFO]
>>>>
>>>>         
>>> ------------------------------------------------------------------------
>>>       
>>>> [INFO] Total time: 28 seconds
>>>> [INFO] Finished at: Mon Aug 06 20:09:08 ADT 2007
>>>> [INFO] Final Memory: 25M/46M
>>>> [INFO]
>>>>
>>>>         
>>> ------------------------------------------------------------------------
>>>       
>>>> What do I need to edit. I tried editing the path to the derby jar in
>>>> ~/.m2/settings.xml. Still did not help.
>>>>
>>>>
>>>>
>>>>
>>>> Brice Lambi wrote:
>>>>
>>>>         
>>>>> That file is at the maven project root of the source
>>>>>           
>>> distribution.  it
>>>       
>>>> looks
>>>>
>>>>         
>>>>> like they have 2.1.2-src packaged a little funny, there is a src dir
>>>>>
>>>>>           
>>>> under
>>>>
>>>>         
>>>>> the root and that is the maven project root.
>>>>>
>>>>>
>>>>> On 8/6/07, Mansour <ma...@yahoo.com> wrote:
>>>>>
>>>>>
>>>>>           
>>>>>> Thank you for you reply. I couldn't manage to obtain
>>>>>> settings.xml.sample. Where Do I find it?
>>>>>>
>>>>>>
>>>>>> Brice Lambi wrote:
>>>>>>
>>>>>>
>>>>>>             
>>>>>>> I understand the transistion between maven 1 and 2 is confusing.  I
>>>>>>>               
>>>>>>>               
>>>>>> would
>>>>>>
>>>>>>
>>>>>>             
>>>>>>> suggest only using maven2 and the info you find here:
>>>>>>>
>>>>>>> http://portals.apache.org/tutorials/jetspeed-2/
>>>>>>>
>>>>>>> It is really simple, copy settings.xml.sample to ~/.m2/settings.xml
>>>>>>>
>>>>>>>               
>>>> and
>>>>
>>>>         
>>>>>>>               
>>>>>> edit
>>>>>>
>>>>>>
>>>>>>             
>>>>>>> the relevant values.  Then simply run 'mvn' to install to your
>>>>>>>               
>>> local
>>>       
>>>>>>> repository and 'mvn -P tomcat' to deploy to tomcat.  At first don't
>>>>>>>               
>>>>>>>               
>>>>>> bother
>>>>>>
>>>>>>
>>>>>>             
>>>>>>> with generating a custom portal, just deploy the default and you
>>>>>>>               
>>> can
>>>       
>>>>>>>               
>>>>>> make
>>>>>>
>>>>>>
>>>>>>             
>>>>>>> changes from there.
>>>>>>>
>>>>>>> Good luck.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On 8/6/07, Mansour < mansour77@yahoo.com> wrote:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>               
>>>>>>>> I have been already trying to learn jetspeed for more than 2
>>>>>>>>                 
>>> weeks.
>>>       
>>>> I
>>>>
>>>>         
>>>>>>>> give up, then I go back because it's the only framework that has
>>>>>>>>
>>>>>>>>                 
>>>> what I
>>>>
>>>>         
>>>>>>>> need. The documentation sucks. Honestly, I regret the time I have
>>>>>>>> wasted, it would have been easier for me to write my own security
>>>>>>>>
>>>>>>>>                 
>>>> layer
>>>>
>>>>         
>>>>>>>> for roles/groups management. The documents sometimes instruct you
>>>>>>>>
>>>>>>>>                 
>>>> to
>>>>
>>>>         
>>>>>>>>                 
>>>>>> use
>>>>>>
>>>>>>
>>>>>>             
>>>>>>>> maven-1 and then switches to maven-2. And worse, none of the
>>>>>>>>
>>>>>>>>
>>>>>>>>                 
>>>>>> instruction
>>>>>>
>>>>>>
>>>>>>             
>>>>>>>> works.
>>>>>>>>
>>>>>>>> I tried the installer for jetspeed-2 and it works fine. But a lot
>>>>>>>>
>>>>>>>>                 
>>>> of
>>>>
>>>>         
>>>>>>>> things that I don't need and frustrated about. What are all these
>>>>>>>> directories. I don't want an embeded tomcat. I need to understand
>>>>>>>>
>>>>>>>>                 
>>>> how
>>>>
>>>>         
>>>>>>>>                 
>>>>>> to
>>>>>>
>>>>>>
>>>>>>             
>>>>>>>> deploy jetspeed and customize it. Then I will dive into how to add
>>>>>>>>                 
>>>> my
>>>>
>>>>         
>>>>>>>> own portlets.
>>>>>>>>
>>>>>>>>
>>>>>>>> The last thing I was trying to do is following this page
>>>>>>>> http://portals.apache.org/jetspeed-2/getting-started-binary.html
>>>>>>>>
>>>>>>>> I created a directory ~/workspace/jetspeed. And put in that
>>>>>>>>
>>>>>>>>                 
>>>> directory
>>>>
>>>>         
>>>>>>>> build.properties , which contains:
>>>>>>>>
>>>>>>>> basedir = ~/workspace/myportal
>>>>>>>> maven.repo.remote = http://www.bluesunrise.com/maven/,
>>>>>>>> http://www.ibiblio.org/maven/, http://dist.codehaus.org/,
>>>>>>>> http://cvs.apache.org/repository
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> then, when I ran: maven j2: portal.genapp , I get:
>>>>>>>>
>>>>>>>> BUILD FAILED
>>>>>>>> File......
>>>>>>>>
>>>>>>>>
>>>>>>>>                 
>>>> /home/mansour/.maven/cache/maven-jetspeed2-plugin-2.1.2 /plugin.jelly
>>>>
>>>>         
>>>>>>>> Element... fail
>>>>>>>> Line...... 735
>>>>>>>> Column.... 42
>>>>>>>> Required property org.apache.jetspeed.server.home undefined. See
>>>>>>>> http://portals.apache.org/jetspeed-2/getting-started.html.
>>>>>>>> Total time: 2 seconds
>>>>>>>> Finished at: Mon Aug 06 12:44:02 ADT 2007
>>>>>>>>
>>>>>>>> Is there a clean place to learn about Jetspeed-2 other than the
>>>>>>>>
>>>>>>>>                 
>>>> docs.
>>>>
>>>>         
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>                 
>>>> ---------------------------------------------------------------------
>>>>
>>>>         
>>>>>>>> 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
>>>>         
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> 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: No learning progress

Posted by Brice Lambi <la...@gmail.com>.
Actually, that was my mistake.  I can build 2.1.2 just fine, I was using the
wrong version of jdbc driver.  You should have no trouble with 2.1.2.  I'm
still having problems with generating a custom portal, I usually need to
edit some of the ant build files manually to get it to work.  So keep
trying, its really not that complicated once you get the hang of it.



On 8/7/07, Brice Lambi <la...@gmail.com> wrote:
>
> I agree that the builds are not being managed very well right now.  I
> cannot build 2.1.2 (java.lang.UnsupportedClassVersionError) but I can
> build 2.1 just fine.  I think some of your problem may be your lack of
> understanding of maven.  I told you to run 'mvn' to install to the local
> repository which would have solved your dependency resolution errors in your
> earlier emails.  As a beginner don't bother trying to generate your own
> custom portal, the jetspeed maven2 plugin is not reliable enough for someone
> who is new to maven.
>
> Try jetspeed-2.1 and simply run 'mvn' then 'mvn -P tomcat' with your
> relevant info in ~/.m2/settings.xml and see if you can get it working.  Once
> you have that figured out generating a custom portal might be easier.
>
> This is an open source project, you get what you pay for.  If you need
> better support I would suggest trying websphere or something that you can
> buy commercial support for.
>
>
>
> On 8/7/07, Mansour <ma...@yahoo.com> wrote:
> >
> > here's the next greating I am getting:
> >
> >
> > [INFO] artifact org.apache.maven.plugins:maven-site-plugin: checking for
> > updates from com.bluesunrise.m2
> > [INFO] artifact org.apache.maven.plugins:maven-site-plugin: checking for
> > updates from central
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD ERROR
> > [INFO]
> > ------------------------------------------------------------------------
> >
> > [INFO] The plugin 'org.apache.maven.plugins:maven-site-plugin' does not
> > exist or no valid version could be found
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] For more information, run Maven with the -e switch
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 2 seconds
> > [INFO] Finished at: Tue Aug 07 07:40:31 ADT 2007
> > [INFO] Final Memory: 2M/4M
> > [INFO]
> > ------------------------------------------------------------------------
> >
> >
> >
> > If the tutorial is out of date, what are they waiting for in apache
> > portals. Do we have to through all this to get a simple thing working.
> >
> >
> > Sugarman, Duke wrote:
> > > The tutorial is not working because it is out of date.  It would be
> > nice
> > > if someone at Apache portals could work on this because it is
> > > frustrating many people.
> > >
> > > Put the following in your settings.xml file (e.g., before the
> > <profiles>
> > > tag) and try again:
> > >
> > >       <mirrors>
> > >         <mirror>
> > >           <id>central.mirror</id>
> > >           <name>Mirror http://repo1.maven.org/maven2/ </name>
> > >           <url>http://www.bluesunrise.com/maven2</url>
> > >           <mirrorOf>central</mirrorOf>
> > >         </mirror>
> > >       </mirrors>
> > >
> > > -----Original Message-----
> > > From: Mansour [mailto:mansour77@yahoo.com]
> > > Sent: Monday, August 06, 2007 8:16 PM
> > > To: Jetspeed Users List
> > > Subject: Re: No learning progress
> > >
> > > That's what I am getting now:
> > >
> > > [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
> > > -DartifactId=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)
> > >
> > >
> > >
> > > A quick google gave me this:
> > >
> > http://www.mail-archive.com/jetspeed-user@portals.apache.org/msg05654.ht
> > > ml
> > > so I downloaded repository.zip and extracted it.
> > >
> > > The problem I faced is when doing:
> > > mvn -P tomcat,min
> > >
> > > I get the following:
> > > deploy-shared-components:
> > > [INFO]
> > >
> > ------------------------------------------------------------------------
> > > [ERROR] BUILD ERROR
> > > [INFO]
> > >
> > ------------------------------------------------------------------------
> > > [INFO] Error executing ant tasks
> > >
> > > Embedded error: The following error occurred while executing this
> > line:
> > > /home/mansour/workspace/Jetspeed/jetexpress/app-servers/build.xml:89:
> > > The following error occurred while executing this line:
> > > /home/mansour/workspace/Jetspeed/jetexpress/app-servers/build.xml:145:
> > > The following error occurred while executing this line:
> > > /home/mansour/workspace/Jetspeed/jetexpress/app-servers/tomcat-
> > build.xml
> > > :88:
> > > The following error occurred while executing this line:
> > > /home/mansour/workspace/Jetspeed/jetexpress/app-servers/tomcat-
> > build.xml
> > > :278:
> > > /opt/tomcat/shared/lib not found.
> > > [INFO]
> > >
> > ------------------------------------------------------------------------
> > > [INFO] For more information, run Maven with the -e switch
> > > [INFO]
> > >
> > ------------------------------------------------------------------------
> > > [INFO] Total time: 28 seconds
> > > [INFO] Finished at: Mon Aug 06 20:09:08 ADT 2007
> > > [INFO] Final Memory: 25M/46M
> > > [INFO]
> > >
> > ------------------------------------------------------------------------
> > >
> > > What do I need to edit. I tried editing the path to the derby jar in
> > > ~/.m2/settings.xml. Still did not help.
> > >
> > >
> > >
> > >
> > > Brice Lambi wrote:
> > >
> > >> That file is at the maven project root of the source
> > distribution.  it
> > >>
> > > looks
> > >
> > >> like they have 2.1.2-src packaged a little funny, there is a src dir
> > >>
> > > under
> > >
> > >> the root and that is the maven project root.
> > >>
> > >>
> > >> On 8/6/07, Mansour <ma...@yahoo.com> wrote:
> > >>
> > >>
> > >>> Thank you for you reply. I couldn't manage to obtain
> > >>> settings.xml.sample. Where Do I find it?
> > >>>
> > >>>
> > >>> Brice Lambi wrote:
> > >>>
> > >>>
> > >>>> I understand the transistion between maven 1 and 2 is confusing.  I
> >
> > >>>>
> > >>>>
> > >>> would
> > >>>
> > >>>
> > >>>> suggest only using maven2 and the info you find here:
> > >>>>
> > >>>> http://portals.apache.org/tutorials/jetspeed-2/
> > >>>>
> > >>>> It is really simple, copy settings.xml.sample to ~/.m2/settings.xml
> > >>>>
> > > and
> > >
> > >>>>
> > >>>>
> > >>> edit
> > >>>
> > >>>
> > >>>> the relevant values.  Then simply run 'mvn' to install to your
> > local
> > >>>> repository and 'mvn -P tomcat' to deploy to tomcat.  At first don't
> >
> > >>>>
> > >>>>
> > >>> bother
> > >>>
> > >>>
> > >>>> with generating a custom portal, just deploy the default and you
> > can
> > >>>>
> > >>>>
> > >>> make
> > >>>
> > >>>
> > >>>> changes from there.
> > >>>>
> > >>>> Good luck.
> > >>>>
> > >>>>
> > >>>>
> > >>>> On 8/6/07, Mansour < mansour77@yahoo.com> wrote:
> > >>>>
> > >>>>
> > >>>>
> > >>>>> I have been already trying to learn jetspeed for more than 2
> > weeks.
> > >>>>>
> > > I
> > >
> > >>>>> give up, then I go back because it's the only framework that has
> > >>>>>
> > > what I
> > >
> > >>>>> need. The documentation sucks. Honestly, I regret the time I have
> > >>>>> wasted, it would have been easier for me to write my own security
> > >>>>>
> > > layer
> > >
> > >>>>> for roles/groups management. The documents sometimes instruct you
> > >>>>>
> > > to
> > >
> > >>>>>
> > >>>>>
> > >>> use
> > >>>
> > >>>
> > >>>>> maven-1 and then switches to maven-2. And worse, none of the
> > >>>>>
> > >>>>>
> > >>> instruction
> > >>>
> > >>>
> > >>>>> works.
> > >>>>>
> > >>>>> I tried the installer for jetspeed-2 and it works fine. But a lot
> > >>>>>
> > > of
> > >
> > >>>>> things that I don't need and frustrated about. What are all these
> > >>>>> directories. I don't want an embeded tomcat. I need to understand
> > >>>>>
> > > how
> > >
> > >>>>>
> > >>>>>
> > >>> to
> > >>>
> > >>>
> > >>>>> deploy jetspeed and customize it. Then I will dive into how to add
> >
> > >>>>>
> > > my
> > >
> > >>>>> own portlets.
> > >>>>>
> > >>>>>
> > >>>>> The last thing I was trying to do is following this page
> > >>>>> http://portals.apache.org/jetspeed-2/getting-started-binary.html
> > >>>>>
> > >>>>> I created a directory ~/workspace/jetspeed. And put in that
> > >>>>>
> > > directory
> > >
> > >>>>> build.properties , which contains:
> > >>>>>
> > >>>>> basedir = ~/workspace/myportal
> > >>>>> maven.repo.remote = http://www.bluesunrise.com/maven/,
> > >>>>> http://www.ibiblio.org/maven/, http://dist.codehaus.org/,
> > >>>>> http://cvs.apache.org/repository
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>> then, when I ran: maven j2: portal.genapp , I get:
> > >>>>>
> > >>>>> BUILD FAILED
> > >>>>> File......
> > >>>>>
> > >>>>>
> > > /home/mansour/.maven/cache/maven-jetspeed2-plugin-2.1.2 /plugin.jelly
> > >
> > >>>>> Element... fail
> > >>>>> Line...... 735
> > >>>>> Column.... 42
> > >>>>> Required property org.apache.jetspeed.server.home undefined. See
> > >>>>> http://portals.apache.org/jetspeed-2/getting-started.html.
> > >>>>> Total time: 2 seconds
> > >>>>> Finished at: Mon Aug 06 12:44:02 ADT 2007
> > >>>>>
> > >>>>> Is there a clean place to learn about Jetspeed-2 other than the
> > >>>>>
> > > docs.
> > >
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>>
> > > ---------------------------------------------------------------------
> > >
> > >>>>> 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
> >
> > >
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > 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: No learning progress

Posted by Brice Lambi <la...@gmail.com>.
I agree that the builds are not being managed very well right now.  I cannot
build 2.1.2 (java.lang.UnsupportedClassVersionError) but I can build
2.1just fine.  I think some of your problem may be your lack of
understanding
of maven.  I told you to run 'mvn' to install to the local repository which
would have solved your dependency resolution errors in your earlier emails.
As a beginner don't bother trying to generate your own custom portal, the
jetspeed maven2 plugin is not reliable enough for someone who is new to
maven.

Try jetspeed-2.1 and simply run 'mvn' then 'mvn -P tomcat' with your
relevant info in ~/.m2/settings.xml and see if you can get it working.  Once
you have that figured out generating a custom portal might be easier.

This is an open source project, you get what you pay for.  If you need
better support I would suggest trying websphere or something that you can
buy commercial support for.



On 8/7/07, Mansour <ma...@yahoo.com> wrote:
>
> here's the next greating I am getting:
>
>
> [INFO] artifact org.apache.maven.plugins:maven-site-plugin: checking for
> updates from com.bluesunrise.m2
> [INFO] artifact org.apache.maven.plugins:maven-site-plugin: checking for
> updates from central
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] The plugin 'org.apache.maven.plugins:maven-site-plugin' does not
> exist or no valid version could be found
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 2 seconds
> [INFO] Finished at: Tue Aug 07 07:40:31 ADT 2007
> [INFO] Final Memory: 2M/4M
> [INFO]
> ------------------------------------------------------------------------
>
>
> If the tutorial is out of date, what are they waiting for in apache
> portals. Do we have to through all this to get a simple thing working.
>
>
> Sugarman, Duke wrote:
> > The tutorial is not working because it is out of date.  It would be nice
> > if someone at Apache portals could work on this because it is
> > frustrating many people.
> >
> > Put the following in your settings.xml file (e.g., before the <profiles>
> > tag) and try again:
> >
> >       <mirrors>
> >         <mirror>
> >           <id>central.mirror</id>
> >           <name>Mirror http://repo1.maven.org/maven2/</name>
> >           <url>http://www.bluesunrise.com/maven2</url>
> >           <mirrorOf>central</mirrorOf>
> >         </mirror>
> >       </mirrors>
> >
> > -----Original Message-----
> > From: Mansour [mailto:mansour77@yahoo.com]
> > Sent: Monday, August 06, 2007 8:16 PM
> > To: Jetspeed Users List
> > Subject: Re: No learning progress
> >
> > That's what I am getting now:
> >
> > [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
> > -DartifactId=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)
> >
> >
> >
> > A quick google gave me this:
> > http://www.mail-archive.com/jetspeed-user@portals.apache.org/msg05654.ht
> > ml
> > so I downloaded repository.zip and extracted it.
> >
> > The problem I faced is when doing:
> > mvn -P tomcat,min
> >
> > I get the following:
> > deploy-shared-components:
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD ERROR
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Error executing ant tasks
> >
> > Embedded error: The following error occurred while executing this line:
> > /home/mansour/workspace/Jetspeed/jetexpress/app-servers/build.xml:89:
> > The following error occurred while executing this line:
> > /home/mansour/workspace/Jetspeed/jetexpress/app-servers/build.xml:145:
> > The following error occurred while executing this line:
> > /home/mansour/workspace/Jetspeed/jetexpress/app-servers/tomcat-build.xml
> > :88:
> > The following error occurred while executing this line:
> > /home/mansour/workspace/Jetspeed/jetexpress/app-servers/tomcat-build.xml
> > :278:
> > /opt/tomcat/shared/lib not found.
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] For more information, run Maven with the -e switch
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 28 seconds
> > [INFO] Finished at: Mon Aug 06 20:09:08 ADT 2007
> > [INFO] Final Memory: 25M/46M
> > [INFO]
> > ------------------------------------------------------------------------
> >
> > What do I need to edit. I tried editing the path to the derby jar in
> > ~/.m2/settings.xml. Still did not help.
> >
> >
> >
> >
> > Brice Lambi wrote:
> >
> >> That file is at the maven project root of the source distribution.  it
> >>
> > looks
> >
> >> like they have 2.1.2-src packaged a little funny, there is a src dir
> >>
> > under
> >
> >> the root and that is the maven project root.
> >>
> >>
> >> On 8/6/07, Mansour <ma...@yahoo.com> wrote:
> >>
> >>
> >>> Thank you for you reply. I couldn't manage to obtain
> >>> settings.xml.sample. Where Do I find it?
> >>>
> >>>
> >>> Brice Lambi wrote:
> >>>
> >>>
> >>>> I understand the transistion between maven 1 and 2 is confusing.  I
> >>>>
> >>>>
> >>> would
> >>>
> >>>
> >>>> suggest only using maven2 and the info you find here:
> >>>>
> >>>> http://portals.apache.org/tutorials/jetspeed-2/
> >>>>
> >>>> It is really simple, copy settings.xml.sample to ~/.m2/settings.xml
> >>>>
> > and
> >
> >>>>
> >>>>
> >>> edit
> >>>
> >>>
> >>>> the relevant values.  Then simply run 'mvn' to install to your local
> >>>> repository and 'mvn -P tomcat' to deploy to tomcat.  At first don't
> >>>>
> >>>>
> >>> bother
> >>>
> >>>
> >>>> with generating a custom portal, just deploy the default and you can
> >>>>
> >>>>
> >>> make
> >>>
> >>>
> >>>> changes from there.
> >>>>
> >>>> Good luck.
> >>>>
> >>>>
> >>>>
> >>>> On 8/6/07, Mansour <ma...@yahoo.com> wrote:
> >>>>
> >>>>
> >>>>
> >>>>> I have been already trying to learn jetspeed for more than 2 weeks.
> >>>>>
> > I
> >
> >>>>> give up, then I go back because it's the only framework that has
> >>>>>
> > what I
> >
> >>>>> need. The documentation sucks. Honestly, I regret the time I have
> >>>>> wasted, it would have been easier for me to write my own security
> >>>>>
> > layer
> >
> >>>>> for roles/groups management. The documents sometimes instruct you
> >>>>>
> > to
> >
> >>>>>
> >>>>>
> >>> use
> >>>
> >>>
> >>>>> maven-1 and then switches to maven-2. And worse, none of the
> >>>>>
> >>>>>
> >>> instruction
> >>>
> >>>
> >>>>> works.
> >>>>>
> >>>>> I tried the installer for jetspeed-2 and it works fine. But a lot
> >>>>>
> > of
> >
> >>>>> things that I don't need and frustrated about. What are all these
> >>>>> directories. I don't want an embeded tomcat. I need to understand
> >>>>>
> > how
> >
> >>>>>
> >>>>>
> >>> to
> >>>
> >>>
> >>>>> deploy jetspeed and customize it. Then I will dive into how to add
> >>>>>
> > my
> >
> >>>>> own portlets.
> >>>>>
> >>>>>
> >>>>> The last thing I was trying to do is following this page
> >>>>> http://portals.apache.org/jetspeed-2/getting-started-binary.html
> >>>>>
> >>>>> I created a directory ~/workspace/jetspeed. And put in that
> >>>>>
> > directory
> >
> >>>>> build.properties , which contains:
> >>>>>
> >>>>> basedir = ~/workspace/myportal
> >>>>> maven.repo.remote = http://www.bluesunrise.com/maven/,
> >>>>> http://www.ibiblio.org/maven/, http://dist.codehaus.org/,
> >>>>> http://cvs.apache.org/repository
> >>>>>
> >>>>>
> >>>>>
> >>>>> then, when I ran: maven j2:portal.genapp , I get:
> >>>>>
> >>>>> BUILD FAILED
> >>>>> File......
> >>>>>
> >>>>>
> > /home/mansour/.maven/cache/maven-jetspeed2-plugin-2.1.2/plugin.jelly
> >
> >>>>> Element... fail
> >>>>> Line...... 735
> >>>>> Column.... 42
> >>>>> Required property org.apache.jetspeed.server.home undefined. See
> >>>>> http://portals.apache.org/jetspeed-2/getting-started.html.
> >>>>> Total time: 2 seconds
> >>>>> Finished at: Mon Aug 06 12:44:02 ADT 2007
> >>>>>
> >>>>> Is there a clean place to learn about Jetspeed-2 other than the
> >>>>>
> > docs.
> >
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> > ---------------------------------------------------------------------
> >
> >>>>> 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
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > 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: No learning progress

Posted by Mansour <ma...@yahoo.com>.
here's the next greating I am getting:


[INFO] artifact org.apache.maven.plugins:maven-site-plugin: checking for 
updates from com.bluesunrise.m2
[INFO] artifact org.apache.maven.plugins:maven-site-plugin: checking for 
updates from central
[INFO] 
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] 
------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-site-plugin' does not 
exist or no valid version could be found
[INFO] 
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Tue Aug 07 07:40:31 ADT 2007
[INFO] Final Memory: 2M/4M
[INFO] 
------------------------------------------------------------------------


If the tutorial is out of date, what are they waiting for in apache 
portals. Do we have to through all this to get a simple thing working.


Sugarman, Duke wrote:
> The tutorial is not working because it is out of date.  It would be nice
> if someone at Apache portals could work on this because it is
> frustrating many people.
>
> Put the following in your settings.xml file (e.g., before the <profiles>
> tag) and try again:
>
>       <mirrors>
>         <mirror>
>           <id>central.mirror</id>
>           <name>Mirror http://repo1.maven.org/maven2/</name>
>           <url>http://www.bluesunrise.com/maven2</url>
>           <mirrorOf>central</mirrorOf>
>         </mirror>
>       </mirrors>
>
> -----Original Message-----
> From: Mansour [mailto:mansour77@yahoo.com] 
> Sent: Monday, August 06, 2007 8:16 PM
> To: Jetspeed Users List
> Subject: Re: No learning progress
>
> That's what I am getting now:
>
> [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 
> -DartifactId=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)
>
>
>
> A quick google gave me this: 
> http://www.mail-archive.com/jetspeed-user@portals.apache.org/msg05654.ht
> ml
> so I downloaded repository.zip and extracted it.
>
> The problem I faced is when doing:
> mvn -P tomcat,min
>
> I get the following:
> deploy-shared-components:
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Error executing ant tasks
>
> Embedded error: The following error occurred while executing this line:
> /home/mansour/workspace/Jetspeed/jetexpress/app-servers/build.xml:89: 
> The following error occurred while executing this line:
> /home/mansour/workspace/Jetspeed/jetexpress/app-servers/build.xml:145: 
> The following error occurred while executing this line:
> /home/mansour/workspace/Jetspeed/jetexpress/app-servers/tomcat-build.xml
> :88: 
> The following error occurred while executing this line:
> /home/mansour/workspace/Jetspeed/jetexpress/app-servers/tomcat-build.xml
> :278: 
> /opt/tomcat/shared/lib not found.
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 28 seconds
> [INFO] Finished at: Mon Aug 06 20:09:08 ADT 2007
> [INFO] Final Memory: 25M/46M
> [INFO] 
> ------------------------------------------------------------------------
>
> What do I need to edit. I tried editing the path to the derby jar in 
> ~/.m2/settings.xml. Still did not help.
>
>
>
>
> Brice Lambi wrote:
>   
>> That file is at the maven project root of the source distribution.  it
>>     
> looks
>   
>> like they have 2.1.2-src packaged a little funny, there is a src dir
>>     
> under
>   
>> the root and that is the maven project root.
>>
>>
>> On 8/6/07, Mansour <ma...@yahoo.com> wrote:
>>   
>>     
>>> Thank you for you reply. I couldn't manage to obtain
>>> settings.xml.sample. Where Do I find it?
>>>
>>>
>>> Brice Lambi wrote:
>>>     
>>>       
>>>> I understand the transistion between maven 1 and 2 is confusing.  I
>>>>       
>>>>         
>>> would
>>>     
>>>       
>>>> suggest only using maven2 and the info you find here:
>>>>
>>>> http://portals.apache.org/tutorials/jetspeed-2/
>>>>
>>>> It is really simple, copy settings.xml.sample to ~/.m2/settings.xml
>>>>         
> and
>   
>>>>       
>>>>         
>>> edit
>>>     
>>>       
>>>> the relevant values.  Then simply run 'mvn' to install to your local
>>>> repository and 'mvn -P tomcat' to deploy to tomcat.  At first don't
>>>>       
>>>>         
>>> bother
>>>     
>>>       
>>>> with generating a custom portal, just deploy the default and you can
>>>>       
>>>>         
>>> make
>>>     
>>>       
>>>> changes from there.
>>>>
>>>> Good luck.
>>>>
>>>>
>>>>
>>>> On 8/6/07, Mansour <ma...@yahoo.com> wrote:
>>>>
>>>>       
>>>>         
>>>>> I have been already trying to learn jetspeed for more than 2 weeks.
>>>>>           
> I
>   
>>>>> give up, then I go back because it's the only framework that has
>>>>>           
> what I
>   
>>>>> need. The documentation sucks. Honestly, I regret the time I have
>>>>> wasted, it would have been easier for me to write my own security
>>>>>           
> layer
>   
>>>>> for roles/groups management. The documents sometimes instruct you
>>>>>           
> to
>   
>>>>>         
>>>>>           
>>> use
>>>     
>>>       
>>>>> maven-1 and then switches to maven-2. And worse, none of the
>>>>>         
>>>>>           
>>> instruction
>>>     
>>>       
>>>>> works.
>>>>>
>>>>> I tried the installer for jetspeed-2 and it works fine. But a lot
>>>>>           
> of
>   
>>>>> things that I don't need and frustrated about. What are all these
>>>>> directories. I don't want an embeded tomcat. I need to understand
>>>>>           
> how
>   
>>>>>         
>>>>>           
>>> to
>>>     
>>>       
>>>>> deploy jetspeed and customize it. Then I will dive into how to add
>>>>>           
> my
>   
>>>>> own portlets.
>>>>>
>>>>>
>>>>> The last thing I was trying to do is following this page
>>>>> http://portals.apache.org/jetspeed-2/getting-started-binary.html
>>>>>
>>>>> I created a directory ~/workspace/jetspeed. And put in that
>>>>>           
> directory
>   
>>>>> build.properties , which contains:
>>>>>
>>>>> basedir = ~/workspace/myportal
>>>>> maven.repo.remote = http://www.bluesunrise.com/maven/,
>>>>> http://www.ibiblio.org/maven/, http://dist.codehaus.org/,
>>>>> http://cvs.apache.org/repository
>>>>>
>>>>>
>>>>>
>>>>> then, when I ran: maven j2:portal.genapp , I get:
>>>>>
>>>>> BUILD FAILED
>>>>> File......
>>>>>
>>>>>           
> /home/mansour/.maven/cache/maven-jetspeed2-plugin-2.1.2/plugin.jelly
>   
>>>>> Element... fail
>>>>> Line...... 735
>>>>> Column.... 42
>>>>> Required property org.apache.jetspeed.server.home undefined. See
>>>>> http://portals.apache.org/jetspeed-2/getting-started.html.
>>>>> Total time: 2 seconds
>>>>> Finished at: Mon Aug 06 12:44:02 ADT 2007
>>>>>
>>>>> Is there a clean place to learn about Jetspeed-2 other than the
>>>>>           
> docs.
>   
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>           
> ---------------------------------------------------------------------
>   
>>>>> 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
>
>
>
>
> ---------------------------------------------------------------------
> 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: No learning progress

Posted by "Sugarman, Duke" <Du...@FMR.COM>.
The tutorial is not working because it is out of date.  It would be nice
if someone at Apache portals could work on this because it is
frustrating many people.

Put the following in your settings.xml file (e.g., before the <profiles>
tag) and try again:

      <mirrors>
        <mirror>
          <id>central.mirror</id>
          <name>Mirror http://repo1.maven.org/maven2/</name>
          <url>http://www.bluesunrise.com/maven2</url>
          <mirrorOf>central</mirrorOf>
        </mirror>
      </mirrors>

-----Original Message-----
From: Mansour [mailto:mansour77@yahoo.com] 
Sent: Monday, August 06, 2007 8:16 PM
To: Jetspeed Users List
Subject: Re: No learning progress

That's what I am getting now:

[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 
-DartifactId=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)



A quick google gave me this: 
http://www.mail-archive.com/jetspeed-user@portals.apache.org/msg05654.ht
ml
so I downloaded repository.zip and extracted it.

The problem I faced is when doing:
mvn -P tomcat,min

I get the following:
deploy-shared-components:
[INFO] 
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] 
------------------------------------------------------------------------
[INFO] Error executing ant tasks

Embedded error: The following error occurred while executing this line:
/home/mansour/workspace/Jetspeed/jetexpress/app-servers/build.xml:89: 
The following error occurred while executing this line:
/home/mansour/workspace/Jetspeed/jetexpress/app-servers/build.xml:145: 
The following error occurred while executing this line:
/home/mansour/workspace/Jetspeed/jetexpress/app-servers/tomcat-build.xml
:88: 
The following error occurred while executing this line:
/home/mansour/workspace/Jetspeed/jetexpress/app-servers/tomcat-build.xml
:278: 
/opt/tomcat/shared/lib not found.
[INFO] 
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: 28 seconds
[INFO] Finished at: Mon Aug 06 20:09:08 ADT 2007
[INFO] Final Memory: 25M/46M
[INFO] 
------------------------------------------------------------------------

What do I need to edit. I tried editing the path to the derby jar in 
~/.m2/settings.xml. Still did not help.




Brice Lambi wrote:
> That file is at the maven project root of the source distribution.  it
looks
> like they have 2.1.2-src packaged a little funny, there is a src dir
under
> the root and that is the maven project root.
>
>
> On 8/6/07, Mansour <ma...@yahoo.com> wrote:
>   
>> Thank you for you reply. I couldn't manage to obtain
>> settings.xml.sample. Where Do I find it?
>>
>>
>> Brice Lambi wrote:
>>     
>>> I understand the transistion between maven 1 and 2 is confusing.  I
>>>       
>> would
>>     
>>> suggest only using maven2 and the info you find here:
>>>
>>> http://portals.apache.org/tutorials/jetspeed-2/
>>>
>>> It is really simple, copy settings.xml.sample to ~/.m2/settings.xml
and
>>>       
>> edit
>>     
>>> the relevant values.  Then simply run 'mvn' to install to your local
>>> repository and 'mvn -P tomcat' to deploy to tomcat.  At first don't
>>>       
>> bother
>>     
>>> with generating a custom portal, just deploy the default and you can
>>>       
>> make
>>     
>>> changes from there.
>>>
>>> Good luck.
>>>
>>>
>>>
>>> On 8/6/07, Mansour <ma...@yahoo.com> wrote:
>>>
>>>       
>>>> I have been already trying to learn jetspeed for more than 2 weeks.
I
>>>> give up, then I go back because it's the only framework that has
what I
>>>> need. The documentation sucks. Honestly, I regret the time I have
>>>> wasted, it would have been easier for me to write my own security
layer
>>>> for roles/groups management. The documents sometimes instruct you
to
>>>>         
>> use
>>     
>>>> maven-1 and then switches to maven-2. And worse, none of the
>>>>         
>> instruction
>>     
>>>> works.
>>>>
>>>> I tried the installer for jetspeed-2 and it works fine. But a lot
of
>>>> things that I don't need and frustrated about. What are all these
>>>> directories. I don't want an embeded tomcat. I need to understand
how
>>>>         
>> to
>>     
>>>> deploy jetspeed and customize it. Then I will dive into how to add
my
>>>> own portlets.
>>>>
>>>>
>>>> The last thing I was trying to do is following this page
>>>> http://portals.apache.org/jetspeed-2/getting-started-binary.html
>>>>
>>>> I created a directory ~/workspace/jetspeed. And put in that
directory
>>>> build.properties , which contains:
>>>>
>>>> basedir = ~/workspace/myportal
>>>> maven.repo.remote = http://www.bluesunrise.com/maven/,
>>>> http://www.ibiblio.org/maven/, http://dist.codehaus.org/,
>>>> http://cvs.apache.org/repository
>>>>
>>>>
>>>>
>>>> then, when I ran: maven j2:portal.genapp , I get:
>>>>
>>>> BUILD FAILED
>>>> File......
>>>>
/home/mansour/.maven/cache/maven-jetspeed2-plugin-2.1.2/plugin.jelly
>>>> Element... fail
>>>> Line...... 735
>>>> Column.... 42
>>>> Required property org.apache.jetspeed.server.home undefined. See
>>>> http://portals.apache.org/jetspeed-2/getting-started.html.
>>>> Total time: 2 seconds
>>>> Finished at: Mon Aug 06 12:44:02 ADT 2007
>>>>
>>>> Is there a clean place to learn about Jetspeed-2 other than the
docs.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
---------------------------------------------------------------------
>>>> 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




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


Re: No learning progress

Posted by Mansour <ma...@yahoo.com>.
That's what I am getting now:

[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 
-DartifactId=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)



A quick google gave me this: 
http://www.mail-archive.com/jetspeed-user@portals.apache.org/msg05654.html
so I downloaded repository.zip and extracted it.

The problem I faced is when doing:
mvn -P tomcat,min

I get the following:
deploy-shared-components:
[INFO] 
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] 
------------------------------------------------------------------------
[INFO] Error executing ant tasks

Embedded error: The following error occurred while executing this line:
/home/mansour/workspace/Jetspeed/jetexpress/app-servers/build.xml:89: 
The following error occurred while executing this line:
/home/mansour/workspace/Jetspeed/jetexpress/app-servers/build.xml:145: 
The following error occurred while executing this line:
/home/mansour/workspace/Jetspeed/jetexpress/app-servers/tomcat-build.xml:88: 
The following error occurred while executing this line:
/home/mansour/workspace/Jetspeed/jetexpress/app-servers/tomcat-build.xml:278: 
/opt/tomcat/shared/lib not found.
[INFO] 
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: 28 seconds
[INFO] Finished at: Mon Aug 06 20:09:08 ADT 2007
[INFO] Final Memory: 25M/46M
[INFO] 
------------------------------------------------------------------------

What do I need to edit. I tried editing the path to the derby jar in 
~/.m2/settings.xml. Still did not help.




Brice Lambi wrote:
> That file is at the maven project root of the source distribution.  it looks
> like they have 2.1.2-src packaged a little funny, there is a src dir under
> the root and that is the maven project root.
>
>
> On 8/6/07, Mansour <ma...@yahoo.com> wrote:
>   
>> Thank you for you reply. I couldn't manage to obtain
>> settings.xml.sample. Where Do I find it?
>>
>>
>> Brice Lambi wrote:
>>     
>>> I understand the transistion between maven 1 and 2 is confusing.  I
>>>       
>> would
>>     
>>> suggest only using maven2 and the info you find here:
>>>
>>> http://portals.apache.org/tutorials/jetspeed-2/
>>>
>>> It is really simple, copy settings.xml.sample to ~/.m2/settings.xml and
>>>       
>> edit
>>     
>>> the relevant values.  Then simply run 'mvn' to install to your local
>>> repository and 'mvn -P tomcat' to deploy to tomcat.  At first don't
>>>       
>> bother
>>     
>>> with generating a custom portal, just deploy the default and you can
>>>       
>> make
>>     
>>> changes from there.
>>>
>>> Good luck.
>>>
>>>
>>>
>>> On 8/6/07, Mansour <ma...@yahoo.com> wrote:
>>>
>>>       
>>>> I have been already trying to learn jetspeed for more than 2 weeks. I
>>>> give up, then I go back because it's the only framework that has what I
>>>> need. The documentation sucks. Honestly, I regret the time I have
>>>> wasted, it would have been easier for me to write my own security layer
>>>> for roles/groups management. The documents sometimes instruct you to
>>>>         
>> use
>>     
>>>> maven-1 and then switches to maven-2. And worse, none of the
>>>>         
>> instruction
>>     
>>>> works.
>>>>
>>>> I tried the installer for jetspeed-2 and it works fine. But a lot of
>>>> things that I don't need and frustrated about. What are all these
>>>> directories. I don't want an embeded tomcat. I need to understand how
>>>>         
>> to
>>     
>>>> deploy jetspeed and customize it. Then I will dive into how to add my
>>>> own portlets.
>>>>
>>>>
>>>> The last thing I was trying to do is following this page
>>>> http://portals.apache.org/jetspeed-2/getting-started-binary.html
>>>>
>>>> I created a directory ~/workspace/jetspeed. And put in that directory
>>>> build.properties , which contains:
>>>>
>>>> basedir = ~/workspace/myportal
>>>> maven.repo.remote = http://www.bluesunrise.com/maven/,
>>>> http://www.ibiblio.org/maven/, http://dist.codehaus.org/,
>>>> http://cvs.apache.org/repository
>>>>
>>>>
>>>>
>>>> then, when I ran: maven j2:portal.genapp , I get:
>>>>
>>>> BUILD FAILED
>>>> File......
>>>> /home/mansour/.maven/cache/maven-jetspeed2-plugin-2.1.2/plugin.jelly
>>>> Element... fail
>>>> Line...... 735
>>>> Column.... 42
>>>> Required property org.apache.jetspeed.server.home undefined. See
>>>> http://portals.apache.org/jetspeed-2/getting-started.html.
>>>> Total time: 2 seconds
>>>> Finished at: Mon Aug 06 12:44:02 ADT 2007
>>>>
>>>> Is there a clean place to learn about Jetspeed-2 other than the docs.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> 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: No learning progress

Posted by Brice Lambi <la...@gmail.com>.
That file is at the maven project root of the source distribution.  it looks
like they have 2.1.2-src packaged a little funny, there is a src dir under
the root and that is the maven project root.


On 8/6/07, Mansour <ma...@yahoo.com> wrote:
>
> Thank you for you reply. I couldn't manage to obtain
> settings.xml.sample. Where Do I find it?
>
>
> Brice Lambi wrote:
> > I understand the transistion between maven 1 and 2 is confusing.  I
> would
> > suggest only using maven2 and the info you find here:
> >
> > http://portals.apache.org/tutorials/jetspeed-2/
> >
> > It is really simple, copy settings.xml.sample to ~/.m2/settings.xml and
> edit
> > the relevant values.  Then simply run 'mvn' to install to your local
> > repository and 'mvn -P tomcat' to deploy to tomcat.  At first don't
> bother
> > with generating a custom portal, just deploy the default and you can
> make
> > changes from there.
> >
> > Good luck.
> >
> >
> >
> > On 8/6/07, Mansour <ma...@yahoo.com> wrote:
> >
> >> I have been already trying to learn jetspeed for more than 2 weeks. I
> >> give up, then I go back because it's the only framework that has what I
> >> need. The documentation sucks. Honestly, I regret the time I have
> >> wasted, it would have been easier for me to write my own security layer
> >> for roles/groups management. The documents sometimes instruct you to
> use
> >> maven-1 and then switches to maven-2. And worse, none of the
> instruction
> >> works.
> >>
> >> I tried the installer for jetspeed-2 and it works fine. But a lot of
> >> things that I don't need and frustrated about. What are all these
> >> directories. I don't want an embeded tomcat. I need to understand how
> to
> >> deploy jetspeed and customize it. Then I will dive into how to add my
> >> own portlets.
> >>
> >>
> >> The last thing I was trying to do is following this page
> >> http://portals.apache.org/jetspeed-2/getting-started-binary.html
> >>
> >> I created a directory ~/workspace/jetspeed. And put in that directory
> >> build.properties , which contains:
> >>
> >> basedir = ~/workspace/myportal
> >> maven.repo.remote = http://www.bluesunrise.com/maven/,
> >> http://www.ibiblio.org/maven/, http://dist.codehaus.org/,
> >> http://cvs.apache.org/repository
> >>
> >>
> >>
> >> then, when I ran: maven j2:portal.genapp , I get:
> >>
> >> BUILD FAILED
> >> File......
> >> /home/mansour/.maven/cache/maven-jetspeed2-plugin-2.1.2/plugin.jelly
> >> Element... fail
> >> Line...... 735
> >> Column.... 42
> >> Required property org.apache.jetspeed.server.home undefined. See
> >> http://portals.apache.org/jetspeed-2/getting-started.html.
> >> Total time: 2 seconds
> >> Finished at: Mon Aug 06 12:44:02 ADT 2007
> >>
> >> Is there a clean place to learn about Jetspeed-2 other than the docs.
> >>
> >>
> >>
> >>
> >>
> >> ---------------------------------------------------------------------
> >> 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: No learning progress

Posted by Mansour <ma...@yahoo.com>.
Thank you for you reply. I couldn't manage to obtain 
settings.xml.sample. Where Do I find it?


Brice Lambi wrote:
> I understand the transistion between maven 1 and 2 is confusing.  I would
> suggest only using maven2 and the info you find here:
>
> http://portals.apache.org/tutorials/jetspeed-2/
>
> It is really simple, copy settings.xml.sample to ~/.m2/settings.xml and edit
> the relevant values.  Then simply run 'mvn' to install to your local
> repository and 'mvn -P tomcat' to deploy to tomcat.  At first don't bother
> with generating a custom portal, just deploy the default and you can make
> changes from there.
>
> Good luck.
>
>
>
> On 8/6/07, Mansour <ma...@yahoo.com> wrote:
>   
>> I have been already trying to learn jetspeed for more than 2 weeks. I
>> give up, then I go back because it's the only framework that has what I
>> need. The documentation sucks. Honestly, I regret the time I have
>> wasted, it would have been easier for me to write my own security layer
>> for roles/groups management. The documents sometimes instruct you to use
>> maven-1 and then switches to maven-2. And worse, none of the instruction
>> works.
>>
>> I tried the installer for jetspeed-2 and it works fine. But a lot of
>> things that I don't need and frustrated about. What are all these
>> directories. I don't want an embeded tomcat. I need to understand how to
>> deploy jetspeed and customize it. Then I will dive into how to add my
>> own portlets.
>>
>>
>> The last thing I was trying to do is following this page
>> http://portals.apache.org/jetspeed-2/getting-started-binary.html
>>
>> I created a directory ~/workspace/jetspeed. And put in that directory
>> build.properties , which contains:
>>
>> basedir = ~/workspace/myportal
>> maven.repo.remote = http://www.bluesunrise.com/maven/,
>> http://www.ibiblio.org/maven/, http://dist.codehaus.org/,
>> http://cvs.apache.org/repository
>>
>>
>>
>> then, when I ran: maven j2:portal.genapp , I get:
>>
>> BUILD FAILED
>> File......
>> /home/mansour/.maven/cache/maven-jetspeed2-plugin-2.1.2/plugin.jelly
>> Element... fail
>> Line...... 735
>> Column.... 42
>> Required property org.apache.jetspeed.server.home undefined. See
>> http://portals.apache.org/jetspeed-2/getting-started.html.
>> Total time: 2 seconds
>> Finished at: Mon Aug 06 12:44:02 ADT 2007
>>
>> Is there a clean place to learn about Jetspeed-2 other than the docs.
>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> 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: No learning progress

Posted by Brice Lambi <la...@gmail.com>.
I understand the transistion between maven 1 and 2 is confusing.  I would
suggest only using maven2 and the info you find here:

http://portals.apache.org/tutorials/jetspeed-2/

It is really simple, copy settings.xml.sample to ~/.m2/settings.xml and edit
the relevant values.  Then simply run 'mvn' to install to your local
repository and 'mvn -P tomcat' to deploy to tomcat.  At first don't bother
with generating a custom portal, just deploy the default and you can make
changes from there.

Good luck.



On 8/6/07, Mansour <ma...@yahoo.com> wrote:
>
> I have been already trying to learn jetspeed for more than 2 weeks. I
> give up, then I go back because it's the only framework that has what I
> need. The documentation sucks. Honestly, I regret the time I have
> wasted, it would have been easier for me to write my own security layer
> for roles/groups management. The documents sometimes instruct you to use
> maven-1 and then switches to maven-2. And worse, none of the instruction
> works.
>
> I tried the installer for jetspeed-2 and it works fine. But a lot of
> things that I don't need and frustrated about. What are all these
> directories. I don't want an embeded tomcat. I need to understand how to
> deploy jetspeed and customize it. Then I will dive into how to add my
> own portlets.
>
>
> The last thing I was trying to do is following this page
> http://portals.apache.org/jetspeed-2/getting-started-binary.html
>
> I created a directory ~/workspace/jetspeed. And put in that directory
> build.properties , which contains:
>
> basedir = ~/workspace/myportal
> maven.repo.remote = http://www.bluesunrise.com/maven/,
> http://www.ibiblio.org/maven/, http://dist.codehaus.org/,
> http://cvs.apache.org/repository
>
>
>
> then, when I ran: maven j2:portal.genapp , I get:
>
> BUILD FAILED
> File......
> /home/mansour/.maven/cache/maven-jetspeed2-plugin-2.1.2/plugin.jelly
> Element... fail
> Line...... 735
> Column.... 42
> Required property org.apache.jetspeed.server.home undefined. See
> http://portals.apache.org/jetspeed-2/getting-started.html.
> Total time: 2 seconds
> Finished at: Mon Aug 06 12:44:02 ADT 2007
>
> Is there a clean place to learn about Jetspeed-2 other than the docs.
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>

Re: No learning progress

Posted by David Sean Taylor <da...@bluesunrise.com>.
On Aug 7, 2007, at 3:46 PM, Mansour wrote:

> If I can edit the documentation I would have. Mainly in the getting  
> started tutorial:
>
> 1- where to get the settings.xml from. I was told in one of the  
> emails that it resides in the source directory. I would fix this.

That is documented clearly in the WIKI page

http://wiki.apache.org/portals/Jetspeed2/Maven2BuildSupport

"The first step in using the Maven2 build is to either:
       copy the settings.xml.sample to ~/.m2/settings.xml
       or
       encorporate the settings in this file into your existing  
Maven2 configuration."

We will be looking into replacing the current documentation with this  
WIKI, sorry you sent you down the wrong path


>
> 2- I will include the repo as a zip file for each release so that  
> if one of the jars fails, the user can unzip the repo and use it  
> locally.
>
We have done that before for people on the list for Maven-1, however  
with Maven-2, in theory, this kind of solution should not be  
necessary except when you have some extreme firewall limititation

> 3- When I was stuck in the getting started tutorial and decided to  
> read "Getting started with Jetspeed-2 binaries guide <http:// 
> portals.apache.org/jetspeed-2/getting-started-binary.html>" page at  
> http://portals.apache.org/jetspeed-2/getting-started-binary.html I  
> ran into maven-1 instructions.
> The same was true to Getting started with Jetspeed-2 source guide  
> <http://portals.apache.org/jetspeed-2/getting-started-source.html>
>
> I never used maven before, and to try to learn maven-2, then find  
> that I should have installed and worked with maven-1 is really  
> frustrating.
>
> Don't get me wrong about what I am about to say. This is just an  
> example. Have a look at this http://www.opensymphony.com/osuser/.
> The first lines in the page say:
>
> "/Note that currently no download of osuser is available, as we  
> feel the documentation is insufficient to merit a binary release.
> However, we do encourage you to download and build the source code  
> via CVS. Hopefully a full 1.0 release will be available soon./"
>
> These few lines saved me a lot of time !!
> I am trying to learn more about jetspeed, and I will send you any  
> comments about the documentation.
> Thank you.
>
Well I don't think we need to stop releases, as you can download the  
installer and it works fine
We are painfully finding out that Maven is not the easiest build  
environment for everyone, even if it is the best build tool available  
for Java developers
For custom portal development, please try out the latest tutorial  
(granted incomplete) found here and let me know if that goes easier  
for you
It should just get you up and running and sections 2-6 should be  
completed over the next month

http://people.apache.org/~taylor/tutorial/docs/site/

I know you don't want to use an installer that contains Tomcat, but  
just consider the tutorial as a way to learn, and including in Tomcat  
really cuts down on the support questions for us
Once you are familiar with the tutorial, from there we can discuss  
how to integrate with real production environments, database and  
binary upgrade issues


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


Re: No learning progress

Posted by Mansour <ma...@yahoo.com>.
If I can edit the documentation I would have. Mainly in the getting 
started tutorial:

1- where to get the settings.xml from. I was told in one of the emails 
that it resides in the source directory. I would fix this.

2- I will include the repo as a zip file for each release so that if one 
of the jars fails, the user can unzip the repo and use it locally.

3- When I was stuck in the getting started tutorial and decided to read 
"Getting started with Jetspeed-2 binaries guide 
<http://portals.apache.org/jetspeed-2/getting-started-binary.html>" page 
at http://portals.apache.org/jetspeed-2/getting-started-binary.html I 
ran into maven-1 instructions.
The same was true to Getting started with Jetspeed-2 source guide 
<http://portals.apache.org/jetspeed-2/getting-started-source.html>

I never used maven before, and to try to learn maven-2, then find that I 
should have installed and worked with maven-1 is really frustrating.

Don't get me wrong about what I am about to say. This is just an 
example. Have a look at this http://www.opensymphony.com/osuser/.
The first lines in the page say:

"/Note that currently no download of osuser is available, as we feel the 
documentation is insufficient to merit a binary release.
However, we do encourage you to download and build the source code via 
CVS. Hopefully a full 1.0 release will be available soon./"

These few lines saved me a lot of time !!
I am trying to learn more about jetspeed, and I will send you any 
comments about the documentation.
Thank you.


David Sean Taylor wrote:
>
> On Aug 6, 2007, at 8:46 AM, Mansour wrote:
>
>> I have been already trying to learn jetspeed for more than 2 weeks. I 
>> give up, then I go back because it's the only framework that has what 
>> I need. The documentation sucks. Honestly, I regret the time I have 
>> wasted, it would have been easier for me to write my own security 
>> layer for roles/groups management. The documents sometimes instruct 
>> you to use maven-1 and then switches to maven-2. And worse, none of 
>> the instruction works.
>>
>
> Our build situation with two Mavens is confusing, I agree. The 
> history: we started with a Maven-1 build, and then Maven came out with 
> Maven-2. The problem was that we still had lots of users building 
> custom builds with Maven-1.
> Thus we tried to support both versions of Maven, and it seems the 
> documentation has become muddied in the process.
> We are in the process of moving to one single Maven-2 build, and 
> greatly simplifying the build in the new 2.2 development branch.
> I know it feels good to just shoot off and say "the documentation 
> sucks" and frankly I don't blame you. If you could also point out a 
> few areas where the documentation is wrong, that would help others.
> Im not asking to review the entirely documentation, just point out a 
> few particular areas where you got stuck badly.
>
> I
>
>> I tried the installer for jetspeed-2 and it works fine. But a lot of 
>> things that I don't need and frustrated about. What are all these 
>> directories. I don't want an embeded tomcat. I need to understand how 
>> to deploy jetspeed and customize it. Then I will dive into how to add 
>> my own portlets.
>
> The installer comes with an embedded Tomcat to simplify support.
> It would also be nice to have installers for Tomcat and Websphere and 
> JBoss
>
>>
>>
>> The last thing I was trying to do is following this page 
>> http://portals.apache.org/jetspeed-2/getting-started-binary.html
>>
>> I created a directory ~/workspace/jetspeed. And put in that directory 
>> build.properties , which contains:
>>
>> basedir = ~/workspace/myportal
>> maven.repo.remote = http://www.bluesunrise.com/maven/, 
>> http://www.ibiblio.org/maven/, http://dist.codehaus.org/, 
>> http://cvs.apache.org/repository
>>
>>
>>
>> then, when I ran: maven j2:portal.genapp , I get:
>>
>> BUILD FAILED
>> File...... 
>> /home/mansour/.maven/cache/maven-jetspeed2-plugin-2.1.2/plugin.jelly
>> Element... fail
>> Line...... 735
>> Column.... 42
>> Required property org.apache.jetspeed.server.home undefined. See 
>> http://portals.apache.org/jetspeed-2/getting-started.html.
>> Total time: 2 seconds
>> Finished at: Mon Aug 06 12:44:02 ADT 2007
>>
>> Is there a clean place to learn about Jetspeed-2 other than the docs.
>>
> If you want to build with Maven-2, there is the Wiki
>
> http://wiki.apache.org/portals/Jetspeed2/Maven2BuildSupport
>
>
>
>
>
>
>
> ---------------------------------------------------------------------
> 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: No learning progress

Posted by David Sean Taylor <da...@bluesunrise.com>.
On Aug 6, 2007, at 8:46 AM, Mansour wrote:

> I have been already trying to learn jetspeed for more than 2 weeks.  
> I give up, then I go back because it's the only framework that has  
> what I need. The documentation sucks. Honestly, I regret the time I  
> have wasted, it would have been easier for me to write my own  
> security layer for roles/groups management. The documents sometimes  
> instruct you to use maven-1 and then switches to maven-2. And  
> worse, none of the instruction works.
>

Our build situation with two Mavens is confusing, I agree. The  
history: we started with a Maven-1 build, and then Maven came out  
with Maven-2. The problem was that we still had lots of users  
building custom builds with Maven-1.
Thus we tried to support both versions of Maven, and it seems the  
documentation has become muddied in the process.
We are in the process of moving to one single Maven-2 build, and  
greatly simplifying the build in the new 2.2 development branch.
I know it feels good to just shoot off and say "the documentation  
sucks" and frankly I don't blame you. If you could also point out a  
few areas where the documentation is wrong, that would help others.
Im not asking to review the entirely documentation, just point out a  
few particular areas where you got stuck badly.

I

> I tried the installer for jetspeed-2 and it works fine. But a lot  
> of things that I don't need and frustrated about. What are all  
> these directories. I don't want an embeded tomcat. I need to  
> understand how to deploy jetspeed and customize it. Then I will  
> dive into how to add my own portlets.

The installer comes with an embedded Tomcat to simplify support.
It would also be nice to have installers for Tomcat and Websphere and  
JBoss

>
>
> The last thing I was trying to do is following this page http:// 
> portals.apache.org/jetspeed-2/getting-started-binary.html
>
> I created a directory ~/workspace/jetspeed. And put in that  
> directory build.properties , which contains:
>
> basedir = ~/workspace/myportal
> maven.repo.remote = http://www.bluesunrise.com/maven/, http:// 
> www.ibiblio.org/maven/, http://dist.codehaus.org/, http:// 
> cvs.apache.org/repository
>
>
>
> then, when I ran: maven j2:portal.genapp , I get:
>
> BUILD FAILED
> File...... /home/mansour/.maven/cache/maven-jetspeed2-plugin-2.1.2/ 
> plugin.jelly
> Element... fail
> Line...... 735
> Column.... 42
> Required property org.apache.jetspeed.server.home undefined. See  
> http://portals.apache.org/jetspeed-2/getting-started.html.
> Total time: 2 seconds
> Finished at: Mon Aug 06 12:44:02 ADT 2007
>
> Is there a clean place to learn about Jetspeed-2 other than the docs.
>
If you want to build with Maven-2, there is the Wiki

http://wiki.apache.org/portals/Jetspeed2/Maven2BuildSupport







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