Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » deployable directory
deployable directory [message #153732] Mon, 26 December 2005 09:10 Go to next message
Eclipse UserFriend
Originally posted by: ranavishal.gmail.com

Hi all I am using wtp 1 can anyone tell me according to below configuration
where is this deployable directory created?

I am confussed between 0.7 and 1 wtp






<?xml version="1.0" encoding="UTF-8"?>

<project-modules id="moduleCoreId">

<wb-module deploy-name="testing">

<wb-resource deploy-path="/WEB-INF/classes" source-path="/src"/>

<wb-resource deploy-path="/" source-path="/WebContent"/>

<property name="context-root" value="testing"/>

<property name="java-output-path" value="/build/classes/"/>

</wb-module>

</project-modules>
Re: deployable directory [message #153820 is a reply to message #153732] Tue, 27 December 2005 08:15 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wknauf_NO_._INSIDE_hg-online.de

Hi Vishal,

the deployable files are put in this dir (depending on your target server):

..metadata\.plugins\org.eclipse.core.resources\.projects\%EA R_PROJECT%\org.eclipse.jst.server.jboss\%WEB_PROJECT%

The sample path comes from a JBoss server definition.

Hope this helps

Wolfgang

Vishal Rana wrote:
> Hi all I am using wtp 1 can anyone tell me according to below configuration
> where is this deployable directory created?
>
> I am confussed between 0.7 and 1 wtp
>
>
>
>
>
>
> <?xml version="1.0" encoding="UTF-8"?>
>
> <project-modules id="moduleCoreId">
>
> <wb-module deploy-name="testing">
>
> <wb-resource deploy-path="/WEB-INF/classes" source-path="/src"/>
>
> <wb-resource deploy-path="/" source-path="/WebContent"/>
>
> <property name="context-root" value="testing"/>
>
> <property name="java-output-path" value="/build/classes/"/>
>
> </wb-module>
>
> </project-modules>
>
>
Re: deployable directory [message #155202 is a reply to message #153820] Fri, 06 January 2006 10:38 Go to previous message
Eclipse UserFriend
Because of this change in where the war is built and deployed from, we are
now getting constant errors when trying to deploy our web projects to a
Weblogic Server. This is due to the now much longer directory name
(approx 140 characters now). The Ant Publisher now fails with this error:

org.eclipse.core.runtime.CoreException[0]: java.lang.Exception: Error
renaming
C:\eclipse\workspace\.metadata\.plugins\org.eclipse.jst.serv er.core\tmp61095.class
to
C:\eclipse\workspace\.metadata\.plugins\org.eclipse.core.res ources\.projects\BXIRW
R7\org.eclipse.jst.server.generic.serverdefinitions\BXIRW
R7\WEB-INF\classes\org\tiaa\irw\integration\util\XMLDisplay\ impl\SEARCHRESTypeImpl$TRTypeImpl$TDTypeImpl$Unmarshaller.cl ass

When trying to manually copy the file and rename it outside of Eclipse, an
error window opens in Windows XP saying that the total file path is too
long - it goes over the 255 character limit.

Even though this is an obvious limitation with Windows, not really a WTP
bug, the change in "staging area" from 0.7.1 to 1.0 has caused this
exception to occur. One fix is to use some other shorter folder path such
as workspace/projectName/.deployables/moduleName instead of
workspace/.metadata/.plugins/org.eclipse.core.resources/.pro jects/projectName/org.eclipse.jst.server.generic.serverdefin itions/
moduleName

This would help minimize this error from occuring.

Wolfgang Knauf wrote:

> Hi Vishal,

> the deployable files are put in this dir (depending on your target server):

>
..metadata.pluginsorg.eclipse.core.resources.projects%EAR_PR OJECT%org.eclipse.jst.server.jboss%WEB_PROJECT%

> The sample path comes from a JBoss server definition.

> Hope this helps

> Wolfgang

> Vishal Rana wrote:
>> Hi all I am using wtp 1 can anyone tell me according to below configuration
>> where is this deployable directory created?
>>
>> I am confussed between 0.7 and 1 wtp
>>
>>
>>
>>
>>
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>>
>> <project-modules id="moduleCoreId">
>>
>> <wb-module deploy-name="testing">
>>
>> <wb-resource deploy-path="/WEB-INF/classes" source-path="/src"/>
>>
>> <wb-resource deploy-path="/" source-path="/WebContent"/>
>>
>> <property name="context-root" value="testing"/>
>>
>> <property name="java-output-path" value="/build/classes/"/>
>>
>> </wb-module>
>>
>> </project-modules>
>>
>>
Previous Topic:Resin 2.1.4
Next Topic:export as EAR leaves out some files
Goto Forum:
  


Current Time: Sun Mar 16 19:42:19 EDT 2025

Powered by FUDForum. Page generated in 0.03007 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top