- This topic has 1 reply, 2 voices, and was last updated 19 years, 7 months ago by Riyad Kalla.
-
AuthorPosts
-
Raja krishnanMemberHi Guys,
Can anyone tell me how to do Custom WAR packaging using Myeclipseide i want to leave certain Files behind ex:testcases e.t.c during deployment .
I am using Myeclipse 3.8.4 and Tomcat 5.0.28 as the app server.I know i can use ANT but i am running out of time here
fyi
I am using the following web application options in my project
1.Use Smart Deployment for dependent Java Projects
2.Jars on web project build path
3.Jars on Wbe projects User libraries.What operating system and version are you running? Win2000 Client
What Eclipse version and build id are you using? (Help > About Eclipse Platform) 3.0.2
– Was Eclipse freshly installed for MyEclipse? yes
– If not, was it upgraded to its current version using the update manager?
– Are any other external plugins installed? no
– How many plugins in the <eclipse>/plugins directory are like org.eclipse.pde.*
What MyEclipse version are you using? (Help > About Eclipse Platform > Features) 3.8.4
What JDK version are you using to run Eclipse? (java -version) 1.4.2_08
What JDK version are you using to launch your application server? 1.4.2_08
What steps did you take that resulted in the issue? New
What application server are you using? Tomcat 5.0.28
Are there any exceptions in the Eclipse log file? (<workspace>/.metadata/.log) noRaja Krishnan
Sydney
Riyad KallaMemberCan anyone tell me how to do Custom WAR packaging using Myeclipseide i want to leave certain Files behind ex:testcases e.t.c during deployment .
Raja, currently this is done with an Ant script. The WAR export facilities of MyEclipse are provided for development and testing needs, for deployment on production systems we encourage you to develop Ant scripts that build/package your projects exactly as needed. There actually hasn’t been a big demand to allow more fine grained control of the export functionality in the WAR exporter, which is another reason is it very basic right now.
I’m sorry for the bad news, what you could do if you have MyEclipse all setup is just to deploy a packaged deployment, then use WinZip, WinRAR or other archiver to go in and remove the test cases from the WAR before deploying it to a production machine.
-
AuthorPosts