| Author |
Message |
|
|
Post subject: Eclipse having problem deploying web app on server
Posted: Jun 27, 2005 - 05:17 PM
|
|
Registered Member


Joined: Jun 27, 2005
Posts: 12
|
|
I'm working on software that was developed in intellij. I have imported the app into eclipse and eclipse will not see it as a web application. Nor will it deploy to my tomcat server. Any Suggections?? |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jun 27, 2005 - 09:40 PM
|
|
Registered Member

Joined: Jan 06, 2004
Posts: 23824
|
|
Can you please post all the information we request in the Posting Guidelines thread at the top of this forum? That will give us some context so that we can determine if this is an installation issue, a configuration problem, or a bug. Thanks. |
_________________ Riyad
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jun 28, 2005 - 01:26 PM
|
|
Registered Member


Joined: Jun 27, 2005
Posts: 12
|
|
XP Home
MyEclipse Build 3.8.4
JDK 1.4.8
Rinning same version on server |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jun 28, 2005 - 02:32 PM
|
|
Registered Member

Joined: Jan 06, 2004
Posts: 23824
|
|
What I would suggest is creating a new web project (File > New > Project > Web Project) and dropping the artifacts into the appropriate location from your existing project. To get an idea of how MyEclipse will behave and the facilities you have at your disposal when working with webapps, please look at our guides here: http://www.myeclipseide.com/ContentExpress-display-ceid-67.html |
_________________ Riyad
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jun 28, 2005 - 03:47 PM
|
|
Registered Member


Joined: Jun 27, 2005
Posts: 12
|
|
Yes the problem did get resolved yeaterday but the problem is back today. In the MyEclipse menu it has no options to add web capabilities. The project was developed in IntelliJ and imported into eclipse. I'm thinking it's some type of formatting issue. Eclipse sets up a struts application file layout by default. The imported project doesen't fit the file layout.
Unclear and totaly lost on what the problem could be. |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jun 28, 2005 - 04:58 PM
|
|
Registered Member

Joined: Jan 06, 2004
Posts: 23824
|
|
Bryan,
Send me the original project and I'll see if I can put it together into a web project for you. support@myeclipseide.com ATTN Riyad, be sure to reference this thread so I know why I'm getting the file. |
_________________ Riyad
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jun 28, 2005 - 05:03 PM
|
|
Moderator


Joined: May 06, 2003
Posts: 6760
|
|
| Quote: |
Yes the problem did get resolved yeaterday but the problem is back today.
|
I have no idea what the context of this statement is. What was fixed and what is now "back"?
| Quote: |
In the MyEclipse menu it has no options to add web capabilities.
|
It's called "Add WebProject Capabilities..." and is followed by "Remove WebProject capabilities..." , which are the last two items in the first group of actions under the MyEclipse menu in the main menu bar. If they're not present, either active or inactive, then you have a bad installation. If "Add..." is not active then either you don't have a project selected in the Package Explorer view (try reselecting it), or the project already has web project capabilities (in which case only "Remove..." should be active). So, what's that state of the menu and what is on it, *precisely*?
| Quote: |
The project was developed in IntelliJ and imported into eclipse.
|
After you imported it, did you run the "Add web project capabilities..." wizard? If not, then it won't be deployable. |
_________________ --Scott
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jun 28, 2005 - 09:15 PM
|
|
Registered Member


Joined: Jun 27, 2005
Posts: 12
|
|
MyEclipse will only let me add Hibernate Capabilities to a project. I even made a project using the Web Project Wizard and MyEclipse will not let me add or remove webproject capabilities. Well as for sending the source code thats not going to happen, boss said source code dosent leave the building. |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jun 28, 2005 - 09:19 PM
|
|
Registered Member

Joined: Jan 06, 2004
Posts: 23824
|
|
Web Projects already have Web Capabilities added to them. If you created a web project, just try copy-pasting the artifacts from your INtelliJ project into the new project (Source code goes into source folder, JSPs into WEbRoot, etc. etc.). |
_________________ Riyad
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jun 28, 2005 - 09:36 PM
|
|
Registered Member


Joined: Jun 27, 2005
Posts: 12
|
|
I did that but as soon as I copied everything over, all the capabilities became disabled again. |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jun 28, 2005 - 09:38 PM
|
|
Registered Member

Joined: Jan 06, 2004
Posts: 23824
|
|
It sounds like you have some dot files (.<blah>) from a previous eclipse install in the IJ project already, double check if you do or not (open the project in Windows explorer). It's possible that an old .project file from Eclipse could be overwrwiting the new one and crapping on everything. |
_________________ Riyad
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jun 28, 2005 - 09:44 PM
|
|
Registered Member


Joined: Jun 27, 2005
Posts: 12
|
|
should i delete the existing .project file?? |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jun 28, 2005 - 10:12 PM
|
|
Registered Member

Joined: Jan 06, 2004
Posts: 23824
|
|
Bryan,
Just ot make sure we are on the same page, when I said create a new project and drop the pieces in bit by bit, I didn't mean create a new project then grab the entire existing project and just drop it ontop of it. What I meant was to drag the JSPs into the Webroot, the WEB-INF dir contents into the project, source code into the source dir and so on and so on.
If you are asking if you should remove the .project file from the Eclipse project, no, Eclipse needs this. If you are asking if you should remove the .project file from the original IntelliJ project, then YES, it shouldn't be there.
I really don't see if you followed my suggestion how you are ending up with the situation you are having if you are moving it piece by piece over. |
_________________ Riyad
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jun 29, 2005 - 01:11 PM
|
|
Registered Member


Joined: Jun 27, 2005
Posts: 12
|
|
Yes I droped everything in piece by piece and it still does not work. |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jun 29, 2005 - 01:24 PM
|
|
Registered Member


Joined: Jun 27, 2005
Posts: 12
|
|
Is their anything in the .project file I can change to give the project WebProject Capabilities
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>Oasis</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>com.genuitec.eclipse.j2eedt.core.WebClasspathBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.genuitec.eclipse.j2eedt.core.J2EEProjectValidator</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.genuitec.eclipse.j2eedt.core.DeploymentDescriptorValidator</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.ibm.etools.validation.validationbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.genuitec.eclipse.ast.deploy.core.DeploymentBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.ibm.sse.model.structuredbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>com.genuitec.eclipse.ast.deploy.core.deploymentnature</nature>
<nature>com.genuitec.eclipse.j2eedt.core.webnature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription> |
|
|
| |
|
|
|
 |
|
|