Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » JavaScript project as dependency of Dynamic Webapp Project
JavaScript project as dependency of Dynamic Webapp Project [message #636574] Mon, 01 November 2010 23:44 Go to next message
Robert Elliot is currently offline Robert ElliotFriend
Messages: 3
Registered: July 2009
Junior Member
Hi all,

I'm probably being really dumb, but I've got a JavaScript project and I've got a dynamic webapp project, but I can't find a way to link them so that when I publish the webapp to a server the js files from the JavaScript project are copied into an appropriate place in the war.

I realise I could put them in the webapp project itself, but there are reasons (Maven...) why I would rather have them in their own project.

Thanks for any pointers.
Re: JavaScript project as dependency of Dynamic Webapp Project [message #637610 is a reply to message #636574] Sun, 07 November 2010 19:39 Go to previous messageGo to next message
Robert Elliot is currently offline Robert ElliotFriend
Messages: 3
Registered: July 2009
Junior Member
I take it that I'm not being dumb, and there is no way to do this?
Re: JavaScript project as dependency of Dynamic Webapp Project [message #637719 is a reply to message #637610] Mon, 08 November 2010 13:49 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: steven.whatmore.purefacts.com

If I am interrupting what you are trying to do correctly (and I believe I
am) - this has been an issue / request for quite some time and I believe is
on the list of request / enhancements - not exactly sure when this will be
addressed (that would be a question for the WTP dev team) but you are
correct this cannot be done and the typical response is to use ANT / Maven
to build the project and run it directly in Tomcat

"Robert Elliot" <rob@lidalia.org.uk> wrote in message
news:ib6v23$793$1@news.eclipse.org...
> I take it that I'm not being dumb, and there is no way to do this?
Re: JavaScript project as dependency of Dynamic Webapp Project [message #638645 is a reply to message #637719] Thu, 11 November 2010 23:11 Go to previous messageGo to next message
Robert Elliot is currently offline Robert ElliotFriend
Messages: 3
Registered: July 2009
Junior Member
Thanks for letting me know.
Re: JavaScript project as dependency of Dynamic Webapp Project [message #780949 is a reply to message #638645] Fri, 20 January 2012 07:11 Go to previous message
Ibrahim Levent is currently offline Ibrahim LeventFriend
Messages: 1
Registered: January 2012
Junior Member
I needed same feature, found an alternative way:
1- Firstly, place javascript files in the webapp project.
2- Then in JavaScript Project, add file links(This can be achieved with New/File/(Check this)Link to file in the file system) instead of real js files.
Previous Topic:Referenced Jar Does not exist
Next Topic:XML Generator does not generate group references correctly
Goto Forum:
  


Current Time: Sat Apr 20 02:57:11 GMT 2024

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

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

Back to the top