My point is that Eclipse does not, in the base IDE, have the knowledge to build 
and deploy a web-app.  You can get that capability with ANT, which gives you 
all the flexibility in the world about how you arrange your project, or with a 
plugin, which requires you to arrange your project in a particular way.

> -----Original Message-----
> From: Martin Kindler [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, May 25, 2006 12:59 PM
> To: 'Struts Users Mailing List'
> Subject: AW: Struts with Eclipse 3.1
> 
> 
> I have not really followed this stream, but just to develop a 
> Struts (action
> 1.x) based app with Eclipse 3.x
> does not require something special. Just create the project, 
> add the Struts jars to it (do not forget the build path) and go.
> 
> If you want to have integrated debugging with Tomcat you can 
> use the Sysdeo plugin.
> 
> 
> Martin
> 
> > -----Ursprüngliche Nachricht-----
> > Von: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] 
> > Gesendet: Donnerstag, 25. Mai 2006 18:48
> > An: user@struts.apache.org
> > Betreff: RE: Struts with Eclipse 3.1
> > 
> > 
> > If you don't want to build with ANT (or equivalent) then I
> > think you must use one of the plugins with webapplication 
> > support.  These, in my experience (mostly with MyEclipse), 
> > require particular layouts of the source for it to work.
> > 
> > It seems to be your choice which work you want to do.
> > 
> > > -----Original Message-----
> > > From: Maya menon [mailto:[EMAIL PROTECTED]
> > > Sent: Thursday, May 25, 2006 12:33 PM
> > > To: Struts Users Mailing List
> > > Subject: Re: Struts with Eclipse 3.1
> > > 
> > > 
> > > But I donnot have an ANT build file. for my project, we 
> donot have 
> > > an ANT build file yet..
> > > 
> > > Miguel Galves <[EMAIL PROTECTED]> wrote:  just for the 
> record, I use 
> > > a plain Java project, with an appropriate ANT build file 
> that builds 
> > > and deploys teh struts system for me.
> > > 
> > > It works fine.
> > > 
> > > Miguel
> > > 
> > > On 5/25/06, Maya menon wrote:
> > > >
> > > > No. It wont work. when I do that, it asks for a folder to
> > > import to.
> > > > When I type a new name in says, specified project 
> doesnt exist and 
> > > > stops there...
> > > >
> > > > "Chaudhary, Harsh" wrote: Sounds like something
> > > > wrong with the import you did. Why don't you do a fresh
> > > import without
> > > > creating a project first. Then when you import, it would
> > > prompt you to
> > > > specify a project at which point, you can create a new project. 
> > > > Hopefully this will merge the two and generate a singular file 
> > > > structure.
> > > >
> > > > Harsh.
> > > >
> > > > -----Original Message-----
> > > > From: Maya menon [mailto:[EMAIL PROTECTED]
> > > > Sent: Thursday, May 25, 2006 10:54 AM
> > > > To: Struts Users Mailing List
> > > > Subject: RE: Struts with Eclipse 3.1
> > > >
> > > >
> > > > Yes, I was trying that.
> > > >
> > > > I created an empty "Web project" in eclipse and imported 
> > > > struts-sample.war. But this created two WEB-INF 
> directories and 2 
> > > > web.xml files. Looks like when a web project is first 
> created, it 
> > > > already creates the web.xml and web-inf directory,a nd
> > when the war
> > > > file gets imported, it creates it again.
> > > >
> > > > So, I created a simple Java project and imported the 
> war file. But 
> > > > functionally, will it work. What other suggestions ?
> > > >
> > > > "Chaudhary, Harsh" wrote:
> > > > A sample web project is bundeled with the struts
> > > distribution at like:
> > > > \struts-1.2.8-bin\struts-1.2.8-bin\webapps
> > > > Its called struts-examples.war. Get that running and 
> then you can 
> > > > reuse that code to get started. Harsh.
> > > >
> > > > -----Original Message-----
> > > > From: Maya menon [mailto:[EMAIL PROTECTED]
> > > > Sent: Thursday, May 25, 2006 10:31 AM
> > > > To: Struts Users Mailing List
> > > > Subject: RE: Struts with Eclipse 3.1
> > > >
> > > >
> > > > Thanks Harsh. I also dont care about ide support.
> > > >
> > > > But think you have an existing web project and you want to
> > > use struts
> > > > files. How do you do that ?
> > > >
> > > > In my case, I have a web project in eclipse [created using
> > > eclipse 3.1
> > > > and eclipse web tools platofrm]. Now to this project I have
> > > added the
> > > > struts zip file. How do I make use of the struts config
> > > files, action
> > > > classes etc ?
> > > >
> > > >
> > > >
> > > > "Chaudhary, Harsh" wrote:
> > > > Sure you can do that. But you would not have any IDE support. 
> > > > Personally I don't care much for IDE support as all you need is 
> > > > entries in struts-cofig.xml, an Action class, a Struts
> > form and an
> > > > HTML or JSP page.
> > > >
> > > > Harsh.
> > > >
> > > > -----Original Message-----
> > > > From: Maya menon [mailto:[EMAIL PROTECTED]
> > > > Sent: Thursday, May 25, 2006 10:17 AM
> > > > To: Struts Users Mailing List
> > > > Subject: RE: Struts with Eclipse 3.1
> > > >
> > > >
> > > > Ok Thanks. Can I just import the zip file to my project 
> and start 
> > > > using it ?
> > > >
> > > > Maya
> > > >
> > > > "Chaudhary, Harsh" wrote:
> > > > Sure you can. Just include the Struts lib files in your
> > project. If
> > > > you are talking about IDE support for Struts, then I
> > would suggest:
> > > > http://www.myeclipseide.com/ContentExpress-display-ceid-55.html
> > > > This is a tested plug-in for Struts on eclipse. It costs
> > about $30 -
> > > > $40.
> > > >
> > > > There is another Struts plug-in for eclipse available at: 
> > > > http://download.eclipse.org/webtools/downloads/
> > > >
> > > > This one is free. I have used it myself and its pretty good too.
> > > >
> > > > Harsh.
> > > >
> > > > -----Original Message-----
> > > > From: Maya menon [mailto:[EMAIL PROTECTED]
> > > > Sent: Thursday, May 25, 2006 10:06 AM
> > > > To: user@struts.apache.org
> > > > Subject: Struts with Eclipse 3.1
> > > >
> > > >
> > > > All,
> > > >
> > > > Is it possible to use struts with Eclipse 3.1 ? If yes, 
> how. Can 
> > > > anyone please help.
> > > >
> > > > Thanks.
> > > >
> > > >
> > > > ---------------------------------
> > > > Feel free to call! Free PC-to-PC calls. Low rates on
> > > PC-to-Phone. Get
> > > > Yahoo! Messenger with Voice
> > > >
> > > > 
> > > 
> > 
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > > >
> > > >
> > > > __________________________________________________
> > > > Do You Yahoo!?
> > > > Tired of spam? Yahoo! Mail has the best spam protection around 
> > > > http://mail.yahoo.com
> > > >
> > > > 
> > > 
> > 
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > > >
> > > >
> > > >
> > > > ---------------------------------
> > > > Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone
> > > calls. Great
> > > > rates starting at 1¢/min.
> > > >
> > > > 
> > > 
> > 
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > > >
> > > >
> > > >
> > > > ---------------------------------
> > > > New Yahoo! Messenger with Voice. Call regular phones from
> > > your PC and
> > > > save big.
> > > >
> > > > 
> > > 
> > 
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > > >
> > > >
> > > >
> > > > ---------------------------------
> > > > Love cheap thrills? Enjoy PC-to-Phone calls to 30+
> > > countries for just
> > > > 2¢/min with Yahoo! Messenger with Voice.
> > > >
> > > 
> > > 
> > > 
> > > --
> > > Miguel Galves - Engenheiro de Computação
> > > Já leu meus blogs hoje?
> > > Para geeks http://log4dev.blogspot.com
> > > Pra pessoas normais
> > > http://miguelgalves.blogspot.com
> > > 
> > > "Não sabendo que era impossível, ele foi lá e fez..."
> > > 
> > > 
> > >           
> > > ---------------------------------
> > > How low will we go? Check out Yahoo! Messenger's low PC-to-Phone 
> > > call rates.
> > > 
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to