MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
gkasrel
Post subject: Export Struts project deployment into build.xml?  PostPosted: Nov 18, 2004 - 09:08 PM
Veteran Member
Veteran Member


Joined: Nov 18, 2004
Posts: 3

Hello,

I'll apologize right away in case this is not the best MyEclipse discussion group to post this question to ... but here it goes:

Because Eclipse knows how to compile and deploy my Struts project, I was wondering if there is a way to export this logic into a build.xml file, rather than creating it myself by hand. Does MyEclipse (or Eclipse itself) have such a service/feature?

I found a white paper on Eclipse PDE Build at:
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.pde.build/notes/usingPDEBuild.html?rev=HEAD

This talks about the ability (at least potentially as I understood it) to export the deployment into a build.xml ... however, it seems to fall just shy of a How-To.

Though I did manage to find and install the following PDE plugins:
eclipse-PDE-3.1M3.zip
eclipse-PDE-SDK-3.1M3.zip

... I was not able to find anything in the Perspective that would allow me to generate the build.xml file automatically.

Any help would certainly and greatly be appreciated.

Thank you for reading.

-Gene
gkasrel@yahoo.com
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-rkalla
Post subject:   PostPosted: Nov 19, 2004 - 01:47 AM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23824

Gene,
Just to clarify a few things... the Building and Deploying of your Web/EJB and Enterprise projects are all handled internally by the MyEclipse builders and deployment tools. There currently is no support for creating an Ant script from them because the functionality of the tools surpass what Ant is able to support, this is why we didn't just originall use Ant build scripts for everything.

I don't know what the functionality you are reading about it for or from, but it is not part of MyEclipse so I can't comment on it accurately (not farmiliar with it) but keep in mind that using MyEclipse 3.8.2 on the Eclipse 3.1 platform is not supported and quite error-prone... so keep your eyes peeled for 'weird' behaviors and down grade to Eclipse 3.0.1 for the best experience.

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
gkasrel
Post subject:   PostPosted: Nov 19, 2004 - 04:30 PM
Veteran Member
Veteran Member


Joined: Nov 18, 2004
Posts: 3

Riyad,

Thank you for the quick response.

Just as an idea, I (obviously :wink: ) believe it would be nice if there was at least partial functionallity to generate a script that could do the basic stuff:
* Compile the .java files
* Precompile JSPs
* Write the production output to the proper directory locations in the deployment environment

... because all the information is already required from the user by the config to deploy, run tomcat, etc... it just needs to be assembled in the Ant syntax. ... anyway, just a thought.

I guess it's off to my build scripts :lol: / :cry:

Regards,

-Gene
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-rkalla
Post subject:   PostPosted: Nov 19, 2004 - 04:34 PM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23824

Hmm... this request has been comming up more and more... we do have some major project enhancements planned for the upcomming months here, maybe after that major work is done we can look again at script exporting to help our the users?

Thanks for the tip.

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
gkasrel
Post subject:   PostPosted: Nov 19, 2004 - 04:42 PM
Veteran Member
Veteran Member


Joined: Nov 18, 2004
Posts: 3

Hi Riyad,

As long as we are on the topic, do know if there is a way to execute MyEclipse features from the command line? ... without running the Eclipse Windows UI ... in this case it would be to run the project deploy operation?

Something to the effect of ...

c:\eclipse> eclipse.exe -myeclipse_strutsdeploy c:\projects\myStrutsProject\

Thanks,

Gene
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-rkalla
Post subject:   PostPosted: Nov 19, 2004 - 04:45 PM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23824

No there isn't support for something like that at this time.

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits