Re: [Resin-interest] How to set up Eclipse for Web app at root?

2016-01-03 Thread Carl Whalley
Ahh ... yes I always forget they caught up now! Will try, thanks for 
your help!

On 03/01/2016 02:00, Alex Rojkov wrote:
 In Eclipse, if I create a dynamic web app project called "foo", then a
>> Hi Carl,
>>
>> I just tested with a symbolic link named ROOT pointing to the deploy foo 
>> directory and that worked for me.
>>
>> So you should remove webapps/ROOT and make a link with  ln -s foo ROOT
>>
>>
>> Alex
>>
>> Thanks Alex, its great to know there's an easy fix for Linux but ... you
>> guessed it ... devs done on Windows.
> Have you tried mklink /D  
>
> Alex
>
 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest
>>> ___
>>> resin-interest mailing list
>>> resin-interest@caucho.com
>>> http://maillist.caucho.com/mailman/listinfo/resin-interest
>>
>> ___
>> resin-interest mailing list
>> resin-interest@caucho.com
>> http://maillist.caucho.com/mailman/listinfo/resin-interest
>
> ___
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


[Resin-interest] How to set up Eclipse for Web app at root?

2016-01-02 Thread Carl Whalley
In Eclipse, if I create a dynamic web app project called "foo", then a 
Resin server using the plugin config tool, I can then deploy it and
it runs at localhost:8080/foo. I need to have it deployed to the root, 
i.e. just localhost:8080. It seems its the "Add/Remove" dialog in the 
Resin Plug in which creates the webapp name in the path - how can I 
choose ROOT there please? I don't want to call the project "ROOT" just 
to achieve this, nor do I want to rename any WAR's each deploy because 
the will slow down dev time. I'm sure there must be a smarter way ;-)

___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] How to set up Eclipse for Web app at root?

2016-01-02 Thread Alex Rojkov
> In Eclipse, if I create a dynamic web app project called "foo", then a 
> Resin server using the plugin config tool, I can then deploy it and
> it runs at localhost:8080/foo. I need to have it deployed to the root, 
> i.e. just localhost:8080. It seems its the "Add/Remove" dialog in the 
> Resin Plug in which creates the webapp name in the path - how can I 
> choose ROOT there please? I don't want to call the project "ROOT" just 
> to achieve this, nor do I want to rename any WAR's each deploy because 
> the will slow down dev time. I'm sure there must be a smarter way ;-)

Hi Carl, 

I just tested with a symbolic link named ROOT pointing to the deploy foo 
directory and that worked for me. 

So you should remove webapps/ROOT and make a link with  ln -s foo ROOT 


Alex

> 
> ___
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] How to set up Eclipse for Web app at root?

2016-01-02 Thread Carl Whalley
On 02/01/2016 18:25, Alex Rojkov wrote:
>> In Eclipse, if I create a dynamic web app project called "foo", then a

Hi Carl,

I just tested with a symbolic link named ROOT pointing to the deploy foo 
directory and that worked for me.

So you should remove webapps/ROOT and make a link with  ln -s foo ROOT


Alex

Thanks Alex, its great to know there's an easy fix for Linux but ... you 
guessed it ... devs done on Windows.
>> ___
>> resin-interest mailing list
>> resin-interest@caucho.com
>> http://maillist.caucho.com/mailman/listinfo/resin-interest
>
> ___
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] How to set up Eclipse for Web app at root?

2016-01-02 Thread Alex Rojkov
>>> In Eclipse, if I create a dynamic web app project called "foo", then a
> 
> Hi Carl,
> 
> I just tested with a symbolic link named ROOT pointing to the deploy foo 
> directory and that worked for me.
> 
> So you should remove webapps/ROOT and make a link with  ln -s foo ROOT
> 
> 
> Alex
> 
> Thanks Alex, its great to know there's an easy fix for Linux but ... you 
> guessed it ... devs done on Windows.

Have you tried mklink /D   

Alex

>>> ___
>>> resin-interest mailing list
>>> resin-interest@caucho.com
>>> http://maillist.caucho.com/mailman/listinfo/resin-interest
>> 
>> ___
>> resin-interest mailing list
>> resin-interest@caucho.com
>> http://maillist.caucho.com/mailman/listinfo/resin-interest
> 
> 
> ___
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] How to set up Eclipse for Web app at root?

2016-01-02 Thread arjan tijms
Hi,

Another option; only for usage in Eclipse, create an EAR (Enterprise
Archive) project, include the war project in it, and using its
application.xml set the context root. See
http://forum.caucho.com/showthread.php?t=27214

Kind regards,
Arjan Tijms


On Sat, Jan 2, 2016 at 9:36 PM, Carl Whalley 
wrote:

> On 02/01/2016 18:25, Alex Rojkov wrote:
> >> In Eclipse, if I create a dynamic web app project called "foo", then a
>
> Hi Carl,
>
> I just tested with a symbolic link named ROOT pointing to the deploy foo
> directory and that worked for me.
>
> So you should remove webapps/ROOT and make a link with  ln -s foo ROOT
>
>
> Alex
>
> Thanks Alex, its great to know there's an easy fix for Linux but ... you
> guessed it ... devs done on Windows.
> >> ___
> >> resin-interest mailing list
> >> resin-interest@caucho.com
> >> http://maillist.caucho.com/mailman/listinfo/resin-interest
> >
> > ___
> > resin-interest mailing list
> > resin-interest@caucho.com
> > http://maillist.caucho.com/mailman/listinfo/resin-interest
>
>
> ___
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest
>
___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest