Hi Stefan,

On 2/23/06, Stefan Weinert <[EMAIL PROTECTED]> wrote:
> I hate to spam this group as a beginner but I'm very confused with which way 
> is best suited for developing the portal.
>
>   First I installed the installer version, looked at the demo portal. I  have 
> to say I really like it and the psml docs are very good, too.
>
>   When trying to get the simples portlet to run the docs say that I have  to 
> build the portal.

I'm going to pull that out because it is not actually necessary. The
only reason that is there is to deploy the psml from your workspace.
The guide should say optional or rather or create a new page in the
jetspeed/WEB-INF/pages or use the admin portlet to create a new page
and add the portlet.

> Fine I've installed maven and build the maven  hello world project to see if 
> maven works on my windows machine.
>
>   What is the installer version good for if I can't even get the simplest  
> portlet to run with it? Is it just for use as a demo? If that's the  case it 
> should be indicated.
>
>   If I can't use the installer version which is better the maven plugin or 
> building from source?

I prefer building from source. The plugin is useful for database tasks.

>
>   The building from source instructions are very tough for beginners  
> especially when working on a windows machine (unfortunately mostly  beginners 
> will probably do that).
>   The page instructing how to build the maven plugin from eclipse is 404'ed.
>
>   Don't get me wrong. I know that as a beginner everything looks more  
> complicated than it really is. On almost every page it's mentioned that  the 
> build process is very easy with maven - that makes me think how  complicated 
> it would be withouth. I still didn't get any version of J2  -besides the 
> installer-  to run.
>
>   If you read this far you might take that extra minute to point me to the 
> right direction?

Check out the source and create a file called build.properties at the
root with the following properties,

org.apache.jetspeed.server.home=/home/phil/20051223/opensource/bin/apache-tomcat-5.5.12
org.apache.jetspeed.server.shared=/home/phil/20051223/opensource/bin/apache-tomcat-5.5.12/shared/lib
org.apache.jetspeed.deploy.war.dir=/home/phil/20051223/opensource/bin/apache-tomcat-5.5.12/webapps
org.apache.jetspeed.services.autodeployment.user=j2deployer
org.apache.jetspeed.services.autodeployment.password=j2deployer
org.apache.jetspeed.catalina.version.major=5.5
org.apache.jetspeed.project.home=/home/phil/20051223/opensource/svnProjects/jetspeed-2

I'm assuming that you got the jdk, tomcat, and maven parts installed.
Mikko mentions some good tips to avoid problems.

Run the following commands (the -o will run maven in offline mode
remove it if it complains about dependencies)

maven initMavenPlugin
maven -o allBuild
maven -o j2:quickStart

Start Tomcat with the command 'catalina run'. kill with Ctrl-C

There is also a new Maven 2 build that is under development.

>
>   ste
>
>
> ---------------------------------
> Telefonieren Sie ohne weitere Kosten mit Ihren Freunden von PC zu PC!
> Jetzt Yahoo! Messenger installieren!
>


--
Philip Donaghy
donaghy.blogspot.com del.icio.us/donaghy/philip
Skype: philipmarkdonaghy
Office: +33 5 56 60 88 02
Mobile: +33 6 20 83 22 62

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

Reply via email to