|
Re: Output directory for Javascript [message #817189 is a reply to message #816283] |
Fri, 09 March 2012 19:20 |
|
On 3/8/2012 11:47 AM, David Vree wrote:
> I am new to Javascript development and am struggling to establish a nice
> workflow whereby I can edit Javascript code, hit refresh, and see the
> changes in my browser.
>
> The wrinkle in my set up is that I am developing for a Java servlet
> based web-app that uses Maven. Currently, our team has Maven configured
> to run the servlet via Tomcat in an exploded WAR format. This is nice
> because with different commands I run against different databases and
> everything is automatically configured correctly.
>
> I'd really like to get Eclipse to, whenever I make a changes to
> Javascript files, copy the files to the webapp directory within the
> running Tomcat instance that I have.
>
> Is this possible?
This would be automatic if you're using WTP's publishing support, but
additionally this doesn't sound like a problem specific to JavaScript
files. How do your other non-Servlet resources get published?
--
---
Nitin Dahyabhai
Eclipse WTP Source Editing and JSDT
IBM Rational
_
Nitin Dahyabhai
Eclipse Web Tools Platform
|
|
|
|
Re: Output directory for Javascript [automatically publishing to Tomcat] [message #819275 is a reply to message #817287] |
Mon, 12 March 2012 17:52 |
|
On 3/9/2012 5:21 PM, David Vree wrote:
> Nitin Dahyabhai wrote on Fri, 09 March 2012 14:20
>> This would be automatic if you're using WTP's publishing support, but
>> additionally this doesn't sound like a problem specific to JavaScript
>> files. How do your other non-Servlet resources get published?
>
> You are correct that it's not just the Javascript, but I am 90%
> concerned with the Javascript, the other 10% is HTML and graphics, etc.
>
> I guess, put another way my question really is: can WTP publish modified
> Javascript to an external (already running) Tomcat server if I give it
> the directory?
>
I think someone who works in or more regularly uses that area would have
to answer. Typically in involves letting WTP launch the server, but my
knowledge is far from complete about those things.
--
---
Nitin Dahyabhai
Eclipse WTP Source Editing and JSDT
IBM Rational
_
Nitin Dahyabhai
Eclipse Web Tools Platform
|
|
|
|
Powered by
FUDForum. Page generated in 0.03448 seconds