Hello!

I currently extend the Tobago example address demo. To be able to (re)deploy with IDEA I use Maven2 to set up an IDEA project with

 mvn idea:idea

The web project created for tobago-example-addressbook doesn't work out of the box, though. I have to make some changes:

- select Tomcat under Web Module Settings
- change the packaging method for all libraries to 'copy files to'
- set up an addtional web resource directory:
 Source: ...\target\tobago-example-addressbook\tobago
 Target: /tobago
- Check 'Create web module exploded directory' and 'Synchronize exploded directory' under J2EE Build Settings

After making a change on a JSP page or in one of the Java files, I hit 'Make Project' and the changes are active after a short while. No problems with caching so far.

Regards,
Arvid

Juergen Melzer wrote:

Hi Bernd,

the problem is not a redeploy with maven. i use Intellij to make the deploying. So I don't want to restart the servletcontext. But I think the problem are the caching mechanismen in tobago. I saw that you have at minimum two caches: one is the Resourcemanager the second is in ThemeConfig. i disabled both but nothing changed :-( It must be something in caching the calculated heights and widths of the components. The best thing should be to make it possible to disable this feature in the tobago-config.xml otherwise the development turnaround time will be much bigger.

Thanks,
Jürgen


From: Bernd Bohmann <[EMAIL PROTECTED]>
Reply-To: "MyFaces Discussion" <[email protected]>
To: MyFaces Discussion <[email protected]>
Subject: Re: Tomcat didn't load JSF-Page (Tobago-Problem?)
Date: Thu, 10 Nov 2005 19:33:17 +0100

Hi Juergen,

if you are using maven2 for deployment the maven-tomcat-plugin has a
problem with tomcat:redeploy.
Please use mvn tomcat:undeploy tomcat:deploy.
I will look at this issue if i had some extra time perhaps at the weekend.

If you are not using maven2 please send a detail description what are you doing.

Bernd

My faces schrieb:

Hi all,

when I deploy a new JSF-Page with Tobago-tags inside without restarting the context the Browser didn't show the actual page.
After restarting Tomcat it show it correct.
Is this a Tobago problem or normal with JSF development?

Regards,
Juergen

_________________________________________________________________
Sie suchen E-Mails, Dokumente oder Fotos? Die neue MSN Suche Toolbar mit Windows-Desktopsuche liefert in sekundenschnelle Ergebnisse. Jetzt neu! http://desktop.msn.de/ Jetzt gratis downloaden!




--
Dipl.-Ing. Bernd Bohmann - Atanion GmbH - Software Development
Bismarckstr. 13, 26122 Oldenburg, http://www.atanion.com
phone: +49 441 4082312, mobile: +49 173 8839471, fax: +49 441 4082333


_________________________________________________________________
Sie suchen E-Mails, Dokumente oder Fotos? Die neue MSN Suche Toolbar mit Windows-Desktopsuche liefert in sekundenschnelle Ergebnisse. Jetzt neu! http://desktop.msn.de/ Jetzt gratis downloaden!



Reply via email to