You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by "Dyson, Jimmi" <dy...@quindell.com> on 2004/11/04 16:11:42 UTC
RE: AW: newbie: setting a new tapestry project with spindel in ec
lipse
The "context" dir should be your context root. The Spindle plugin compiles
your source into context/WEB-INF/classes. You will need to put any required
libraries in the context/WEB-INF/lib dir.
If you are using the Sysdeo tomcat launcher, then you can specify the
context root in the Tomcat properties for your project.
Hope this helps,
Jim
-----Original Message-----
From: FTP [mailto:ftp@atalos.com]
Sent: 04 November 2004 16:01
Cc: Tapestry users
Subject: Re: AW: newbie: setting a new tapestry project with spindel in
eclipse
I tried that and indeed a war file was created but my problem are the
'extra' dirs the spindle plugin is creating. The "context" and the "src"
ones. "WEB-INF" is always inside "context" and thus Tomcat isn't able to
find the web.xml file! How can I bypass this?
Thanks
On Thu, 2004-11-04 at 13:17, Nick Stuart wrote:
> There's actually a little eclipse plugin that will do all that for you!
>
> http://www.sysdeo.com/eclipse/tomcatPlugin.html
>
> This allows you to make any app a tomcat project, including spindle
> apps, as well as to start/stop/restart tomcat, debug apps and so on
> and so forth. Really quite handy.
>
> -Nick
>
>
> On Thu, 4 Nov 2004 05:33:52 -0500, Todd O'Bryan <to...@mac.com>
wrote:
> > Another option, which I have just recently learned to love, is to
> > create a little .xml file to point directly to your eclipse-workspace
> > in $CATALINA_HOME/conf/Catalina/localhost
> >
> > For example, suppose you have a Tapestry app called foo. In the
> > directory mentioned above, create foo.xml and put the following in it:
> >
> > <Context
> > path="/foo"
> > docBase="/path/to/eclipse/workspace/foo/context"
> > reloadable="true"
> > />
> >
> > If all went according to plan,
> >
> > http://localhost:8080/foo/app
> >
> > should display your app's home page.
> >
> > You may also want to get the Sysdeo Tomcat Plugin from
> > http://www.sysdeo.com/eclipse/tomcatPlugin.html
> >
> > It creates buttons in Eclipse to start, stop, and restart Tomcat. Just
> > make sure you configure it under Window->Preferences before you try to
> > use it.
> >
> > Todd
> >
> >
> >
> >
> > On Nov 4, 2004, at 4:25 AM, Saqib Rasul wrote:
> >
> > > Try to creat a Web application. Here are the docs for that:
> > >
> > > http://jakarta.apache.org/tomcat/tomcat-5.5-doc/appdev/index.html
> > >
> > > Once you have a web app as a war file, you can deploy that on tomcat.
> > > You can use Ant to automatically generate War files. Ant has a task to
> > > do this.
> > >
> > > Hope this helps,
> > >
> > > Regards,
> > >
> > > Saqib
> > >
> > >> -----Ursprüngliche Nachricht-----
> > >> Von: FTP [mailto:ftp@atalos.com]
> > >> Gesendet: Thursday, 4 November 2004 10:00 AM
> > >> An: Tapestry users
> > >> Betreff: newbie: setting a new tapestry project with spindel in
> > >> eclipse
> > >>
> > >> I did download the spindle plugin and created a dummy project. Now,
> > >> how
> > >> do I deploy this under Tomcat 5.0.28? Tried to copy the "WEB-INF"
> > >> directory but Tomcat gives an error.
> > >>
> > >> Thanks
> > >>
> > >>
> > >> ---------------------------------------------------------------------
> > >> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > >> For additional commands, e-mail:
tapestry-user-help@jakarta.apache.org
> > >>
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
RE: AW: newbie: setting a new tapestry project with spindel in ec
lipse
Posted by FTP <ft...@atalos.com>.
you mean to specify it in the .tomcatplugin?
Here is the file for my dummy project:
<?xml version="1.0" encoding="UTF-8"?>
<tomcatProjectProperties>
<rootDir>/</rootDir>
<exportSource>true</exportSource>
<reloadable>true</reloadable>
<redirectLogger>true</redirectLogger>
<updateXml>true</updateXml>
<warLocation>/home/kp/tom5028/webapps/first.war</warLocation>
<extraInfo></extraInfo>
<webPath>first</webPath>
</tomcatProjectProperties>
On Thu, 2004-11-04 at 15:11, Dyson, Jimmi wrote:
> The "context" dir should be your context root. The Spindle plugin compiles
> your source into context/WEB-INF/classes. You will need to put any required
> libraries in the context/WEB-INF/lib dir.
>
> If you are using the Sysdeo tomcat launcher, then you can specify the
> context root in the Tomcat properties for your project.
>
> Hope this helps,
> Jim
>
> -----Original Message-----
> From: FTP [mailto:ftp@atalos.com]
> Sent: 04 November 2004 16:01
> Cc: Tapestry users
> Subject: Re: AW: newbie: setting a new tapestry project with spindel in
> eclipse
>
> I tried that and indeed a war file was created but my problem are the
> 'extra' dirs the spindle plugin is creating. The "context" and the "src"
> ones. "WEB-INF" is always inside "context" and thus Tomcat isn't able to
> find the web.xml file! How can I bypass this?
>
> Thanks
>
> On Thu, 2004-11-04 at 13:17, Nick Stuart wrote:
> > There's actually a little eclipse plugin that will do all that for you!
> >
> > http://www.sysdeo.com/eclipse/tomcatPlugin.html
> >
> > This allows you to make any app a tomcat project, including spindle
> > apps, as well as to start/stop/restart tomcat, debug apps and so on
> > and so forth. Really quite handy.
> >
> > -Nick
> >
> >
> > On Thu, 4 Nov 2004 05:33:52 -0500, Todd O'Bryan <to...@mac.com>
> wrote:
> > > Another option, which I have just recently learned to love, is to
> > > create a little .xml file to point directly to your eclipse-workspace
> > > in $CATALINA_HOME/conf/Catalina/localhost
> > >
> > > For example, suppose you have a Tapestry app called foo. In the
> > > directory mentioned above, create foo.xml and put the following in it:
> > >
> > > <Context
> > > path="/foo"
> > > docBase="/path/to/eclipse/workspace/foo/context"
> > > reloadable="true"
> > > />
> > >
> > > If all went according to plan,
> > >
> > > http://localhost:8080/foo/app
> > >
> > > should display your app's home page.
> > >
> > > You may also want to get the Sysdeo Tomcat Plugin from
> > > http://www.sysdeo.com/eclipse/tomcatPlugin.html
> > >
> > > It creates buttons in Eclipse to start, stop, and restart Tomcat. Just
> > > make sure you configure it under Window->Preferences before you try to
> > > use it.
> > >
> > > Todd
> > >
> > >
> > >
> > >
> > > On Nov 4, 2004, at 4:25 AM, Saqib Rasul wrote:
> > >
> > > > Try to creat a Web application. Here are the docs for that:
> > > >
> > > > http://jakarta.apache.org/tomcat/tomcat-5.5-doc/appdev/index.html
> > > >
> > > > Once you have a web app as a war file, you can deploy that on tomcat.
> > > > You can use Ant to automatically generate War files. Ant has a task to
> > > > do this.
> > > >
> > > > Hope this helps,
> > > >
> > > > Regards,
> > > >
> > > > Saqib
> > > >
> > > >> -----Ursprüngliche Nachricht-----
> > > >> Von: FTP [mailto:ftp@atalos.com]
> > > >> Gesendet: Thursday, 4 November 2004 10:00 AM
> > > >> An: Tapestry users
> > > >> Betreff: newbie: setting a new tapestry project with spindel in
> > > >> eclipse
> > > >>
> > > >> I did download the spindle plugin and created a dummy project. Now,
> > > >> how
> > > >> do I deploy this under Tomcat 5.0.28? Tried to copy the "WEB-INF"
> > > >> directory but Tomcat gives an error.
> > > >>
> > > >> Thanks
> > > >>
> > > >>
> > > >> ---------------------------------------------------------------------
> > > >> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > > >> For additional commands, e-mail:
> tapestry-user-help@jakarta.apache.org
> > > >>
> > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > > > For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org