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 David Dyer <dd...@artifact-software.com> on 2007/04/24 18:25:08 UTC
Tutorial and build problems
Having some trouble with generating the jetexpress portal as outlined in
the tutorial. I've unzipped the resources.zip from
here:http://www.bluesunrise.com/training/ to a
JetspeedTraining/resources directory as well as the jetexpress.zip to
the JetspeedTraining directory.
When I do the mvn archetype: create, the build appears to be working up
to the initialization of the velocimacro It then fails as follows:
[INFO] [archetype:create]
[INFO] Defaulting package to group ID: org.apache.portals.tutorial
Downloading:
http://repo1.maven.org/maven2/org/apache/portals/jetspeed-2/portal-
archetype/2.1-dev/portal-archetype-2.1-dev.jar
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error creating from archetype
Embedded error: Archetype does not exist: Unable to download the
artifact from a
ny repository
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.portals.jetspeed-2
-DartifactI
d=portal-archetype \
-Dversion=2.1-dev -Dpackaging=jar -Dfile=/path/to/file
org.apache.portals.jetspeed-2:portal-archetype:jar:2.1-dev
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
I've tried navigating with a browser to find the .jar file from
http://repo1.maven.org/maven2 but under
http://repo1.maven.org/maven2/org/apache/portals/jetspeed-2/ there is no
portal-archetype directory.
Can anyone advise me on where I can find the portal-archetype-2.1-dev.jar?
Thanks,
David
--
David Dyer
Artifact Software Inc.
ddyer@artifact-software.com
(514) 995-2830
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: Tutorial and build problems
Posted by David Sean Taylor <da...@bluesunrise.com>.
Hi Roozbeh,
Yes, I think the Ant Tutorial will be much easier.
Will post an email on this list as soon as it is available
On Apr 30, 2007, at 12:53 PM, Roozbeh Zabihollahi wrote:
> Dear David,
> Sorry if it is off-topic question.
>
> Could you please let me know if there is any
> documentation about this new release(like tutorials
> available for 2.1)? I thought it is new version of
> jetspeed which uses ant for building, if it is
> correct, is it suitable for such a newby like me?
>
> Thanks in advance,
> * Roozbeh
>
> --- David Sean Taylor <da...@bluesunrise.com> wrote:
>
>>
>> On Apr 26, 2007, at 6:40 PM, Nikko Gaerlan wrote:
>>
>>>
>>> hi david,
>>>
>>>
>>
> http://www.bluesunrise.com/tutorials/ant/jetexpress.zip
>>> i cant get this link.. file is missing?
>>>
>>> i'll would like to try jetspeed2 ant build..
>>>
>>> thanks.. ^^
>>>
>>> -- nikko
>>
>> Sorry, typo
>>
>> That should be
>>
>> http://www.bluesunrise.com/training/ant/
>>
>>
>>
>>
> ---------------------------------------------------------------------
>> To unsubscribe, e-mail:
>> jetspeed-user-unsubscribe@portals.apache.org
>> For additional commands, e-mail:
>> jetspeed-user-help@portals.apache.org
>>
>>
>
>
> Roozbeh Zabihollahi
> CTO - iPronto Systems
> Mobile: +98 912 323 3970
> http://www.ipronto.net
>
> __________________________________________________
> 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
Re: Tutorial and build problems
Posted by Roozbeh Zabihollahi <ya...@yahoo.com>.
Dear David,
Sorry if it is off-topic question.
Could you please let me know if there is any
documentation about this new release(like tutorials
available for 2.1)? I thought it is new version of
jetspeed which uses ant for building, if it is
correct, is it suitable for such a newby like me?
Thanks in advance,
* Roozbeh
--- David Sean Taylor <da...@bluesunrise.com> wrote:
>
> On Apr 26, 2007, at 6:40 PM, Nikko Gaerlan wrote:
>
> >
> > hi david,
> >
> >
>
http://www.bluesunrise.com/tutorials/ant/jetexpress.zip
> > i cant get this link.. file is missing?
> >
> > i'll would like to try jetspeed2 ant build..
> >
> > thanks.. ^^
> >
> > -- nikko
>
> Sorry, typo
>
> That should be
>
> http://www.bluesunrise.com/training/ant/
>
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail:
> jetspeed-user-help@portals.apache.org
>
>
Roozbeh Zabihollahi
CTO - iPronto Systems
Mobile: +98 912 323 3970
http://www.ipronto.net
__________________________________________________
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: Tutorial and build problems
Posted by David Sean Taylor <da...@bluesunrise.com>.
On Apr 26, 2007, at 6:40 PM, Nikko Gaerlan wrote:
>
> hi david,
>
> http://www.bluesunrise.com/tutorials/ant/jetexpress.zip
> i cant get this link.. file is missing?
>
> i'll would like to try jetspeed2 ant build..
>
> thanks.. ^^
>
> -- nikko
Sorry, typo
That should be
http://www.bluesunrise.com/training/ant/
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: Tutorial and build problems
Posted by Nikko Gaerlan <ni...@gmail.com>.
On 4/25/07, David Sean Taylor <da...@bluesunrise.com> wrote:
>
>
> On Apr 25, 2007, at 1:19 AM, David Dyer wrote:
>
> > David Sean Taylor wrote:
> > "Have you copied in the .setttings.xml to your ".m2" directory as
> > described here:
> >
> > http://portals.apache.org/tutorials/jetspeed-2/01/first-steps.html
> >
> > It will correctly setup the remote repos and copy resources into here
> >
> > <localRepository>/JetspeedTraining/maven/repository</
> > localRepository> "
> >
> > Yes, the .m2/settings.xml under my user profile directory is
> > configured, the only difference being the location of Tomcat, since
> > I already had an installation.
> >
> > "From that point on, its hit or miss with downloading the files,
> > keep trying if it fails "
> >
> > More like miss and miss. It looks to me that at some point http://
> > repo1.maven.org/ got restructured and some of the content is
> > missing from there. It IS, however, at http://www.bluesunrise.com/,
> > so what I'm thinking is there must be a reference in the xml
> > somewhere defining which repository to use.
> >
> Well you can always try this approach, (but Im sure you have seen it
> already on this mailing list)
> Download the entire maven repo from here:
>
> http://www.bluesunrise.com/maven2/repository.zip
>
> Be honest I can't even remember if that is a 2.1-dev or 2.1 repository
>
> Just in case you are wiling to try a new approach, I've also added a
> new Ant build here. I really prefer to support this one even though
> it has no docs:
>
> http://www.bluesunrise.com/tutorials/ant/jetexpress.zip
>
> Unzip it into /Jetspeed/workspace/jetexpress and take a look at the
> build.properties
>
> # general properties
> portal.name = jetexpress
>
> # installation properties
> installer.src.jar = /Jetspeed/installers/jetspeed-2.2-dev-installer.jar
> installer.target = ./target
> installer.dst.jar = jetexpress-installer.jar
>
> # development deployment properties
> app.server.home = /Jetspeed/server
>
> Note that the location of everything is configurable in the
> build.properties for your project
> The app.server.home needs to be the same place where you install your
> custom jetspeed into
>
> You should also DL the installer which is used as a template for the
> build here (required):
>
> http://www.bluesunrise.com/tutorials/ant/jetspeed-2.2-dev-installer.jar
>
> (Note that the installer includes Tomcat)
>
> The Ant goals available include:
>
> create.installer -- create your own custom installer
> delta - deploy decorators and pages
> deploy.webapps - deploy the sample webapps included
>
> The resources are here:
>
> http://www.bluesunrise.com/tutorials/ant/resources.zip
>
>
> After running create.installer
> You can cd dist and run the ant installer from there
>
> java -jar jetexpress-installer.jar
>
> remember to install into the same place as app.server.home
> this installs the jetexpress portal -- start up the portal just like
> any jetspeed portal
>
> cd /Jetspeed/server/bin
> ./startup.sh
> then nav to http://localhost:8080/jetexpress/portal
>
> The next step is to "customize" your portal with your own pages,
> decorators, new webapps
>
> You can recreate an installer at anytime based on your changes to the
> custom project
> So the lesson is to recreate the installer using the resources to
> show how to "customize" your portal
>
> Run the three goals to copy in the portal resources:
>
> <!-- Tutorial Resources -->
> <target name='copy-portlet-resources'>
> <target name='copy-page-resources'>
> <target name='copy-decoration-resources'>
>
> (note where the resources dir is expected under /Jetspeed/resources
> -- that should probably be configurable...)
>
> you can then build your installer again and re-install
>
> note that there are dev goals for deploying to the running portal
> without re-installing of course
> the tutorial would also show how to deploy portlet applications live
> with eclipse...
>
>
> I know this isn't the greatest docs, but I prefer to write a good
> tutorial then a one-off like this
>
> hope that helps and sorry you had such a bad maven-2 experience
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>
hi david,
http://www.bluesunrise.com/tutorials/ant/jetexpress.zip
i cant get this link.. file is missing?
i'll would like to try jetspeed2 ant build..
thanks.. ^^
-- nikko
Re: Tutorial and build problems
Posted by David Sean Taylor <da...@bluesunrise.com>.
On Apr 25, 2007, at 5:05 AM, David Dyer wrote:
> Thanks for the comments David.
> I tried downloading the Ant build package from the link you
> provided but I'm getting a 404.
>
So you followed the steps below and the result was a 404 error
What is the URL you typed in?
Send your build.properties
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: Tutorial and build problems
Posted by David Dyer <dd...@artifact-software.com>.
Thanks again David, removing that comment did the trick.
Regards,
David
David Sean Taylor wrote:
>
> On May 1, 2007, at 7:30 AM, David Dyer wrote:
>
>> Thanks for all the help so far David. And apologies in advance for
>> the length of this message.
>>
>> -----------------------------------------------------------
>> build.properties:
>>
>> # general properties
>> portal.name = jetexpress
>>
>> # installation properties
>> installer.src.jar = /Jetspeed/installers/jetspeed-2.2-dev- installer.jar
>> installer.target = ./target
>> installer.dst.jar = jetexpress-installer.jar
>>
>> # development deployment properties
>> app.server.home = /Jetspeed/server
>> -------------------------------------------------------------------
>>
> Everything looks OK except the webapps are not deployed
> There is a goal in the build.xml:
>
> <target name='deploy.webapps'>
> <!--
> <copy overwrite='true' todir="${app.server.home}/webapps/"
> file="./ webapps/express-demo.war/"/>
> -->
> <copy overwrite='true' todir="${app.server.home}/webapps/"
> file="./ webapps/jetspeed-portlets.war/"/>
> </target>
>
>
> Not sure why its commented out the first copy
> Uncomment it out and try running
>
> ant deploy.webapps
>
> (In the tutorial, this step is done via Eclipse WTP)
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>
>
>
--
David Dyer
Artifact Software Inc.
ddyer@artifact-software.com
(514) 995-2830
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: Tutorial and build problems
Posted by David Sean Taylor <da...@bluesunrise.com>.
On May 1, 2007, at 7:30 AM, David Dyer wrote:
> Thanks for all the help so far David. And apologies in advance for
> the length of this message.
>
> -----------------------------------------------------------
> build.properties:
>
> # general properties
> portal.name = jetexpress
>
> # installation properties
> installer.src.jar = /Jetspeed/installers/jetspeed-2.2-dev-
> installer.jar
> installer.target = ./target
> installer.dst.jar = jetexpress-installer.jar
>
> # development deployment properties
> app.server.home = /Jetspeed/server
> -------------------------------------------------------------------
>
Everything looks OK except the webapps are not deployed
There is a goal in the build.xml:
<target name='deploy.webapps'>
<!--
<copy overwrite='true' todir="${app.server.home}/webapps/" file="./
webapps/express-demo.war/"/>
-->
<copy overwrite='true' todir="${app.server.home}/webapps/" file="./
webapps/jetspeed-portlets.war/"/>
</target>
Not sure why its commented out the first copy
Uncomment it out and try running
ant deploy.webapps
(In the tutorial, this step is done via Eclipse WTP)
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: Add links to other portlets (LoginPortlet)
Posted by Henock Gashaw <he...@yahoo.com>.
Thanks for the quick response.
I realize that they are different webapps and hence
I've tried different urls:
/jetspeed/login
/jetspeed/portal/login and even
/jetspeed/portal/login.psml, to no avail.
They all return the same variation of the message: The
requested resource (/jpetstore/jetspeed/login) is not
available.
Thanks,
henock
--- David Sean Taylor <da...@bluesunrise.com> wrote:
>
> On May 1, 2007, at 9:08 AM, Henock Gashaw wrote:
>
> > I have Jetspeed 2 portal with a couple of petstore
> > portlets. I would like to forward the user to the
> > jetspeed's LoginPortlet (login/login.psml) instead
> of
> > the portlet's own login page.
> >
> > To do that, I replaced the link in the petstore
> > portlet's struts-config.xml file from:
> > <forward name="signon"
> > path="/shop/signonForm.shtml"/>
> > to
> > <forward name="signon" path="/login"/>
> >
> They are different webapps, you will need to forward
> on to the /
> jetspeed context
>
> > This does not work - "The requested resource
> > (/jpetstore/login) is not available".
> >
> > Could you please tell me why? Do I need to set up
> > something in the web.xml or is the link supposed
> to be
> > different?
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail:
> jetspeed-user-help@portals.apache.org
>
>
__________________________________________________
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: Add links to other portlets (LoginPortlet)
Posted by David Sean Taylor <da...@bluesunrise.com>.
On May 1, 2007, at 9:08 AM, Henock Gashaw wrote:
> I have Jetspeed 2 portal with a couple of petstore
> portlets. I would like to forward the user to the
> jetspeed's LoginPortlet (login/login.psml) instead of
> the portlet's own login page.
>
> To do that, I replaced the link in the petstore
> portlet's struts-config.xml file from:
> <forward name="signon"
> path="/shop/signonForm.shtml"/>
> to
> <forward name="signon" path="/login"/>
>
They are different webapps, you will need to forward on to the /
jetspeed context
> This does not work - "The requested resource
> (/jpetstore/login) is not available".
>
> Could you please tell me why? Do I need to set up
> something in the web.xml or is the link supposed to be
> different?
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Add links to other portlets (LoginPortlet)
Posted by Henock Gashaw <he...@yahoo.com>.
I have Jetspeed 2 portal with a couple of petstore
portlets. I would like to forward the user to the
jetspeed's LoginPortlet (login/login.psml) instead of
the portlet's own login page.
To do that, I replaced the link in the petstore
portlet's struts-config.xml file from:
<forward name="signon"
path="/shop/signonForm.shtml"/>
to
<forward name="signon" path="/login"/>
This does not work - "The requested resource
(/jpetstore/login) is not available".
Could you please tell me why? Do I need to set up
something in the web.xml or is the link supposed to be
different?
Thanks,
henock
--- David Dyer <dd...@artifact-software.com> wrote:
> Thanks for all the help so far David. And apologies
> in advance for the
> length of this message.
>
>
-----------------------------------------------------------
> build.properties:
>
> # general properties
> portal.name = jetexpress
>
> # installation properties
> installer.src.jar =
> /Jetspeed/installers/jetspeed-2.2-dev-installer.jar
> installer.target = ./target
> installer.dst.jar = jetexpress-installer.jar
>
> # development deployment properties
> app.server.home = /Jetspeed/server
>
-------------------------------------------------------------------
>
> I'm not using a directory structure including
> JetspeedTraining.
> Everything is in a directory call Jetspeed on C:
> Directory Structure is as follows:
> *C:\Jetspeed*
> >installers
> >jetspeed-2.2-dev-installer.jar
> >resources
> >applications
> >express-demo
> >src
> >WebContent
> >.DS_Store
> >decorations
> >pages
> >seed-data
> * >server*
> >bin
> >common
> >conf
> >database
> >logs
> >server
> >shared
> >temp
> * >webapps
> >j2-admin
> >jetexpress
> >jetspeed-portlets
> >ROOT
> >j2-admin.war
> >jetspeed-portlets.war
> *
> >work
> * >workspace * *
> * / >express-demo
> >src
> >WebContent
> / >jetexpress
> *>build.xml*
> >build.properties
> >.DS_Store
> >dist
> >src
> >target
> * >webapps
> >express-demo.war
> >jetspeed-portlets.war*
>
>
>
> The express-demo directory is, I believe, created by
> this line in the
> build.xml: /<copy todir="../express-demo/"
> overwrite="true">/ which puts
> the express-demo directory at least one level too
> high as the
> create.installer build target never looks there.
>
> Regards,
>
> David Dyer
>
> David Sean Taylor wrote:
>
> > Hi David,
> >
> > Sounds like the PAs are not being deployed to the
> right place.
> > Could you send to this list:
> >
> > 1. your build.properties
> > 2. directory listing of
> /JetspeedTraining/workspace/jetexpress/webapps
> > 3. directory listing of
> /JetspeedTraining/servers/webapps
> >
> > or anything else you think is relevant
> >
> > On Apr 26, 2007, at 4:47 PM, David Dyer wrote:
> >
> >> Thanks David. I'm moving forward now. I've
> actually managed to build
> >> the jetexpress portal.
> >>
> >> On the first build/deployment all the portlets
> except the login
> >> contain error messages similar to this:
> >>
> >> "Failed to retrieve Portlet Definition for
> express-
> >> demo::WelcomeJetExpressAccess Denied.Failed to
> retrieve Portlet
> >> Definition for
> express-demo::WelcomeJetExpressFailed to retrieve
> >> Portlet Definition for
> express-demo::WelcomeJetExpressFailed to
> >> retrieve Portlet Definition for express-
> >> demo::WelcomeJetExpressFailed to retrieve Portlet
> Definition for
> >> express-demo::WelcomeJetExpressFailed to retrieve
> Portlet Definition
> >> for express-demo::WelcomeJetExpress"
> >>
> >> So, I assume that this is because they haven't
> been deployed yet.
> >>
> >> I shut down tomcat, cd'd to
> /Jetspeed/workspace/jetexpress and ran
> >> the copy-portlet-resources, copy-page-resources,
> copy-decoration-
> >> resources Ant targets. The copy-portlet-resources
> creates a
> >> subdirectory under workspace called
> "express-demo" at the same
> >> level as "jetexpress". However none of the
> targets in the
> >> create.install actually pick up it's contents.
> Should the location
> >> of express-demo in the workspace be somewhere
> inside "jetexpress"?
> >> Do we need to add a target to the build file?
> >>
> >> I've also tried the delta and deploy.webapps
> targets and then
> >> rebuilding the installer doing the java -jar and
> restarting tomcat.
> >>
> >> Any advice?
> >>
> >> David
> >>
> >> David Dyer wrote:
> >>
> >>> Thanks for the comments David.
> >>> I tried downloading the Ant build package from
> the link you
> >>> provided but I'm getting a 404.
> >>>
> >>> Regards,
> >>> David
> >>>
> >>> David Sean Taylor wrote:
> >>>
> >>>>
> >>>> On Apr 25, 2007, at 1:19 AM, David Dyer wrote:
> >>>>
> >>>>> David Sean Taylor wrote:
> >>>>> "Have you copied in the .setttings.xml to your
> ".m2" directory
> >>>>> as described here:
> >>>>>
> >>>>>
>
http://portals.apache.org/tutorials/jetspeed-2/01/first-steps.html
> >>>>>
> >>>>> It will correctly setup the remote repos and
> copy resources into
> >>>>> here
> >>>>>
> >>>>>
>
<localRepository>/JetspeedTraining/maven/repository</
>
> >>>>> localRepository> "
> >>>>>
> >>>>> Yes, the .m2/settings.xml under my user
> profile directory is
> >>>>> configured, the only difference being the
> location of Tomcat,
> >>>>> since I already had an installation.
> >>>>>
> >>>>> "From that point on, its hit or miss with
> downloading the files,
> >>>>> keep trying if it fails "
> >>>>>
> >>>>> More like miss and miss. It looks to me that
> at some point
> >>>>> http:// repo1.maven.org/ got restructured and
> some of the content
> >>>>> is missing from there. It IS, however, at
> http://
> >>>>> www.bluesunrise.com/, so what I'm thinking is
> there
=== message truncated ===
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam
protection around
http://mail.yahoo.com
__________________________________________________
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: Tutorial and build problems
Posted by David Dyer <dd...@artifact-software.com>.
Thanks for all the help so far David. And apologies in advance for the
length of this message.
-----------------------------------------------------------
build.properties:
# general properties
portal.name = jetexpress
# installation properties
installer.src.jar = /Jetspeed/installers/jetspeed-2.2-dev-installer.jar
installer.target = ./target
installer.dst.jar = jetexpress-installer.jar
# development deployment properties
app.server.home = /Jetspeed/server
-------------------------------------------------------------------
I'm not using a directory structure including JetspeedTraining.
Everything is in a directory call Jetspeed on C:
Directory Structure is as follows:
*C:\Jetspeed*
>installers
>jetspeed-2.2-dev-installer.jar
>resources
>applications
>express-demo
>src
>WebContent
>.DS_Store
>decorations
>pages
>seed-data
* >server*
>bin
>common
>conf
>database
>logs
>server
>shared
>temp
* >webapps
>j2-admin
>jetexpress
>jetspeed-portlets
>ROOT
>j2-admin.war
>jetspeed-portlets.war *
>work
* >workspace * *
* / >express-demo
>src
>WebContent
/ >jetexpress
*>build.xml*
>build.properties
>.DS_Store
>dist
>src
>target
* >webapps
>express-demo.war
>jetspeed-portlets.war*
The express-demo directory is, I believe, created by this line in the
build.xml: /<copy todir="../express-demo/" overwrite="true">/ which puts
the express-demo directory at least one level too high as the
create.installer build target never looks there.
Regards,
David Dyer
David Sean Taylor wrote:
> Hi David,
>
> Sounds like the PAs are not being deployed to the right place.
> Could you send to this list:
>
> 1. your build.properties
> 2. directory listing of /JetspeedTraining/workspace/jetexpress/webapps
> 3. directory listing of /JetspeedTraining/servers/webapps
>
> or anything else you think is relevant
>
> On Apr 26, 2007, at 4:47 PM, David Dyer wrote:
>
>> Thanks David. I'm moving forward now. I've actually managed to build
>> the jetexpress portal.
>>
>> On the first build/deployment all the portlets except the login
>> contain error messages similar to this:
>>
>> "Failed to retrieve Portlet Definition for express-
>> demo::WelcomeJetExpressAccess Denied.Failed to retrieve Portlet
>> Definition for express-demo::WelcomeJetExpressFailed to retrieve
>> Portlet Definition for express-demo::WelcomeJetExpressFailed to
>> retrieve Portlet Definition for express-
>> demo::WelcomeJetExpressFailed to retrieve Portlet Definition for
>> express-demo::WelcomeJetExpressFailed to retrieve Portlet Definition
>> for express-demo::WelcomeJetExpress"
>>
>> So, I assume that this is because they haven't been deployed yet.
>>
>> I shut down tomcat, cd'd to /Jetspeed/workspace/jetexpress and ran
>> the copy-portlet-resources, copy-page-resources, copy-decoration-
>> resources Ant targets. The copy-portlet-resources creates a
>> subdirectory under workspace called "express-demo" at the same
>> level as "jetexpress". However none of the targets in the
>> create.install actually pick up it's contents. Should the location
>> of express-demo in the workspace be somewhere inside "jetexpress"?
>> Do we need to add a target to the build file?
>>
>> I've also tried the delta and deploy.webapps targets and then
>> rebuilding the installer doing the java -jar and restarting tomcat.
>>
>> Any advice?
>>
>> David
>>
>> David Dyer wrote:
>>
>>> Thanks for the comments David.
>>> I tried downloading the Ant build package from the link you
>>> provided but I'm getting a 404.
>>>
>>> Regards,
>>> David
>>>
>>> David Sean Taylor wrote:
>>>
>>>>
>>>> On Apr 25, 2007, at 1:19 AM, David Dyer wrote:
>>>>
>>>>> David Sean Taylor wrote:
>>>>> "Have you copied in the .setttings.xml to your ".m2" directory
>>>>> as described here:
>>>>>
>>>>> http://portals.apache.org/tutorials/jetspeed-2/01/first-steps.html
>>>>>
>>>>> It will correctly setup the remote repos and copy resources into
>>>>> here
>>>>>
>>>>> <localRepository>/JetspeedTraining/maven/repository</
>>>>> localRepository> "
>>>>>
>>>>> Yes, the .m2/settings.xml under my user profile directory is
>>>>> configured, the only difference being the location of Tomcat,
>>>>> since I already had an installation.
>>>>>
>>>>> "From that point on, its hit or miss with downloading the files,
>>>>> keep trying if it fails "
>>>>>
>>>>> More like miss and miss. It looks to me that at some point
>>>>> http:// repo1.maven.org/ got restructured and some of the content
>>>>> is missing from there. It IS, however, at http://
>>>>> www.bluesunrise.com/, so what I'm thinking is there must be a
>>>>> reference in the xml somewhere defining which repository to use.
>>>>>
>>>> Well you can always try this approach, (but Im sure you have seen
>>>> it already on this mailing list)
>>>> Download the entire maven repo from here:
>>>>
>>>> http://www.bluesunrise.com/maven2/repository.zip
>>>>
>>>> Be honest I can't even remember if that is a 2.1-dev or 2.1
>>>> repository
>>>>
>>>> Just in case you are wiling to try a new approach, I've also added
>>>> a new Ant build here. I really prefer to support this one even
>>>> though it has no docs:
>>>>
>>>> http://www.bluesunrise.com/tutorials/ant/jetexpress.zip
>>>>
>>>> Unzip it into /Jetspeed/workspace/jetexpress and take a look at
>>>> the build.properties
>>>>
>>>> # general properties
>>>> portal.name = jetexpress
>>>>
>>>> # installation properties
>>>> installer.src.jar = /Jetspeed/installers/jetspeed-2.2-dev-
>>>> installer.jar
>>>> installer.target = ./target
>>>> installer.dst.jar = jetexpress-installer.jar
>>>>
>>>> # development deployment properties
>>>> app.server.home = /Jetspeed/server
>>>>
>>>> Note that the location of everything is configurable in the
>>>> build.properties for your project
>>>> The app.server.home needs to be the same place where you install
>>>> your custom jetspeed into
>>>>
>>>> You should also DL the installer which is used as a template for
>>>> the build here (required):
>>>>
>>>> http://www.bluesunrise.com/tutorials/ant/jetspeed-2.2-dev-
>>>> installer.jar
>>>>
>>>> (Note that the installer includes Tomcat)
>>>>
>>>> The Ant goals available include:
>>>>
>>>> create.installer -- create your own custom installer
>>>> delta - deploy decorators and pages
>>>> deploy.webapps - deploy the sample webapps included
>>>>
>>>> The resources are here:
>>>>
>>>> http://www.bluesunrise.com/tutorials/ant/resources.zip
>>>>
>>>>
>>>> After running create.installer
>>>> You can cd dist and run the ant installer from there
>>>>
>>>> java -jar jetexpress-installer.jar
>>>>
>>>> remember to install into the same place as app.server.home
>>>> this installs the jetexpress portal -- start up the portal just
>>>> like any jetspeed portal
>>>>
>>>> cd /Jetspeed/server/bin
>>>> ./startup.sh
>>>> then nav to http://localhost:8080/jetexpress/portal
>>>>
>>>> The next step is to "customize" your portal with your own pages,
>>>> decorators, new webapps
>>>>
>>>> You can recreate an installer at anytime based on your changes to
>>>> the custom project
>>>> So the lesson is to recreate the installer using the resources to
>>>> show how to "customize" your portal
>>>>
>>>> Run the three goals to copy in the portal resources:
>>>>
>>>> <!-- Tutorial Resources -->
>>>> <target name='copy-portlet-resources'>
>>>> <target name='copy-page-resources'>
>>>> <target name='copy-decoration-resources'>
>>>>
>>>> (note where the resources dir is expected under /Jetspeed/
>>>> resources -- that should probably be configurable...)
>>>>
>>>> you can then build your installer again and re-install
>>>>
>>>> note that there are dev goals for deploying to the running portal
>>>> without re-installing of course
>>>> the tutorial would also show how to deploy portlet applications
>>>> live with eclipse...
>>>>
>>>>
>>>> I know this isn't the greatest docs, but I prefer to write a good
>>>> tutorial then a one-off like this
>>>>
>>>> hope that helps and sorry you had such a bad maven-2 experience
>>>>
>>>>
>>>> -------------------------------------------------------------------- -
>>>> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
>>>> For additional commands, e-mail: jetspeed-user-
>>>> help@portals.apache.org
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>> --
>> David Dyer
>> Artifact Software Inc.
>> ddyer@artifact-software.com
>> (514) 995-2830
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
>> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>>
>>
>
>------------------------------------------------------------------------
>
>No virus found in this incoming message.
>Checked by AVG Free Edition.
>Version: 7.5.467 / Virus Database: 269.6.2/781 - Release Date: 30/04/2007 9:14 AM
>
>
--
David Dyer
Artifact Software Inc.
ddyer@artifact-software.com
(514) 995-2830
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: Tutorial and build problems
Posted by David Sean Taylor <da...@bluesunrise.com>.
Hi David,
Sounds like the PAs are not being deployed to the right place.
Could you send to this list:
1. your build.properties
2. directory listing of /JetspeedTraining/workspace/jetexpress/webapps
3. directory listing of /JetspeedTraining/servers/webapps
or anything else you think is relevant
On Apr 26, 2007, at 4:47 PM, David Dyer wrote:
> Thanks David. I'm moving forward now. I've actually managed to
> build the jetexpress portal.
>
> On the first build/deployment all the portlets except the login
> contain error messages similar to this:
>
> "Failed to retrieve Portlet Definition for express-
> demo::WelcomeJetExpressAccess Denied.Failed to retrieve Portlet
> Definition for express-demo::WelcomeJetExpressFailed to retrieve
> Portlet Definition for express-demo::WelcomeJetExpressFailed to
> retrieve Portlet Definition for express-
> demo::WelcomeJetExpressFailed to retrieve Portlet Definition for
> express-demo::WelcomeJetExpressFailed to retrieve Portlet
> Definition for express-demo::WelcomeJetExpress"
>
> So, I assume that this is because they haven't been deployed yet.
>
> I shut down tomcat, cd'd to /Jetspeed/workspace/jetexpress and ran
> the copy-portlet-resources, copy-page-resources, copy-decoration-
> resources Ant targets. The copy-portlet-resources creates a
> subdirectory under workspace called "express-demo" at the same
> level as "jetexpress". However none of the targets in the
> create.install actually pick up it's contents. Should the location
> of express-demo in the workspace be somewhere inside "jetexpress"?
> Do we need to add a target to the build file?
>
> I've also tried the delta and deploy.webapps targets and then
> rebuilding the installer doing the java -jar and restarting tomcat.
>
> Any advice?
>
> David
>
> David Dyer wrote:
>
>> Thanks for the comments David.
>> I tried downloading the Ant build package from the link you
>> provided but I'm getting a 404.
>>
>> Regards,
>> David
>>
>> David Sean Taylor wrote:
>>
>>>
>>> On Apr 25, 2007, at 1:19 AM, David Dyer wrote:
>>>
>>>> David Sean Taylor wrote:
>>>> "Have you copied in the .setttings.xml to your ".m2" directory
>>>> as described here:
>>>>
>>>> http://portals.apache.org/tutorials/jetspeed-2/01/first-steps.html
>>>>
>>>> It will correctly setup the remote repos and copy resources into
>>>> here
>>>>
>>>> <localRepository>/JetspeedTraining/maven/repository</
>>>> localRepository> "
>>>>
>>>> Yes, the .m2/settings.xml under my user profile directory is
>>>> configured, the only difference being the location of Tomcat,
>>>> since I already had an installation.
>>>>
>>>> "From that point on, its hit or miss with downloading the
>>>> files, keep trying if it fails "
>>>>
>>>> More like miss and miss. It looks to me that at some point
>>>> http:// repo1.maven.org/ got restructured and some of the
>>>> content is missing from there. It IS, however, at http://
>>>> www.bluesunrise.com/, so what I'm thinking is there must be a
>>>> reference in the xml somewhere defining which repository to use.
>>>>
>>> Well you can always try this approach, (but Im sure you have seen
>>> it already on this mailing list)
>>> Download the entire maven repo from here:
>>>
>>> http://www.bluesunrise.com/maven2/repository.zip
>>>
>>> Be honest I can't even remember if that is a 2.1-dev or 2.1
>>> repository
>>>
>>> Just in case you are wiling to try a new approach, I've also
>>> added a new Ant build here. I really prefer to support this one
>>> even though it has no docs:
>>>
>>> http://www.bluesunrise.com/tutorials/ant/jetexpress.zip
>>>
>>> Unzip it into /Jetspeed/workspace/jetexpress and take a look at
>>> the build.properties
>>>
>>> # general properties
>>> portal.name = jetexpress
>>>
>>> # installation properties
>>> installer.src.jar = /Jetspeed/installers/jetspeed-2.2-dev-
>>> installer.jar
>>> installer.target = ./target
>>> installer.dst.jar = jetexpress-installer.jar
>>>
>>> # development deployment properties
>>> app.server.home = /Jetspeed/server
>>>
>>> Note that the location of everything is configurable in the
>>> build.properties for your project
>>> The app.server.home needs to be the same place where you install
>>> your custom jetspeed into
>>>
>>> You should also DL the installer which is used as a template for
>>> the build here (required):
>>>
>>> http://www.bluesunrise.com/tutorials/ant/jetspeed-2.2-dev-
>>> installer.jar
>>>
>>> (Note that the installer includes Tomcat)
>>>
>>> The Ant goals available include:
>>>
>>> create.installer -- create your own custom installer
>>> delta - deploy decorators and pages
>>> deploy.webapps - deploy the sample webapps included
>>>
>>> The resources are here:
>>>
>>> http://www.bluesunrise.com/tutorials/ant/resources.zip
>>>
>>>
>>> After running create.installer
>>> You can cd dist and run the ant installer from there
>>>
>>> java -jar jetexpress-installer.jar
>>>
>>> remember to install into the same place as app.server.home
>>> this installs the jetexpress portal -- start up the portal just
>>> like any jetspeed portal
>>>
>>> cd /Jetspeed/server/bin
>>> ./startup.sh
>>> then nav to http://localhost:8080/jetexpress/portal
>>>
>>> The next step is to "customize" your portal with your own pages,
>>> decorators, new webapps
>>>
>>> You can recreate an installer at anytime based on your changes to
>>> the custom project
>>> So the lesson is to recreate the installer using the resources
>>> to show how to "customize" your portal
>>>
>>> Run the three goals to copy in the portal resources:
>>>
>>> <!-- Tutorial Resources -->
>>> <target name='copy-portlet-resources'>
>>> <target name='copy-page-resources'>
>>> <target name='copy-decoration-resources'>
>>>
>>> (note where the resources dir is expected under /Jetspeed/
>>> resources -- that should probably be configurable...)
>>>
>>> you can then build your installer again and re-install
>>>
>>> note that there are dev goals for deploying to the running
>>> portal without re-installing of course
>>> the tutorial would also show how to deploy portlet applications
>>> live with eclipse...
>>>
>>>
>>> I know this isn't the greatest docs, but I prefer to write a
>>> good tutorial then a one-off like this
>>>
>>> hope that helps and sorry you had such a bad maven-2 experience
>>>
>>>
>>> --------------------------------------------------------------------
>>> -
>>> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
>>> For additional commands, e-mail: jetspeed-user-
>>> help@portals.apache.org
>>>
>>>
>>>
>>>
>>
>>
>
>
> --
> David Dyer
> Artifact Software Inc.
> ddyer@artifact-software.com
> (514) 995-2830
>
>
> ---------------------------------------------------------------------
> 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: Tutorial and build problems
Posted by David Dyer <dd...@artifact-software.com>.
Thanks David. I'm moving forward now. I've actually managed to build the
jetexpress portal.
On the first build/deployment all the portlets except the login contain
error messages similar to this:
"Failed to retrieve Portlet Definition for
express-demo::WelcomeJetExpressAccess Denied.Failed to retrieve Portlet
Definition for express-demo::WelcomeJetExpressFailed to retrieve Portlet
Definition for express-demo::WelcomeJetExpressFailed to retrieve Portlet
Definition for express-demo::WelcomeJetExpressFailed to retrieve Portlet
Definition for express-demo::WelcomeJetExpressFailed to retrieve Portlet
Definition for express-demo::WelcomeJetExpress"
So, I assume that this is because they haven't been deployed yet.
I shut down tomcat, cd'd to /Jetspeed/workspace/jetexpress and ran the
copy-portlet-resources, copy-page-resources, copy-decoration-resources
Ant targets. The copy-portlet-resources creates a subdirectory under
workspace called "express-demo" at the same level as "jetexpress".
However none of the targets in the create.install actually pick up it's
contents. Should the location of express-demo in the workspace be
somewhere inside "jetexpress"? Do we need to add a target to the build file?
I've also tried the delta and deploy.webapps targets and then rebuilding
the installer doing the java -jar and restarting tomcat.
Any advice?
David
David Dyer wrote:
> Thanks for the comments David.
> I tried downloading the Ant build package from the link you provided
> but I'm getting a 404.
>
> Regards,
> David
>
> David Sean Taylor wrote:
>
>>
>> On Apr 25, 2007, at 1:19 AM, David Dyer wrote:
>>
>>> David Sean Taylor wrote:
>>> "Have you copied in the .setttings.xml to your ".m2" directory as
>>> described here:
>>>
>>> http://portals.apache.org/tutorials/jetspeed-2/01/first-steps.html
>>>
>>> It will correctly setup the remote repos and copy resources into here
>>>
>>> <localRepository>/JetspeedTraining/maven/repository</
>>> localRepository> "
>>>
>>> Yes, the .m2/settings.xml under my user profile directory is
>>> configured, the only difference being the location of Tomcat, since
>>> I already had an installation.
>>>
>>> "From that point on, its hit or miss with downloading the files,
>>> keep trying if it fails "
>>>
>>> More like miss and miss. It looks to me that at some point http://
>>> repo1.maven.org/ got restructured and some of the content is
>>> missing from there. It IS, however, at http://www.bluesunrise.com/,
>>> so what I'm thinking is there must be a reference in the xml
>>> somewhere defining which repository to use.
>>>
>> Well you can always try this approach, (but Im sure you have seen it
>> already on this mailing list)
>> Download the entire maven repo from here:
>>
>> http://www.bluesunrise.com/maven2/repository.zip
>>
>> Be honest I can't even remember if that is a 2.1-dev or 2.1 repository
>>
>> Just in case you are wiling to try a new approach, I've also added a
>> new Ant build here. I really prefer to support this one even though
>> it has no docs:
>>
>> http://www.bluesunrise.com/tutorials/ant/jetexpress.zip
>>
>> Unzip it into /Jetspeed/workspace/jetexpress and take a look at the
>> build.properties
>>
>> # general properties
>> portal.name = jetexpress
>>
>> # installation properties
>> installer.src.jar = /Jetspeed/installers/jetspeed-2.2-dev-installer.jar
>> installer.target = ./target
>> installer.dst.jar = jetexpress-installer.jar
>>
>> # development deployment properties
>> app.server.home = /Jetspeed/server
>>
>> Note that the location of everything is configurable in the
>> build.properties for your project
>> The app.server.home needs to be the same place where you install
>> your custom jetspeed into
>>
>> You should also DL the installer which is used as a template for the
>> build here (required):
>>
>> http://www.bluesunrise.com/tutorials/ant/jetspeed-2.2-dev-installer.jar
>>
>> (Note that the installer includes Tomcat)
>>
>> The Ant goals available include:
>>
>> create.installer -- create your own custom installer
>> delta - deploy decorators and pages
>> deploy.webapps - deploy the sample webapps included
>>
>> The resources are here:
>>
>> http://www.bluesunrise.com/tutorials/ant/resources.zip
>>
>>
>> After running create.installer
>> You can cd dist and run the ant installer from there
>>
>> java -jar jetexpress-installer.jar
>>
>> remember to install into the same place as app.server.home
>> this installs the jetexpress portal -- start up the portal just like
>> any jetspeed portal
>>
>> cd /Jetspeed/server/bin
>> ./startup.sh
>> then nav to http://localhost:8080/jetexpress/portal
>>
>> The next step is to "customize" your portal with your own pages,
>> decorators, new webapps
>>
>> You can recreate an installer at anytime based on your changes to
>> the custom project
>> So the lesson is to recreate the installer using the resources to
>> show how to "customize" your portal
>>
>> Run the three goals to copy in the portal resources:
>>
>> <!-- Tutorial Resources -->
>> <target name='copy-portlet-resources'>
>> <target name='copy-page-resources'>
>> <target name='copy-decoration-resources'>
>>
>> (note where the resources dir is expected under /Jetspeed/resources
>> -- that should probably be configurable...)
>>
>> you can then build your installer again and re-install
>>
>> note that there are dev goals for deploying to the running portal
>> without re-installing of course
>> the tutorial would also show how to deploy portlet applications live
>> with eclipse...
>>
>>
>> I know this isn't the greatest docs, but I prefer to write a good
>> tutorial then a one-off like this
>>
>> hope that helps and sorry you had such a bad maven-2 experience
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
>> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>>
>>
>>
>>
>
>
--
David Dyer
Artifact Software Inc.
ddyer@artifact-software.com
(514) 995-2830
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: Tutorial and build problems
Posted by David Dyer <dd...@artifact-software.com>.
Thanks for the comments David.
I tried downloading the Ant build package from the link you provided
but I'm getting a 404.
Regards,
David
David Sean Taylor wrote:
>
> On Apr 25, 2007, at 1:19 AM, David Dyer wrote:
>
>> David Sean Taylor wrote:
>> "Have you copied in the .setttings.xml to your ".m2" directory as
>> described here:
>>
>> http://portals.apache.org/tutorials/jetspeed-2/01/first-steps.html
>>
>> It will correctly setup the remote repos and copy resources into here
>>
>> <localRepository>/JetspeedTraining/maven/repository</
>> localRepository> "
>>
>> Yes, the .m2/settings.xml under my user profile directory is
>> configured, the only difference being the location of Tomcat, since
>> I already had an installation.
>>
>> "From that point on, its hit or miss with downloading the files,
>> keep trying if it fails "
>>
>> More like miss and miss. It looks to me that at some point http://
>> repo1.maven.org/ got restructured and some of the content is missing
>> from there. It IS, however, at http://www.bluesunrise.com/, so what
>> I'm thinking is there must be a reference in the xml somewhere
>> defining which repository to use.
>>
> Well you can always try this approach, (but Im sure you have seen it
> already on this mailing list)
> Download the entire maven repo from here:
>
> http://www.bluesunrise.com/maven2/repository.zip
>
> Be honest I can't even remember if that is a 2.1-dev or 2.1 repository
>
> Just in case you are wiling to try a new approach, I've also added a
> new Ant build here. I really prefer to support this one even though
> it has no docs:
>
> http://www.bluesunrise.com/tutorials/ant/jetexpress.zip
>
> Unzip it into /Jetspeed/workspace/jetexpress and take a look at the
> build.properties
>
> # general properties
> portal.name = jetexpress
>
> # installation properties
> installer.src.jar = /Jetspeed/installers/jetspeed-2.2-dev-installer.jar
> installer.target = ./target
> installer.dst.jar = jetexpress-installer.jar
>
> # development deployment properties
> app.server.home = /Jetspeed/server
>
> Note that the location of everything is configurable in the
> build.properties for your project
> The app.server.home needs to be the same place where you install your
> custom jetspeed into
>
> You should also DL the installer which is used as a template for the
> build here (required):
>
> http://www.bluesunrise.com/tutorials/ant/jetspeed-2.2-dev-installer.jar
>
> (Note that the installer includes Tomcat)
>
> The Ant goals available include:
>
> create.installer -- create your own custom installer
> delta - deploy decorators and pages
> deploy.webapps - deploy the sample webapps included
>
> The resources are here:
>
> http://www.bluesunrise.com/tutorials/ant/resources.zip
>
>
> After running create.installer
> You can cd dist and run the ant installer from there
>
> java -jar jetexpress-installer.jar
>
> remember to install into the same place as app.server.home
> this installs the jetexpress portal -- start up the portal just like
> any jetspeed portal
>
> cd /Jetspeed/server/bin
> ./startup.sh
> then nav to http://localhost:8080/jetexpress/portal
>
> The next step is to "customize" your portal with your own pages,
> decorators, new webapps
>
> You can recreate an installer at anytime based on your changes to the
> custom project
> So the lesson is to recreate the installer using the resources to
> show how to "customize" your portal
>
> Run the three goals to copy in the portal resources:
>
> <!-- Tutorial Resources -->
> <target name='copy-portlet-resources'>
> <target name='copy-page-resources'>
> <target name='copy-decoration-resources'>
>
> (note where the resources dir is expected under /Jetspeed/resources
> -- that should probably be configurable...)
>
> you can then build your installer again and re-install
>
> note that there are dev goals for deploying to the running portal
> without re-installing of course
> the tutorial would also show how to deploy portlet applications live
> with eclipse...
>
>
> I know this isn't the greatest docs, but I prefer to write a good
> tutorial then a one-off like this
>
> hope that helps and sorry you had such a bad maven-2 experience
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>
>
>
--
David Dyer
Artifact Software Inc.
ddyer@artifact-software.com
(514) 995-2830
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: Tutorial and build problems
Posted by David Sean Taylor <da...@bluesunrise.com>.
On Apr 25, 2007, at 1:19 AM, David Dyer wrote:
> David Sean Taylor wrote:
> "Have you copied in the .setttings.xml to your ".m2" directory as
> described here:
>
> http://portals.apache.org/tutorials/jetspeed-2/01/first-steps.html
>
> It will correctly setup the remote repos and copy resources into here
>
> <localRepository>/JetspeedTraining/maven/repository</
> localRepository> "
>
> Yes, the .m2/settings.xml under my user profile directory is
> configured, the only difference being the location of Tomcat, since
> I already had an installation.
>
> "From that point on, its hit or miss with downloading the files,
> keep trying if it fails "
>
> More like miss and miss. It looks to me that at some point http://
> repo1.maven.org/ got restructured and some of the content is
> missing from there. It IS, however, at http://www.bluesunrise.com/,
> so what I'm thinking is there must be a reference in the xml
> somewhere defining which repository to use.
>
Well you can always try this approach, (but Im sure you have seen it
already on this mailing list)
Download the entire maven repo from here:
http://www.bluesunrise.com/maven2/repository.zip
Be honest I can't even remember if that is a 2.1-dev or 2.1 repository
Just in case you are wiling to try a new approach, I've also added a
new Ant build here. I really prefer to support this one even though
it has no docs:
http://www.bluesunrise.com/tutorials/ant/jetexpress.zip
Unzip it into /Jetspeed/workspace/jetexpress and take a look at the
build.properties
# general properties
portal.name = jetexpress
# installation properties
installer.src.jar = /Jetspeed/installers/jetspeed-2.2-dev-installer.jar
installer.target = ./target
installer.dst.jar = jetexpress-installer.jar
# development deployment properties
app.server.home = /Jetspeed/server
Note that the location of everything is configurable in the
build.properties for your project
The app.server.home needs to be the same place where you install your
custom jetspeed into
You should also DL the installer which is used as a template for the
build here (required):
http://www.bluesunrise.com/tutorials/ant/jetspeed-2.2-dev-installer.jar
(Note that the installer includes Tomcat)
The Ant goals available include:
create.installer -- create your own custom installer
delta - deploy decorators and pages
deploy.webapps - deploy the sample webapps included
The resources are here:
http://www.bluesunrise.com/tutorials/ant/resources.zip
After running create.installer
You can cd dist and run the ant installer from there
java -jar jetexpress-installer.jar
remember to install into the same place as app.server.home
this installs the jetexpress portal -- start up the portal just like
any jetspeed portal
cd /Jetspeed/server/bin
./startup.sh
then nav to http://localhost:8080/jetexpress/portal
The next step is to "customize" your portal with your own pages,
decorators, new webapps
You can recreate an installer at anytime based on your changes to the
custom project
So the lesson is to recreate the installer using the resources to
show how to "customize" your portal
Run the three goals to copy in the portal resources:
<!-- Tutorial Resources -->
<target name='copy-portlet-resources'>
<target name='copy-page-resources'>
<target name='copy-decoration-resources'>
(note where the resources dir is expected under /Jetspeed/resources
-- that should probably be configurable...)
you can then build your installer again and re-install
note that there are dev goals for deploying to the running portal
without re-installing of course
the tutorial would also show how to deploy portlet applications live
with eclipse...
I know this isn't the greatest docs, but I prefer to write a good
tutorial then a one-off like this
hope that helps and sorry you had such a bad maven-2 experience
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: Tutorial and build problems
Posted by David Dyer <dd...@artifact-software.com>.
David Sean Taylor wrote:
"Have you copied in the .setttings.xml to your ".m2" directory as
described here:
http://portals.apache.org/tutorials/jetspeed-2/01/first-steps.html
It will correctly setup the remote repos and copy resources into here
<localRepository>/JetspeedTraining/maven/repository</ localRepository> "
Yes, the .m2/settings.xml under my user profile directory is configured,
the only difference being the location of Tomcat, since I already had an
installation.
"From that point on, its hit or miss with downloading the files, keep
trying if it fails "
More like miss and miss. It looks to me that at some point
http://repo1.maven.org/ got restructured and some of the content is
missing from there. It IS, however, at http://www.bluesunrise.com/, so
what I'm thinking is there must be a reference in the xml somewhere
defining which repository to use.
I've checked the pom.xml in C:\JetspeedTraining\workspace\jetexpress,
where I found this:
<repositories>
<repository>
<id>com.bluesunrise.m2</id>
<name>Maven2 BlueSunrise</name>
<url>http://www.bluesunrise.com/maven2</url>
</repository>
<repository>
<id>central</id>
<name>Maven Repository Switchboard</name>
<url>http://repo1.maven.org/maven2</url>
</repository>
<repository>
<id>com.bluesunrise.m1</id>
<name>Maven1 BlueSunrise</name>
<url>http://www.bluesunrise.com/maven</url>
<layout>legacy</layout>
</repository>
<repository>
<id>org.codehaus</id>
<name>Maven1 Codehaus</name>
<url>http://dist.codehaus.org</url>
<layout>legacy</layout>
</repository>
<repository>
<id>org.apache</id>
<name>Maven1 Apache</name>
<url>http://www.ibiblio.org/maven2</url>
<layout>legacy</layout>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>com.bluesunrise.m2</id>
<name>Maven2 BlueSunrise</name>
<url>http://www.bluesunrise.com/maven2</url>
</pluginRepository>
<pluginRepository>
<id>central</id>
<name>Maven Repository Switchboard</name>
<url>http://repo1.maven.org/maven2</url>
</pluginRepository>
</pluginRepositories>
I've tried altering the url values for the central repository but the
build came back with the same error, including the url for
http://repo1.maven.org/maven2/org/apache/portals/
jetspeed-2/jetspeed-2/2.1-dev/jetspeed-2-2.1-dev.pom
David
David Sean Taylor wrote:
>
> On Apr 24, 2007, at 9:57 PM, David Dyer wrote:
>
>> Update, I've managed to find the required .jar file at http://
>> www.bluesunrise.com/maven2/org/apache/portals/jetspeed-2/portal-
>> archetype/2.1-dev/portal-archetype-2.1-dev.jar and do the install.
>> the mvn archetype:create appears to have worked after that.
>>
>> So, on to the next problem...
>>
>> the mvn -P tomcat,min returns a fatal error as follows:
>>
>> Downloading: http://repo1.maven.org/maven2/org/apache/portals/
>> jetspeed-2/jetspeed-2/2.1-dev/jetspeed-2-2.1-dev.pom
>> [INFO]
>> ----------------------------------------------------------------------
>> --
>> [ERROR] FATAL ERROR
>> [INFO]
>> ----------------------------------------------------------------------
>> --
>> [INFO] Error building POM (may not be this project's POM).
>>
>>
>> Project ID: null:import:pom:null
>>
>> Reason: Cannot find parent: org.apache.portals.jetspeed-2:jetspeed-2
>> for project
>> : null:import:pom:null
>>
>>
>> A quick check of the URL for the jetspeed-2-2.1-dev.pom file reveals
>> that it doesn't live there no more (Not Found)
>>
>> swapping out http://repo1.maven.org for http://www.bluesunrise.com
>> returns what looks like the correct file.
>>
>> So, the question is, who tells Maven to download from
>> repo1.maven.org and can I reconfigure to default to http://
>> www.bluesunrise.com?
>>
>
> Have you copied in the .setttings.xml to your ".m2" directory as
> described here:
>
> http://portals.apache.org/tutorials/jetspeed-2/01/first-steps.html
>
> It will correctly setup the remote repos and copy resources into here
>
> <localRepository>/JetspeedTraining/maven/repository</ localRepository>
>
> From that point on, its hit or miss with downloading the files, keep
> trying if it fails
>
>
>> Regards,
>> David
>>
>> PS. I'm keeping a running record of the problems I've had in the
>> interest of passing them on to improve the documentation and tutorial.
>>
>>
> Just a quick note: as I've stated on the list before, I am planning
> on deleting the entire maven-2-based tutorial once the installer/Ant
> based tutorial is ready
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>
>
>
--
David Dyer
Artifact Software Inc.
ddyer@artifact-software.com
(514) 995-2830
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: Tutorial and build problems
Posted by David Sean Taylor <da...@bluesunrise.com>.
On Apr 24, 2007, at 9:57 PM, David Dyer wrote:
> Update, I've managed to find the required .jar file at http://
> www.bluesunrise.com/maven2/org/apache/portals/jetspeed-2/portal-
> archetype/2.1-dev/portal-archetype-2.1-dev.jar and do the install.
> the mvn archetype:create appears to have worked after that.
>
> So, on to the next problem...
>
> the mvn -P tomcat,min returns a fatal error as follows:
>
> Downloading: http://repo1.maven.org/maven2/org/apache/portals/
> jetspeed-2/jetspeed-2/2.1-dev/jetspeed-2-2.1-dev.pom
> [INFO]
> ----------------------------------------------------------------------
> --
> [ERROR] FATAL ERROR
> [INFO]
> ----------------------------------------------------------------------
> --
> [INFO] Error building POM (may not be this project's POM).
>
>
> Project ID: null:import:pom:null
>
> Reason: Cannot find parent:
> org.apache.portals.jetspeed-2:jetspeed-2 for project
> : null:import:pom:null
>
>
> A quick check of the URL for the jetspeed-2-2.1-dev.pom file
> reveals that it doesn't live there no more (Not Found)
>
> swapping out http://repo1.maven.org for http://www.bluesunrise.com
> returns what looks like the correct file.
>
> So, the question is, who tells Maven to download from
> repo1.maven.org and can I reconfigure to default to http://
> www.bluesunrise.com?
>
Have you copied in the .setttings.xml to your ".m2" directory as
described here:
http://portals.apache.org/tutorials/jetspeed-2/01/first-steps.html
It will correctly setup the remote repos and copy resources into here
<localRepository>/JetspeedTraining/maven/repository</
localRepository>
From that point on, its hit or miss with downloading the files, keep
trying if it fails
> Regards,
> David
>
> PS. I'm keeping a running record of the problems I've had in the
> interest of passing them on to improve the documentation and tutorial.
>
>
Just a quick note: as I've stated on the list before, I am planning
on deleting the entire maven-2-based tutorial once the installer/Ant
based tutorial is ready
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: Tutorial and build problems
Posted by David Dyer <dd...@artifact-software.com>.
Update, I've managed to find the required .jar file at
http://www.bluesunrise.com/maven2/org/apache/portals/jetspeed-2/portal-archetype/2.1-dev/portal-archetype-2.1-dev.jar
and do the install. the mvn archetype:create appears to have worked
after that.
So, on to the next problem...
the mvn -P tomcat,min returns a fatal error as follows:
Downloading:
http://repo1.maven.org/maven2/org/apache/portals/jetspeed-2/jetspeed-2/2.1-dev/jetspeed-2-2.1-dev.pom
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).
Project ID: null:import:pom:null
Reason: Cannot find parent: org.apache.portals.jetspeed-2:jetspeed-2 for
project
: null:import:pom:null
A quick check of the URL for the jetspeed-2-2.1-dev.pom file reveals
that it doesn't live there no more (Not Found)
swapping out http://repo1.maven.org for http://www.bluesunrise.com
returns what looks like the correct file.
So, the question is, who tells Maven to download from repo1.maven.org
and can I reconfigure to default to http://www.bluesunrise.com?
Regards,
David
PS. I'm keeping a running record of the problems I've had in the
interest of passing them on to improve the documentation and tutorial.
Larry Mitchell wrote:
> and the settings file is in USERPROFILE/.m2?
>
> Well, If you did this it should work. That matches what I did.
>
> My condolences on your experience. It took me a few days to get things
> working and quite a bit of experimentation.
>
> On 4/24/07, David Dyer <dd...@artifact-software.com> wrote:
>
>>
>> Yup, the settings.xml is set with the repository as
>> <localRepository>c:/JetspeedTraining/maven/repository/</localRepository>
>>
>> The only thing different between my settings and those of the tutorial
>> is the location of <org.apache.jetspeed.server.home> which points to my
>> Catalina_Home.
>>
>> David
>>
>> Larry Mitchell wrote:
>>
>> > Hi
>> >
>> > Besides unzipping you need to point to that as the current repository
>> for
>> > building, otherwise maven will not use it.
>> >
>> > Did you change the settings.xml to point to it as described at the end
>> of
>> > http://portals.apache.org/tutorials/jetspeed-2/01/first-steps.html ?
>> >
>> > Yes, the current tutorial has a lot of problems. It took me quite a
>> > while
>> > to get everything setup so it would first build then actually run
>> > correctly.
>> >
>> >
>> > There is an effort to fix all this, but I am not sure when it will be
>> > complete.
>> >
>> > Regards
>> > Larry
>> >
>> > On 4/24/07, David Dyer <dd...@artifact-software.com> wrote:
>> >
>> >>
>> >> Thanks, tried it but it didn't work, either with the
>> files/directories
>> >> unzipped directly into JetspeedTraining/maven/repository, or to
>> >> JetspeedTraining/maven/repository/resources. Still get the same error
>> as
>> >> in my previous message.
>> >>
>> >> Additionaly, it leads to an odd directory structure of
>> >> JetspeedTraining/maven/repository/maven (amongst others of course).
>> >> Also, if this is the case many references to file paths etc. in the
>> >> tutorial are off (eg. the location of the settings.xml.jetexpress).
>> >>
>> >> Regards,
>> >> David
>> >>
>> >> Larry Mitchell wrote:
>> >>
>> >> > Hi
>> >> >
>> >> > I believe that this resources.zip archive is actually the maven
>> >> > repository
>> >> > that you need to build with. You need to put it under
>> >> > JetspeedTraining/maven/repository. Then you need to point your
>> maven
>> >> > repository in the settings.xml to it.
>> >> >
>> >> > I had similiar problems until I found the answer in the mailing
>> list.
>> >> >
>> >> > Regards
>> >> > Larry
>> >> >
>> >> > On 4/24/07, David Dyer <dd...@artifact-software.com> wrote:
>> >> >
>> >> >>
>> >> >> Having some trouble with generating the jetexpress portal as
>> outlined
>> >> in
>> >> >> the tutorial. I've unzipped the resources.zip from
>> >> >> here:http://www.bluesunrise.com/training/ to a
>> >> >> JetspeedTraining/resources directory as well as the
>> jetexpress.zipto
>> >> >> the JetspeedTraining directory.
>> >> >>
>> >> >> When I do the mvn archetype: create, the build appears to be
>> >> working up
>> >> >> to the initialization of the velocimacro It then fails as follows:
>> >> >>
>> >> >> [INFO] [archetype:create]
>> >> >> [INFO] Defaulting package to group ID: org.apache.portals.tutorial
>> >> >> Downloading:
>> >> >>
>> http://repo1.maven.org/maven2/org/apache/portals/jetspeed-2/portal-
>> >> >> archetype/2.1-dev/portal-archetype-2.1-dev.jar
>> >> >> [INFO]
>> >> >>
>> >>
>> ------------------------------------------------------------------------
>> >> >> [ERROR] BUILD ERROR
>> >> >> [INFO]
>> >> >>
>> >>
>> ------------------------------------------------------------------------
>> >> >> [INFO] Error creating from archetype
>> >> >>
>> >> >> Embedded error: Archetype does not exist: Unable to download the
>> >> >> artifact from a
>> >> >> ny repository
>> >> >>
>> >> >> Try downloading the file manually from the project website.
>> >> >>
>> >> >> Then, install it using the command:
>> >> >> mvn install:install-file
>> -DgroupId=org.apache.portals.jetspeed-2
>> >> >> -DartifactI
>> >> >> d=portal-archetype \
>> >> >> -Dversion=2.1-dev -Dpackaging=jar -Dfile=/path/to/file
>> >> >>
>> >> >>
>> >> >> org.apache.portals.jetspeed-2:portal-archetype:jar:2.1-dev
>> >> >>
>> >> >> from the specified remote repositories:
>> >> >> central (http://repo1.maven.org/maven2)
>> >> >>
>> >> >> I've tried navigating with a browser to find the .jar file from
>> >> >> http://repo1.maven.org/maven2 but under
>> >> >> http://repo1.maven.org/maven2/org/apache/portals/jetspeed-2/ there
>> is
>> >> no
>> >> >> portal-archetype directory.
>> >> >>
>> >> >> Can anyone advise me on where I can find the
>> >> >> portal-archetype-2.1-dev.jar?
>> >> >>
>> >> >> Thanks,
>> >> >> David
>> >> >>
>> >> >> --
>> >> >> David Dyer
>> >> >> Artifact Software Inc.
>> >> >> ddyer@artifact-software.com
>> >> >> (514) 995-2830
>> >> >>
>> >> >>
>> >> >>
>> ---------------------------------------------------------------------
>> >> >> To unsubscribe, e-mail:
>> jetspeed-user-unsubscribe@portals.apache.org
>> >> >> For additional commands, e-mail:
>> >> jetspeed-user-help@portals.apache.org
>> >> >>
>> >> >>
>> >> >
>> >>
>> >------------------------------------------------------------------------
>>
>> >>
>> >> >
>> >> >No virus found in this incoming message.
>> >> >Checked by AVG Free Edition.
>> >> >Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date:
>> >> 22/04/2007
>> >> 8:18 PM
>> >> >
>> >> >
>> >>
>> >>
>> >> --
>> >> David Dyer
>> >> Artifact Software Inc.
>> >> ddyer@artifact-software.com
>> >> (514) 995-2830
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
>> >> For additional commands, e-mail:
>> jetspeed-user-help@portals.apache.org
>> >>
>> >>
>> >
>> >------------------------------------------------------------------------
>>
>> >
>> >No virus found in this incoming message.
>> >Checked by AVG Free Edition.
>> >Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date:
>> 22/04/2007
>> 8:18 PM
>> >
>> >
>>
>>
>> --
>> David Dyer
>> Artifact Software Inc.
>> ddyer@artifact-software.com
>> (514) 995-2830
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
>> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>>
>>
>
>------------------------------------------------------------------------
>
>No virus found in this incoming message.
>Checked by AVG Free Edition.
>Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 22/04/2007 8:18 PM
>
>
--
David Dyer
Artifact Software Inc.
ddyer@artifact-software.com
(514) 995-2830
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: Tutorial and build problems
Posted by Larry Mitchell <la...@gmail.com>.
and the settings file is in USERPROFILE/.m2?
Well, If you did this it should work. That matches what I did.
My condolences on your experience. It took me a few days to get things
working and quite a bit of experimentation.
On 4/24/07, David Dyer <dd...@artifact-software.com> wrote:
>
> Yup, the settings.xml is set with the repository as
> <localRepository>c:/JetspeedTraining/maven/repository/</localRepository>
>
> The only thing different between my settings and those of the tutorial
> is the location of <org.apache.jetspeed.server.home> which points to my
> Catalina_Home.
>
> David
>
> Larry Mitchell wrote:
>
> > Hi
> >
> > Besides unzipping you need to point to that as the current repository
> for
> > building, otherwise maven will not use it.
> >
> > Did you change the settings.xml to point to it as described at the end
> of
> > http://portals.apache.org/tutorials/jetspeed-2/01/first-steps.html ?
> >
> > Yes, the current tutorial has a lot of problems. It took me quite a
> > while
> > to get everything setup so it would first build then actually run
> > correctly.
> >
> >
> > There is an effort to fix all this, but I am not sure when it will be
> > complete.
> >
> > Regards
> > Larry
> >
> > On 4/24/07, David Dyer <dd...@artifact-software.com> wrote:
> >
> >>
> >> Thanks, tried it but it didn't work, either with the files/directories
> >> unzipped directly into JetspeedTraining/maven/repository, or to
> >> JetspeedTraining/maven/repository/resources. Still get the same error
> as
> >> in my previous message.
> >>
> >> Additionaly, it leads to an odd directory structure of
> >> JetspeedTraining/maven/repository/maven (amongst others of course).
> >> Also, if this is the case many references to file paths etc. in the
> >> tutorial are off (eg. the location of the settings.xml.jetexpress).
> >>
> >> Regards,
> >> David
> >>
> >> Larry Mitchell wrote:
> >>
> >> > Hi
> >> >
> >> > I believe that this resources.zip archive is actually the maven
> >> > repository
> >> > that you need to build with. You need to put it under
> >> > JetspeedTraining/maven/repository. Then you need to point your maven
> >> > repository in the settings.xml to it.
> >> >
> >> > I had similiar problems until I found the answer in the mailing list.
> >> >
> >> > Regards
> >> > Larry
> >> >
> >> > On 4/24/07, David Dyer <dd...@artifact-software.com> wrote:
> >> >
> >> >>
> >> >> Having some trouble with generating the jetexpress portal as
> outlined
> >> in
> >> >> the tutorial. I've unzipped the resources.zip from
> >> >> here:http://www.bluesunrise.com/training/ to a
> >> >> JetspeedTraining/resources directory as well as the jetexpress.zipto
> >> >> the JetspeedTraining directory.
> >> >>
> >> >> When I do the mvn archetype: create, the build appears to be
> >> working up
> >> >> to the initialization of the velocimacro It then fails as follows:
> >> >>
> >> >> [INFO] [archetype:create]
> >> >> [INFO] Defaulting package to group ID: org.apache.portals.tutorial
> >> >> Downloading:
> >> >> http://repo1.maven.org/maven2/org/apache/portals/jetspeed-2/portal-
> >> >> archetype/2.1-dev/portal-archetype-2.1-dev.jar
> >> >> [INFO]
> >> >>
> >>
> ------------------------------------------------------------------------
> >> >> [ERROR] BUILD ERROR
> >> >> [INFO]
> >> >>
> >>
> ------------------------------------------------------------------------
> >> >> [INFO] Error creating from archetype
> >> >>
> >> >> Embedded error: Archetype does not exist: Unable to download the
> >> >> artifact from a
> >> >> ny repository
> >> >>
> >> >> Try downloading the file manually from the project website.
> >> >>
> >> >> Then, install it using the command:
> >> >> mvn install:install-file -DgroupId=org.apache.portals.jetspeed-2
> >> >> -DartifactI
> >> >> d=portal-archetype \
> >> >> -Dversion=2.1-dev -Dpackaging=jar -Dfile=/path/to/file
> >> >>
> >> >>
> >> >> org.apache.portals.jetspeed-2:portal-archetype:jar:2.1-dev
> >> >>
> >> >> from the specified remote repositories:
> >> >> central (http://repo1.maven.org/maven2)
> >> >>
> >> >> I've tried navigating with a browser to find the .jar file from
> >> >> http://repo1.maven.org/maven2 but under
> >> >> http://repo1.maven.org/maven2/org/apache/portals/jetspeed-2/ there
> is
> >> no
> >> >> portal-archetype directory.
> >> >>
> >> >> Can anyone advise me on where I can find the
> >> >> portal-archetype-2.1-dev.jar?
> >> >>
> >> >> Thanks,
> >> >> David
> >> >>
> >> >> --
> >> >> David Dyer
> >> >> Artifact Software Inc.
> >> >> ddyer@artifact-software.com
> >> >> (514) 995-2830
> >> >>
> >> >>
> >> >>
> ---------------------------------------------------------------------
> >> >> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> >> >> For additional commands, e-mail:
> >> jetspeed-user-help@portals.apache.org
> >> >>
> >> >>
> >> >
> >>
> >------------------------------------------------------------------------
> >>
> >> >
> >> >No virus found in this incoming message.
> >> >Checked by AVG Free Edition.
> >> >Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date:
> >> 22/04/2007
> >> 8:18 PM
> >> >
> >> >
> >>
> >>
> >> --
> >> David Dyer
> >> Artifact Software Inc.
> >> ddyer@artifact-software.com
> >> (514) 995-2830
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> >> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
> >>
> >>
> >
> >------------------------------------------------------------------------
> >
> >No virus found in this incoming message.
> >Checked by AVG Free Edition.
> >Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 22/04/2007
> 8:18 PM
> >
> >
>
>
> --
> David Dyer
> Artifact Software Inc.
> ddyer@artifact-software.com
> (514) 995-2830
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>
Re: Tutorial and build problems
Posted by David Dyer <dd...@artifact-software.com>.
Yup, the settings.xml is set with the repository as
<localRepository>c:/JetspeedTraining/maven/repository/</localRepository>
The only thing different between my settings and those of the tutorial
is the location of <org.apache.jetspeed.server.home> which points to my
Catalina_Home.
David
Larry Mitchell wrote:
> Hi
>
> Besides unzipping you need to point to that as the current repository for
> building, otherwise maven will not use it.
>
> Did you change the settings.xml to point to it as described at the end of
> http://portals.apache.org/tutorials/jetspeed-2/01/first-steps.html ?
>
> Yes, the current tutorial has a lot of problems. It took me quite a
> while
> to get everything setup so it would first build then actually run
> correctly.
>
>
> There is an effort to fix all this, but I am not sure when it will be
> complete.
>
> Regards
> Larry
>
> On 4/24/07, David Dyer <dd...@artifact-software.com> wrote:
>
>>
>> Thanks, tried it but it didn't work, either with the files/directories
>> unzipped directly into JetspeedTraining/maven/repository, or to
>> JetspeedTraining/maven/repository/resources. Still get the same error as
>> in my previous message.
>>
>> Additionaly, it leads to an odd directory structure of
>> JetspeedTraining/maven/repository/maven (amongst others of course).
>> Also, if this is the case many references to file paths etc. in the
>> tutorial are off (eg. the location of the settings.xml.jetexpress).
>>
>> Regards,
>> David
>>
>> Larry Mitchell wrote:
>>
>> > Hi
>> >
>> > I believe that this resources.zip archive is actually the maven
>> > repository
>> > that you need to build with. You need to put it under
>> > JetspeedTraining/maven/repository. Then you need to point your maven
>> > repository in the settings.xml to it.
>> >
>> > I had similiar problems until I found the answer in the mailing list.
>> >
>> > Regards
>> > Larry
>> >
>> > On 4/24/07, David Dyer <dd...@artifact-software.com> wrote:
>> >
>> >>
>> >> Having some trouble with generating the jetexpress portal as outlined
>> in
>> >> the tutorial. I've unzipped the resources.zip from
>> >> here:http://www.bluesunrise.com/training/ to a
>> >> JetspeedTraining/resources directory as well as the jetexpress.zip to
>> >> the JetspeedTraining directory.
>> >>
>> >> When I do the mvn archetype: create, the build appears to be
>> working up
>> >> to the initialization of the velocimacro It then fails as follows:
>> >>
>> >> [INFO] [archetype:create]
>> >> [INFO] Defaulting package to group ID: org.apache.portals.tutorial
>> >> Downloading:
>> >> http://repo1.maven.org/maven2/org/apache/portals/jetspeed-2/portal-
>> >> archetype/2.1-dev/portal-archetype-2.1-dev.jar
>> >> [INFO]
>> >>
>> ------------------------------------------------------------------------
>> >> [ERROR] BUILD ERROR
>> >> [INFO]
>> >>
>> ------------------------------------------------------------------------
>> >> [INFO] Error creating from archetype
>> >>
>> >> Embedded error: Archetype does not exist: Unable to download the
>> >> artifact from a
>> >> ny repository
>> >>
>> >> Try downloading the file manually from the project website.
>> >>
>> >> Then, install it using the command:
>> >> mvn install:install-file -DgroupId=org.apache.portals.jetspeed-2
>> >> -DartifactI
>> >> d=portal-archetype \
>> >> -Dversion=2.1-dev -Dpackaging=jar -Dfile=/path/to/file
>> >>
>> >>
>> >> org.apache.portals.jetspeed-2:portal-archetype:jar:2.1-dev
>> >>
>> >> from the specified remote repositories:
>> >> central (http://repo1.maven.org/maven2)
>> >>
>> >> I've tried navigating with a browser to find the .jar file from
>> >> http://repo1.maven.org/maven2 but under
>> >> http://repo1.maven.org/maven2/org/apache/portals/jetspeed-2/ there is
>> no
>> >> portal-archetype directory.
>> >>
>> >> Can anyone advise me on where I can find the
>> >> portal-archetype-2.1-dev.jar?
>> >>
>> >> Thanks,
>> >> David
>> >>
>> >> --
>> >> David Dyer
>> >> Artifact Software Inc.
>> >> ddyer@artifact-software.com
>> >> (514) 995-2830
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
>> >> For additional commands, e-mail:
>> jetspeed-user-help@portals.apache.org
>> >>
>> >>
>> >
>> >------------------------------------------------------------------------
>>
>> >
>> >No virus found in this incoming message.
>> >Checked by AVG Free Edition.
>> >Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date:
>> 22/04/2007
>> 8:18 PM
>> >
>> >
>>
>>
>> --
>> David Dyer
>> Artifact Software Inc.
>> ddyer@artifact-software.com
>> (514) 995-2830
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
>> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>>
>>
>
>------------------------------------------------------------------------
>
>No virus found in this incoming message.
>Checked by AVG Free Edition.
>Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 22/04/2007 8:18 PM
>
>
--
David Dyer
Artifact Software Inc.
ddyer@artifact-software.com
(514) 995-2830
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: Tutorial and build problems
Posted by Larry Mitchell <la...@gmail.com>.
Hi
Besides unzipping you need to point to that as the current repository for
building, otherwise maven will not use it.
Did you change the settings.xml to point to it as described at the end of
http://portals.apache.org/tutorials/jetspeed-2/01/first-steps.html ?
Yes, the current tutorial has a lot of problems. It took me quite a while
to get everything setup so it would first build then actually run correctly.
There is an effort to fix all this, but I am not sure when it will be
complete.
Regards
Larry
On 4/24/07, David Dyer <dd...@artifact-software.com> wrote:
>
> Thanks, tried it but it didn't work, either with the files/directories
> unzipped directly into JetspeedTraining/maven/repository, or to
> JetspeedTraining/maven/repository/resources. Still get the same error as
> in my previous message.
>
> Additionaly, it leads to an odd directory structure of
> JetspeedTraining/maven/repository/maven (amongst others of course).
> Also, if this is the case many references to file paths etc. in the
> tutorial are off (eg. the location of the settings.xml.jetexpress).
>
> Regards,
> David
>
> Larry Mitchell wrote:
>
> > Hi
> >
> > I believe that this resources.zip archive is actually the maven
> > repository
> > that you need to build with. You need to put it under
> > JetspeedTraining/maven/repository. Then you need to point your maven
> > repository in the settings.xml to it.
> >
> > I had similiar problems until I found the answer in the mailing list.
> >
> > Regards
> > Larry
> >
> > On 4/24/07, David Dyer <dd...@artifact-software.com> wrote:
> >
> >>
> >> Having some trouble with generating the jetexpress portal as outlined
> in
> >> the tutorial. I've unzipped the resources.zip from
> >> here:http://www.bluesunrise.com/training/ to a
> >> JetspeedTraining/resources directory as well as the jetexpress.zip to
> >> the JetspeedTraining directory.
> >>
> >> When I do the mvn archetype: create, the build appears to be working up
> >> to the initialization of the velocimacro It then fails as follows:
> >>
> >> [INFO] [archetype:create]
> >> [INFO] Defaulting package to group ID: org.apache.portals.tutorial
> >> Downloading:
> >> http://repo1.maven.org/maven2/org/apache/portals/jetspeed-2/portal-
> >> archetype/2.1-dev/portal-archetype-2.1-dev.jar
> >> [INFO]
> >>
> ------------------------------------------------------------------------
> >> [ERROR] BUILD ERROR
> >> [INFO]
> >>
> ------------------------------------------------------------------------
> >> [INFO] Error creating from archetype
> >>
> >> Embedded error: Archetype does not exist: Unable to download the
> >> artifact from a
> >> ny repository
> >>
> >> Try downloading the file manually from the project website.
> >>
> >> Then, install it using the command:
> >> mvn install:install-file -DgroupId=org.apache.portals.jetspeed-2
> >> -DartifactI
> >> d=portal-archetype \
> >> -Dversion=2.1-dev -Dpackaging=jar -Dfile=/path/to/file
> >>
> >>
> >> org.apache.portals.jetspeed-2:portal-archetype:jar:2.1-dev
> >>
> >> from the specified remote repositories:
> >> central (http://repo1.maven.org/maven2)
> >>
> >> I've tried navigating with a browser to find the .jar file from
> >> http://repo1.maven.org/maven2 but under
> >> http://repo1.maven.org/maven2/org/apache/portals/jetspeed-2/ there is
> no
> >> portal-archetype directory.
> >>
> >> Can anyone advise me on where I can find the
> >> portal-archetype-2.1-dev.jar?
> >>
> >> Thanks,
> >> David
> >>
> >> --
> >> David Dyer
> >> Artifact Software Inc.
> >> ddyer@artifact-software.com
> >> (514) 995-2830
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> >> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
> >>
> >>
> >
> >------------------------------------------------------------------------
> >
> >No virus found in this incoming message.
> >Checked by AVG Free Edition.
> >Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 22/04/2007
> 8:18 PM
> >
> >
>
>
> --
> David Dyer
> Artifact Software Inc.
> ddyer@artifact-software.com
> (514) 995-2830
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>
Re: Tutorial and build problems
Posted by David Dyer <dd...@artifact-software.com>.
Thanks, tried it but it didn't work, either with the files/directories
unzipped directly into JetspeedTraining/maven/repository, or to
JetspeedTraining/maven/repository/resources. Still get the same error as
in my previous message.
Additionaly, it leads to an odd directory structure of
JetspeedTraining/maven/repository/maven (amongst others of course).
Also, if this is the case many references to file paths etc. in the
tutorial are off (eg. the location of the settings.xml.jetexpress).
Regards,
David
Larry Mitchell wrote:
> Hi
>
> I believe that this resources.zip archive is actually the maven
> repository
> that you need to build with. You need to put it under
> JetspeedTraining/maven/repository. Then you need to point your maven
> repository in the settings.xml to it.
>
> I had similiar problems until I found the answer in the mailing list.
>
> Regards
> Larry
>
> On 4/24/07, David Dyer <dd...@artifact-software.com> wrote:
>
>>
>> Having some trouble with generating the jetexpress portal as outlined in
>> the tutorial. I've unzipped the resources.zip from
>> here:http://www.bluesunrise.com/training/ to a
>> JetspeedTraining/resources directory as well as the jetexpress.zip to
>> the JetspeedTraining directory.
>>
>> When I do the mvn archetype: create, the build appears to be working up
>> to the initialization of the velocimacro It then fails as follows:
>>
>> [INFO] [archetype:create]
>> [INFO] Defaulting package to group ID: org.apache.portals.tutorial
>> Downloading:
>> http://repo1.maven.org/maven2/org/apache/portals/jetspeed-2/portal-
>> archetype/2.1-dev/portal-archetype-2.1-dev.jar
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Error creating from archetype
>>
>> Embedded error: Archetype does not exist: Unable to download the
>> artifact from a
>> ny repository
>>
>> Try downloading the file manually from the project website.
>>
>> Then, install it using the command:
>> mvn install:install-file -DgroupId=org.apache.portals.jetspeed-2
>> -DartifactI
>> d=portal-archetype \
>> -Dversion=2.1-dev -Dpackaging=jar -Dfile=/path/to/file
>>
>>
>> org.apache.portals.jetspeed-2:portal-archetype:jar:2.1-dev
>>
>> from the specified remote repositories:
>> central (http://repo1.maven.org/maven2)
>>
>> I've tried navigating with a browser to find the .jar file from
>> http://repo1.maven.org/maven2 but under
>> http://repo1.maven.org/maven2/org/apache/portals/jetspeed-2/ there is no
>> portal-archetype directory.
>>
>> Can anyone advise me on where I can find the
>> portal-archetype-2.1-dev.jar?
>>
>> Thanks,
>> David
>>
>> --
>> David Dyer
>> Artifact Software Inc.
>> ddyer@artifact-software.com
>> (514) 995-2830
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
>> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>>
>>
>
>------------------------------------------------------------------------
>
>No virus found in this incoming message.
>Checked by AVG Free Edition.
>Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 22/04/2007 8:18 PM
>
>
--
David Dyer
Artifact Software Inc.
ddyer@artifact-software.com
(514) 995-2830
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: Tutorial and build problems
Posted by Larry Mitchell <la...@gmail.com>.
Hi
I believe that this resources.zip archive is actually the maven repository
that you need to build with. You need to put it under
JetspeedTraining/maven/repository. Then you need to point your maven
repository in the settings.xml to it.
I had similiar problems until I found the answer in the mailing list.
Regards
Larry
On 4/24/07, David Dyer <dd...@artifact-software.com> wrote:
>
> Having some trouble with generating the jetexpress portal as outlined in
> the tutorial. I've unzipped the resources.zip from
> here:http://www.bluesunrise.com/training/ to a
> JetspeedTraining/resources directory as well as the jetexpress.zip to
> the JetspeedTraining directory.
>
> When I do the mvn archetype: create, the build appears to be working up
> to the initialization of the velocimacro It then fails as follows:
>
> [INFO] [archetype:create]
> [INFO] Defaulting package to group ID: org.apache.portals.tutorial
> Downloading:
> http://repo1.maven.org/maven2/org/apache/portals/jetspeed-2/portal-
> archetype/2.1-dev/portal-archetype-2.1-dev.jar
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error creating from archetype
>
> Embedded error: Archetype does not exist: Unable to download the
> artifact from a
> ny repository
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
> mvn install:install-file -DgroupId=org.apache.portals.jetspeed-2
> -DartifactI
> d=portal-archetype \
> -Dversion=2.1-dev -Dpackaging=jar -Dfile=/path/to/file
>
>
> org.apache.portals.jetspeed-2:portal-archetype:jar:2.1-dev
>
> from the specified remote repositories:
> central (http://repo1.maven.org/maven2)
>
> I've tried navigating with a browser to find the .jar file from
> http://repo1.maven.org/maven2 but under
> http://repo1.maven.org/maven2/org/apache/portals/jetspeed-2/ there is no
> portal-archetype directory.
>
> Can anyone advise me on where I can find the portal-archetype-2.1-dev.jar?
>
> Thanks,
> David
>
> --
> David Dyer
> Artifact Software Inc.
> ddyer@artifact-software.com
> (514) 995-2830
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>