Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » WTP1.0.x and .deployables
WTP1.0.x and .deployables [message #162139] Mon, 27 February 2006 12:33 Go to next message
Eclipse UserFriend
Originally posted by: whb21.cam.ac.uk

I recently tried upgrading from 0.7 to first 1.0 (and then 1.0.1), and
this seems to have broken something I'm hoping someone here knows how to
fix:

Previously, on a workspace build, the WebContent and JavaSource were
copied into an appropriate structure in the .deployables directory.
This was very useful, because my development remote Tomcat instance is
configured with the webapp's docBase being this directory (it is on a
network fileserver drive). This lets me test by simply rebuilding the app.

Since the upgrade, only WEB-INF/classes is being updated on
..deployables, and the WebContent files and the WEB-INF/lib files will
not copy across on build.

Any ideas how to fix this?

(Note - I cannot run the test server on my workstation as the
workstation is Windows and the webapp needs to use a native library
built on the Linux server).
Re: WTP1.0.x and .deployables [message #162169 is a reply to message #162139] Mon, 27 February 2006 14:30 Go to previous message
Eclipse UserFriend
Originally posted by: wknauf_NO_._INSIDE_hg-online.de

Hi William,

the .deployables directory was removed in 1.0, all files are copied to
" %workspace%\.metadata\.plugins\org.eclipse.wst.server.core\t mp0\MyProject.ear "
for publishing. What happens next depends on your server plugin. For JBoss they
are packaged to an ear file and moved to the JBoss deploy directory.

That's the spot where you could add custom logic to move the files to your
network share. Take a look at the buildfiles in
" %ECLIPSE_HOME%\plugins\org.eclipse.jst.server.generic.server definitions_1.0.0.v20060131b\buildfiles ".
You can easily modify e.g. the ant task "deploy.j2ee.ear" to move the files to
your share folder.

Hope this helps

Wolfgang

William Billingsley wrote:
>
> I recently tried upgrading from 0.7 to first 1.0 (and then 1.0.1), and
> this seems to have broken something I'm hoping someone here knows how to
> fix:
>
> Previously, on a workspace build, the WebContent and JavaSource were
> copied into an appropriate structure in the .deployables directory. This
> was very useful, because my development remote Tomcat instance is
> configured with the webapp's docBase being this directory (it is on a
> network fileserver drive). This lets me test by simply rebuilding the app.
>
> Since the upgrade, only WEB-INF/classes is being updated on
> .deployables, and the WebContent files and the WEB-INF/lib files will
> not copy across on build.
>
> Any ideas how to fix this?
>
> (Note - I cannot run the test server on my workstation as the
> workstation is Windows and the webapp needs to use a native library
> built on the Linux server).
Previous Topic:[ANN] WTP 1.0.1 Release is available!
Next Topic:websphere 6.0 for webtools
Goto Forum:
  


Current Time: Fri Apr 26 13:57:29 GMT 2024

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

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

Back to the top