Re: Silly question: do I need Maven?

2007-02-06 Thread David Sean Taylor
On Feb 6, 2007, at 2:11 PM, Luis Colorado wrote: Thanks, David! I thought that somehow I was damned to get no replies. The tutorial is not explicit about upgrading, so I suppose that you meant that I should use the installation procedure, and that should get me upgraded. Okay... I will giv

RE: Silly question: do I need Maven?

2007-02-06 Thread Luis Colorado
Thanks, David! I thought that somehow I was damned to get no replies. The tutorial is not explicit about upgrading, so I suppose that you meant that I should use the installation procedure, and that should get me upgraded. Okay... I will give it a shot. The application that I got from our por

Re: Silly question: do I need Maven?

2007-02-06 Thread David Sean Taylor
On Feb 6, 2007, at 1:10 PM, Luis Colorado wrote: So far I have gotten no response. I'd like to reformulate my question. Let's suppose that I use Maven to download Jetspeed-1 1.6, and then I copy all the classes to my existing project based on Jetspeed-1 1.5. Are there any other dependencie

Re: How can I hide portlet programmatically?

2007-02-06 Thread David Sean Taylor
On Feb 6, 2007, at 10:18 AM, Vitaly Baranovsky wrote: this is a change in behavior for Solo mode Ups... Ok, I'll reform it. why do you want the portlet action bar without the window? Because I can't go to Edit mode to edit portlet preferences if portlet hasn't an action bar. Usually portlet

RE: Silly question: do I need Maven?

2007-02-06 Thread Luis Colorado
So far I have gotten no response. I'd like to reformulate my question. Let's suppose that I use Maven to download Jetspeed-1 1.6, and then I copy all the classes to my existing project based on Jetspeed-1 1.5. Are there any other dependencies that I should incorporate, such as Velocity templates

RE: BUILD ERROR: Error getting POM for 'mockrunner:mockrunner' from the repository

2007-02-06 Thread Timony, Michael
Same here, only solution I've found is to create my own dummy pom files: [INFO] Using default encoding to copy filtered resources. Downloading: http://www.bluesunrise.com/maven2/mockrunner/mockrunner/0.2.7/mockrunner-0.2.7.pom [WARNING] Unable to get resource from repository com.bluesunrise.m2

Re: How can I hide portlet programmatically?

2007-02-06 Thread Vitaly Baranovsky
this is a change in behavior for Solo mode Ups... Ok, I'll reform it. why do you want the portlet action bar without the window? Because I can't go to Edit mode to edit portlet preferences if portlet hasn't an action bar. Usually portlet with no content on my portlal have to be hided. And port

Re: How can I hide portlet programmatically?

2007-02-06 Thread David Sean Taylor
On Feb 6, 2007, at 9:49 AM, Vitaly Baranovsky wrote: #if (!$solo && !$hidePortlet) #set ($ws=$jetspeed.MappedWindowState) $!jetspeed.getTitle($jetspeed.getCurrentPortletEntity(), $f) #end #PortletActionBar($decoration) this is a change in behavior for Solo

Re: How can I hide portlet programmatically?

2007-02-06 Thread David Sean Taylor
OK, that is dependent on the way we encode and pass through render attributes Since this is a solution for Jetspeed only, I think its acceptable although it does have a maintenance issue of breaking if we change the way we name our render parameters I'll apply a patch by hand to decorator.v

Re: How can I hide portlet programmatically?

2007-02-06 Thread Vitaly Baranovsky
I have solved this problem with next solution: 1) The portlet calls: getPortletRequest().setAttribute("HideDecorator", new Boolean(true)) 2) In webapps/jetspeed/decorations/portlet/decorator.vm I have introduced variable $hidePortlet: #set($hidePortlet = $renderRequest.getAttribute("js_${ jets

RE: BUILD ERROR: Error getting POM for 'mockrunner:mockrunner' from the repository

2007-02-06 Thread evi
Thanks, Philip, your settings.xml file was really helpful, I got finally the minimum portal application up!!! Might it be that the that was commented in tutorial recources settings.xml just needed to be uncommented? In any case, I attach my settings.xml that helped me further to this e-mail, may

Re: BUILD ERROR: Error getting POM for 'mockrunner:mockrunner' from the repository

2007-02-06 Thread Philip Mark Donaghy
I'm running maven 2 like this. mvn -o -X -e -P tomcat I get a warning about the pom but the build does not fail. I can't reproduce your error. Note that on http://wiki.apache.org/portals/Jetspeed2/Maven2BuildSupport it says "The -o offline option can be specified with the commands documented he

RE: JetExpress running error, tutorial

2007-02-06 Thread evi
Thanks, Philip, but I still do not get it working:-( >>This is the error. It should be, >>C:/JetspeedTraining/tomc at >>-express/shared/lib/derby-10.1.1.0.jar >>>A java path is composed of directories only if the contents are classes. Otherwise the full jar path must be present. My Derby settin

Re: JetExpress running error, tutorial

2007-02-06 Thread Philip Mark Donaghy
Hi Evi, I found your error. On 2/4/07, evi <[EMAIL PROTECTED]> wrote: What I do not understand is how to handle installation with embedded Derby... As in there are no demands for prerequisite Derbu installation I presume that when working with embedded database there is no need to install it, i

Re: Questions about JetExpress Portal Tutorial

2007-02-06 Thread Philip Mark Donaghy
Javier, On 2/6/07, Javier padron <[EMAIL PROTECTED]> wrote: Hi Philip I am new with Maven and Jetspeed, I go step by step slowly. I hope that they know to understand that for those who we are not familiarized with these tools it is not easy to do simple 'build' or 'deploy'. Excuse me if somet

Re: BUILD ERROR: Error getting POM for 'mockrunner:mockrunner' from the repository

2007-02-06 Thread Philip Mark Donaghy
Hi Mikko, On 2/6/07, Mikko Wuokko <[EMAIL PROTECTED]> wrote: Hi. There are com.mockrunner / mockrunner / 0.3.1 jars available for both Maven2 (with pom) and Maven1 in the repo1. Would it be possible to change in to this version? Or will it break something in the build? http://repo1.maven.org/m

Re: BUILD ERROR: Error getting POM for 'mockrunner:mockrunner' from the repository

2007-02-06 Thread Mikko Wuokko
Hi. There are com.mockrunner / mockrunner / 0.3.1 jars available for both Maven2 (with pom) and Maven1 in the repo1. Would it be possible to change in to this version? Or will it break something in the build? http://repo1.maven.org/maven2/com/mockrunner/mockrunner/0.3.1/ http://repo1.maven.or

RE: BUILD ERROR: Error getting POM for 'mockrunner:mockrunner' from the repository

2007-02-06 Thread Javier padron
Hi Philip In any case, there is some site where can download 'mockrunner-0.2.7.pom', or it is not a necessary file (important) for this case? Thanks again! On 2/5/07, Javier padron <[EMAIL PROTECTED]> wrote: > The file 'mockrunner-0.2.7.jar' indeed is in > http://www.bluesunrise.com/maven2/r

RE: Questions about JetExpress Portal Tutorial

2007-02-06 Thread Javier padron
Hi Philip I am new with Maven and Jetspeed, I go step by step slowly. I hope that they know to understand that for those who we are not familiarized with these tools it is not easy to do simple 'build' or 'deploy'. Excuse me if sometimes I make dumb questions. ;) Thaks, Javier.- --