Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » webdoclet merge dir
webdoclet merge dir [message #165893] Tue, 04 April 2006 22:43 Go to next message
Eclipse UserFriend
Originally posted by: ozkologlu.nowhere.com

HI all,

I can see that the webdoclet is set to ${web.module.webinf}. Does anyone
know where the value is set and/or what the valid palaceholder variables
are?

I don't particularly like to have my merge files in the webinf directory of
the project.

Thanks
Oz
Re: webdoclet merge dir [message #168791 is a reply to message #165893] Mon, 08 May 2006 15:54 Go to previous messageGo to next message
Paul Grove is currently offline Paul GroveFriend
Messages: 1
Registered: July 2009
Junior Member
I have the same query has anyone out there got an answer I do nor want to
locate my xdoclet web merge files in WEB-INF as these then get packed up
in the WAR
Re: webdoclet merge dir [message #170266 is a reply to message #168791] Fri, 26 May 2006 19:01 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: john.debellevue.gmail.com

> I have the same query has anyone out there got an
> answer I do nor want to
> locate my xdoclet web merge files in WEB-INF as these
> then get packed up
> in the WAR
>

You can set a propertie in the Ant properties (Window-Preferences->Ant->Runtime->Properties), I gave mine a name of mergeDir, and set its value to merge. I created a merge folder under my project folder, and it includes those files in my web.xml.
Re: webdoclet merge dir [message #170558 is a reply to message #170266] Mon, 05 June 2006 09:30 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: paul_grove.yahoo.co.uk

I not sure if it's me or I'm just stupid, I still can't get it to work.

My merge files are under my project in the following file project_name/src/main/xdoclet/merge/web

I add a variable to the ant part of mergedir=src/main/xdoclet/merge/web

Then change the webdoclet mergedir variable in the deployment desriptor part from ${web.module.webinf} to ${mergedir}. But this still does not work what am I doing wrong?
Re: webdoclet merge dir [message #170604 is a reply to message #170558] Mon, 05 June 2006 16:46 Go to previous message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1310
Registered: July 2009
Senior Member
If you are going to use a relative path, the base directory to which is
is relative matters. It would appear that you have confirmed that when
the XDoclet Ant script runs, the base directory isn't your project
directory. If I recall correctly, the Console view will display the
name of the Ant script being run. You might check this file to see what
needs to be done to get it working.

Cheers,
Larry

Paul Grove wrote:
> I not sure if it's me or I'm just stupid, I still can't get it to work.
>
> My merge files are under my project in the following file project_name/src/main/xdoclet/merge/web
>
> I add a variable to the ant part of mergedir=src/main/xdoclet/merge/web
>
> Then change the webdoclet mergedir variable in the deployment desriptor part from ${web.module.webinf} to ${mergedir}. But this still does not work what am I doing wrong?
Previous Topic:DeploymentDescriptorLoadException without a obvious reason
Next Topic:Leather Java Coat
Goto Forum:
  


Current Time: Thu Nov 27 16:14:27 GMT 2014

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

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