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 Roozbeh Zabihollahi <ya...@yahoo.com> on 2007/04/26 18:04:47 UTC

JetSpeed2

Dear Professionals,
It's been a while that I am tring to be a jetspeed
programmer, yet I could not even make a hello world
portlet. 

First I had lots of troubles with maven and mvn. Now
that I am familiar with them, Everytime I run them, I
will face lots of exceptions a problems. 

Here I wrote some of problems. It would be very much
appreciated, if you could do me a favor and help me to
solve these issues.

I tried reading documentation available in Jetspeed2
http://portals.apache.org/tutorials/jetspeed-2 and
http://portals.apache.org/jetspeed-2/getting-started.html
and
http://portals.apache.org/jetspeed-2/getting-started-binary.html.


For the tutorial, when I create a new portal, using
"mvn archetype:create", I could not build it at all.
There are lots of issues, like it could not download
required items from repo1.maven.org. 

Its about a month and I did not even see a portlet and
I just busy with installing and installing. Could you
please help me find my way?

Thanks in advance,
* Roozbeh

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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


Re: Mavin Plugin - Where and How?

Posted by Aaron Evans <aa...@gmail.com>.
I think you are supposed to run this command from %MAVEN_HOME%.

On 4/27/07, Johan Wasserman <jo...@yahoo.com> wrote:
> I've tried every direction in the documnetation and all suggestions, but get the following problem:
>   C:\Zones\DropZone\Learn\js2\portal>mvn -DartifactId=maven-jetspeed2-plugin -Dgro
> upId=org.apache.portals.jetspeed-2 -Dversion=2.1 plugin:download
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'plugin'.
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Required goal not found: plugin:download
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: < 1 second
> [INFO] Finished at: Fri Apr 27 12:44:03 IRST 2007
> [INFO] Final Memory: 1M/4M
> [INFO] ------------------------------------------------------------------------
>
>
> ---------------------------------
> Ahhh...imagining that irresistible "new car" smell?
>  Check outnew cars at Yahoo! Autos.

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


Totrial Portlet deply

Posted by Roozbeh Zabihollahi <ya...@yahoo.com>.
Dear All,
I am newby and please forgive me if my question is
silly. But please help . . .

I just read the tutorial documentation and I created a
portlet using following command:

PATH:\> mvn archetype:create    
    -DarchetypeGroupId=org.apache.portals.jetspeed-2 
    -DarchetypeArtifactId=application-archetype 
    -DarchetypeVersion=2.1-dev 
    -DgroupId=org.apache.portals.tutorials
    -DartifactId=express-demo
    -Dversion=1.0

The command created a directory containing a portlet
and some other things ( :-) ). Anyways, I build the
portlet using following command:

PATH:\> mvn

The command build the portlet and created a WAR file:
"express-demo-1.0.war". I renamed the file and copied
it to tomcat webapps folder. I had another portal
deployed named myportal in webapps folder, So, I
changed "default-page.psml" to contain this new born
portlet as well:

    <fragment id="dp-12" type="portlet"
name="express-demo::application">
      <property name="row" value="0" />
      <property name="column" value="0" />
    </fragment>                                

But I could not understand why the system is not
working. I do not know is I am going in correct way or
no. My portal (myportal) shows other portal in demo
and j2-admin correctly, but would not shows
express-demo portlets. 

Could you please tell me how I could deploy new
portlets to a portal?

Thanks in advance,
* Roozbeh

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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


Tutorial Portlet deply

Posted by Roozbeh Zabihollahi <ya...@yahoo.com>.
Dear All,
I am newby and please forgive me if my question is
silly. But please help . . .

I just read the tutorial documentation and I created a
portlet using following command:

PATH:\> mvn archetype:create    
    -DarchetypeGroupId=org.apache.portals.jetspeed-2 
    -DarchetypeArtifactId=application-archetype 
    -DarchetypeVersion=2.1-dev 
    -DgroupId=org.apache.portals.tutorials
    -DartifactId=express-demo
    -Dversion=1.0

The command created a directory containing a portlet
and some other things ( :-) ). Anyways, I build the
portlet using following command:

PATH:\> mvn

The command build the portlet and created a WAR file:
"express-demo-1.0.war". I renamed the file and copied
it to tomcat webapps folder. I had another portal
deployed named myportal in webapps folder, So, I
changed "default-page.psml" to contain this new born
portlet as well:

    <fragment id="dp-12" type="portlet"
name="express-demo::application">
      <property name="row" value="0" />
      <property name="column" value="0" />
    </fragment>                                

But I could not understand why the system is not
working. I do not know is I am going in correct way or
no. My portal (myportal) shows other portal in demo
and j2-admin correctly, but would not shows
express-demo portlets. 

Could you please tell me how I could deploy new
portlets to a portal?

Thanks in advance,
* Roozbeh

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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


Mavin Plugin - Where and How?

Posted by Johan Wasserman <jo...@yahoo.com>.
I've tried every direction in the documnetation and all suggestions, but get the following problem:
  C:\Zones\DropZone\Learn\js2\portal>mvn -DartifactId=maven-jetspeed2-plugin -Dgro
upId=org.apache.portals.jetspeed-2 -Dversion=2.1 plugin:download
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'plugin'.
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Required goal not found: plugin:download
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Fri Apr 27 12:44:03 IRST 2007
[INFO] Final Memory: 1M/4M
[INFO] ------------------------------------------------------------------------

       
---------------------------------
Ahhh...imagining that irresistible "new car" smell?
 Check outnew cars at Yahoo! Autos.

Re: JetSpeed2

Posted by Roozbeh Zabihollahi <ya...@yahoo.com>.
Dear David,
Thank you very much for the reply. Finally I could
create my decoration using binary package and changing
some parameters based on what I realized through
Tutorial. 

I checked old messages and I found a URL to
Tutorial-Resources. That was very great. I have some
progress using this file. 

There is other problem which I wants to tell you; Most
of files which maven wants to download from
repo1.maven.org fails, where www.bluesunrise.com is
very cool. I had some troubles to switch between the
frist mirror to second one, but now everything seems
cool. 

Thanks, 
* Roozbeh

--- David Sean Taylor <da...@bluesunrise.com> wrote:

> Wow, Maven can have a learning curve but thats
> brutal.
> Did you read the email a few threads back from
> yesterday regarding  
> using Ant to build?
> Would you mind trying it out ... and let us know if
> it goes better
> 
> On Apr 26, 2007, at 9:04 AM, Roozbeh Zabihollahi
> wrote:
> 
> > Dear Professionals,
> > It's been a while that I am tring to be a jetspeed
> > programmer, yet I could not even make a hello
> world
> > portlet.
> >
> > First I had lots of troubles with maven and mvn.
> Now
> > that I am familiar with them, Everytime I run
> them, I
> > will face lots of exceptions a problems.
> >
> > Here I wrote some of problems. It would be very
> much
> > appreciated, if you could do me a favor and help
> me to
> > solve these issues.
> >
> > I tried reading documentation available in
> Jetspeed2
> > http://portals.apache.org/tutorials/jetspeed-2 and
> >
>
http://portals.apache.org/jetspeed-2/getting-started.html
> > and
> >
>
http://portals.apache.org/jetspeed-2/getting-started-binary.html.
> >
> >
> > For the tutorial, when I create a new portal,
> using
> > "mvn archetype:create", I could not build it at
> all.
> > There are lots of issues, like it could not
> download
> > required items from repo1.maven.org.
> >
> > Its about a month and I did not even see a portlet
> and
> > I just busy with installing and installing. Could
> you
> > please help me find my way?
> >
> > Thanks in advance,
> > * Roozbeh
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> protection around
> > http://mail.yahoo.com
> >
> >
>
---------------------------------------------------------------------
> > 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
> 
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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


Re: JetSpeed2

Posted by David Sean Taylor <da...@bluesunrise.com>.
Wow, Maven can have a learning curve but thats brutal.
Did you read the email a few threads back from yesterday regarding  
using Ant to build?
Would you mind trying it out ... and let us know if it goes better

On Apr 26, 2007, at 9:04 AM, Roozbeh Zabihollahi wrote:

> Dear Professionals,
> It's been a while that I am tring to be a jetspeed
> programmer, yet I could not even make a hello world
> portlet.
>
> First I had lots of troubles with maven and mvn. Now
> that I am familiar with them, Everytime I run them, I
> will face lots of exceptions a problems.
>
> Here I wrote some of problems. It would be very much
> appreciated, if you could do me a favor and help me to
> solve these issues.
>
> I tried reading documentation available in Jetspeed2
> http://portals.apache.org/tutorials/jetspeed-2 and
> http://portals.apache.org/jetspeed-2/getting-started.html
> and
> http://portals.apache.org/jetspeed-2/getting-started-binary.html.
>
>
> For the tutorial, when I create a new portal, using
> "mvn archetype:create", I could not build it at all.
> There are lots of issues, like it could not download
> required items from repo1.maven.org.
>
> Its about a month and I did not even see a portlet and
> I just busy with installing and installing. Could you
> please help me find my way?
>
> Thanks in advance,
> * Roozbeh
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> ---------------------------------------------------------------------
> 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