You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by FTP <ft...@atalos.com> on 2004/11/04 18:34:05 UTC
Re: AW: newbie: setting a new tapestry project with spindel
ineclipse
I don't say that you are wrong but I never used ANT before and it will
take me a while to go through the manual etc. I was trying to avoid
this! At least to get a first "Hello World" up and running!
Thanks
On Thu, 2004-11-04 at 15:41, Saqib Rasul wrote:
> As I said before, write an ANT script to do this for you.
>
> Regards,
>
> Saqib
>
> > -----Ursprüngliche Nachricht-----
> > Von: FTP [mailto:ftp@atalos.com]
> > Gesendet: Thursday, 4 November 2004 5:01 PM
> > Cc: Tapestry users
> > Betreff: Re: newbie: setting a new tapestry project with spindel ineclipse
> >
> > 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
Re: AW: newbie: setting a new tapestry project with spindel ineclipse
Posted by Geoff Longman <gl...@gmail.com>.
Sounds like you are far from the need for a complicated deployment
script if this is just a HelloWorld app, just use JettyLauncher.
Plenty of time later to either figure out the Sysdeo plugin (which I
hate BTW) or learn ANT.
Jetty and Tomcat are both compliant containers so what's the big deal here?
Geoff
On Thu, 04 Nov 2004 17:34:05 +0000, FTP <ft...@atalos.com> wrote:
> I don't say that you are wrong but I never used ANT before and it will
> take me a while to go through the manual etc. I was trying to avoid
> this! At least to get a first "Hello World" up and running!
>
>
>
> Thanks
>
> On Thu, 2004-11-04 at 15:41, Saqib Rasul wrote:
> > As I said before, write an ANT script to do this for you.
> >
> > Regards,
> >
> > Saqib
> >
> > > -----Ursprüngliche Nachricht-----
> > > Von: FTP [mailto:ftp@atalos.com]
> > > Gesendet: Thursday, 4 November 2004 5:01 PM
> > > Cc: Tapestry users
> > > Betreff: Re: newbie: setting a new tapestry project with spindel ineclipse
> > >
> > > 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
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org