tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christoph Nenning <Christoph.Nenn...@lex-com.net>
Subject Re: Symlinks to index JSP files.
Date Fri, 26 Feb 2016 14:32:09 GMT
> > > Hi all,
> > > I'm having some trouble with tomcat and symbolic links. I am working
> > with
> > > OSX and I use a local instance of Tomcat to do some testing before
> > > deploying my site elsewhere.
> > >
> > > What I want to do: I'd like to create a small script which will stop
> > > tomcat, clear out old deployment folders, rebuild my project, copy 
the
> > > resulting WAR file to the webapps folder, restart tomcat, wait for
> > > deployment to finish, and finally replace a JSP file with a symbolic
> > link
> > > to the corresponding file that is in my workspace.
> > >
> > > Why I want to do this: I'd like to be able to quickly rebuild and
> > redeploy
> > > my WAR and also edit my JSP files and see those changes by simply
> > > refreshing the already-open page.
> > >
> >
> >
> > e.g. eclipse provides good support for such a workflow. You would not 
need
> > symlinks then...
> >
> >
> > You can find out more here:
> >
> >
> > http://help.eclipse.org/juno/index.jsp?topic=%
> 2Forg.eclipse.wst.server.ui.doc.user%2Ftopics%2Frwrcview.html
> >
> > https://www.youtube.com/results?search_query=eclipse+tomcat
> >
> >
> >
> > Regards,
> > Christoph
> >
> >
> >
> > <snip />
> >
> > This Email was scanned by Sophos Anti Virus
> >
> 
> Christoph,
> I have a little experience with the way eclipse does this and I have 
gotten
> it to work nicely, but to be honest I would like to keep my solution IDE
> independent. There is little to no consensus among my peers about which 
IDE
> is preferable and if I can provide a solution that will work for 
everyone,
> that would be best.


Yes, usage of IDEs can be controversial in teams. I cannot help with the 
symlink issue, I just have the alternative approach to use an IDE to 
support that JSP editing workflow.


Regards,
Christoph

This Email was scanned by Sophos Anti Virus

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message