J2EE project without a target server? [message #84682] |
Thu, 17 March 2005 14:44 |
Eclipse User |
|
|
|
Originally posted by: amol.forums.gmail.com
I need to use Weblogic 7.0 to develop and deploy certain applications.
And atleast at the moment, I dont see a way to configure 7.0 as a target
server.
So what I do is create a j2ee application and have a ant script included
in the builders which prepares the WAR and deployes it under my weblogic
installation.
Then, I have setup remote debugging to debug this application under
weblogic 7.0 from within eclipse.
All this is fine, except that whenever I create a new J2EE project, I HAVE
to specify a target server. In this case, even though there is no "target
server", I have to unnecessarily download and install tomcat, configure it
as a target server. (After exiting the j2ee wizard, I delete the tomcat
runtime from the project classpath) Is there any way to skip this step
while creating a "J2EE project" ?
|
|
|
Re: J2EE project without a target server? [message #84698 is a reply to message #84682] |
Thu, 17 March 2005 15:28 |
Larry Isaacs Messages: 1354 Registered: July 2009 |
Senior Member |
|
|
You could create a directory at some convenient location and copy to
this directory the runtime jars your webapp needs to compile. I would
guess that this would include at least weblogic.jar. Then execute
Window -> Preferences, select Server -> Installed Runtimes, and click
Add. Select Basic -> J2EE Runtime Library and specify a name and point
it at the directory above. Until you can find out how to derive a
WebLogic 7.0 Generic server from the WebLogic 8.1 support (I don't have
this answer at the moment), you can choose this as your Target Server
when you create a J2EE Web Project.
Cheers,
Larry
Amol Katdare wrote:
> I need to use Weblogic 7.0 to develop and deploy certain applications.
> And atleast at the moment, I dont see a way to configure 7.0 as a target
> server.
>
> So what I do is create a j2ee application and have a ant script included
> in the builders which prepares the WAR and deployes it under my weblogic
> installation.
> Then, I have setup remote debugging to debug this application under
> weblogic 7.0 from within eclipse.
>
> All this is fine, except that whenever I create a new J2EE project, I
> HAVE to specify a target server. In this case, even though there is no
> "target server", I have to unnecessarily download and install tomcat,
> configure it as a target server. (After exiting the j2ee wizard, I
> delete the tomcat runtime from the project classpath) Is there any way
> to skip this step while creating a "J2EE project" ?
>
>
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03945 seconds