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
distance
Post subject: Building war file  PostPosted: Aug 03, 2011 - 02:59 PM
Registered Member
Registered Member


Joined: Jan 21, 2011
Posts: 11

How do I rename the web context in a struts project?
How can I automatically war file everytime a run a project on my development
machine?
 
 View user's profile Send private message  
Reply with quote Back to top
support-joy
Post subject:   PostPosted: Aug 04, 2011 - 09:58 AM
Registered Member
Registered Member


Joined: Feb 03, 2009
Posts: 3442

distance,

You have not included your OS details and installation details.
Now to answer your queries -
To change your web context root do the following - right click on the project > properties > MyEclipse > Web and change the web context-root

I am afraid we currently do not provide an option to automatically create a war file and deploy. To build war file - right click on the project > Export > JavaEE > War
You can use build automatically option to automatically deploy your project to your app server(from menu options click on Project > Build automatically). In case build automatically is not selected, right click on your project > build

_________________
Joy
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
distance
Post subject: uanble to change context root.  PostPosted: Aug 08, 2011 - 09:55 PM
Registered Member
Registered Member


Joined: Jan 21, 2011
Posts: 11

I was able to change the context-root to project
from "prj" to prj-revised". When I run the application
on server I get http 400
error? What is that I am missing. Installation summary follows
~~~~~~~~~~~~~~~~
*** Date:
Monday, August 8, 2011 3:54:30 PM CDT

** System properties:
OS=WindowsVista
OS version=6.1.0
Java version=1.6.0_13


*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 9.1
Build id: 9.1-20110701


*** Eclipse details:
MyEclipse Enterprise Workbench

Version: 9.1
Build id: 9.1-20110701






Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
C:\usr\local\MyEclipse9\MyEclipse 9\myeclipse.exe
-name
Myeclipse
--launcher.library
C:\usr\local\MyEclipse9\MyEclipse 9\../Common/plugins/org.eclipse.equinox.launcher.i18n.win32.win32.x86_3.2.0.v201103301700\eclipse_3215.dll
-startup
C:\usr\local\MyEclipse9\MyEclipse 9\../Common/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
-install
C:\usr\local\MyEclipse9\MyEclipse 9
-configuration
C:\usr\local\MyEclipse9\MyEclipse 9\configuration
-vm
C:\usr\local\MyEclipse9\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\bin\client\jvm.dll
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 View user's profile Send private message  
Reply with quote Back to top
support-joy
Post subject:   PostPosted: Aug 10, 2011 - 07:59 AM
Registered Member
Registered Member


Joined: Feb 03, 2009
Posts: 3442

distance,

Thank you for the installation details. You seem to be hitting 400 bad request. Please check if you have syntax error. Open your problems tab and look for issues listed. If there are any, right click on the same and click on [quick-fix]. I need to look at your code to see what is the root cause. Clear your .log file located at [your workspace dir]/.metadata/.log, replicate issue and attach the file here. Could you also include screenshot of the issue you see to help me get a visual.

_________________
Joy
MyEclipse Support
 
 View user's profile Send private message  
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