JBoss plugin assumes position of jboss-web.xml
Most of my projects have been set up as follows:
/my project dir
/src
/web
/WEB-INF
jboss-web.xml*
The plugin assumes that the jboss-web.xml file is located in /WEB-INF
instead of where I tell it (/web/WEB-INF)
/my project dir
/src
/web
/WEB-INF
jboss-web.xml*
/WEB-INF
jboss-web.xml
*If I change it, it eventually loses the setting and reverts to the
default.*
*
--
Norris Shelton
Sun Certified Java Programmer
Please sign in to leave a comment.
Also, every time you add a server, it assumes that it is located in the
IJ bin directory. Would it make more sense to remember your last
selected directory? It might be much closer.
Norris Shelton
Sun Certified Java Programmer
Norris Shelton wrote:
>
>
>
>--
>Norris Shelton
>Sun Certified Java Programmer
>
>
Adding a new server is not an every-days task (unless you are developing
the plugin...), therefore I never felt this is worth implementing. But
if it makes your life easier, I'll take a look at it.
Norris Shelton wrote:
>> Most of my projects have been set up as follows:
>> /my project dir
>> /src
>> /web
>> /WEB-INF
>> * jboss-web.xml*
>>
>> The plugin assumes that the jboss-web.xml file is located in /WEB-INF
>> instead of where I tell it (/web/WEB-INF)
>> /my project dir
>> /src
>> /web
>> /WEB-INF
>> * jboss-web.xml*
>> /WEB-INF
>> * jboss-web.xml
>>
>> *If I change it, it eventually loses the setting and reverts to the
>> default.*
>> *
>>
>>--
>>Norris Shelton
>>Sun Certified Java Programmer
>>
>>
>>
--
Martin Fuhrer
Fuhrer Engineering AG
http://www.fuhrer.com
I'm not quite sure if I understand exactly what's happening. You can
change the location of the jboss-web.xml file at any time in the module
settings. Could you please give me a more detailed description of what
exactly you are doing?
Norris Shelton wrote:
--
Martin Fuhrer
Fuhrer Engineering AG
http://www.fuhrer.com
When I set the server to be JBoss, I go to the dialog and change the
location of the jboss-web.xml on the "Web Module Settings" tab. The
change appears to work. Sometime later, I discover that the value has
reverted back to it's original location and a new jboss-web.xml file has
been created.
Norris Shelton
Sun Certified Java Programmer
Martin Fuhrer wrote:
>
>
>> Most of my projects have been set up as follows:
>> /my project dir
>> /src
>> /web
>> /WEB-INF
>> * jboss-web.xml*
>>
>> The plugin assumes that the jboss-web.xml file is located in /WEB-INF
>> instead of where I tell it (/web/WEB-INF)
>> /my project dir
>> /src
>> /web
>> /WEB-INF
>> * jboss-web.xml*
>> /WEB-INF
>> * jboss-web.xml
>>
>> *If I change it, it eventually loses the setting and reverts to the
>> default.*
>> *
>>
>> --
>> Norris Shelton
>> Sun Certified Java Programmer
>>
>>
>
This is probably true. Make it a low priority.
Norris Shelton
Sun Certified Java Programmer
Martin Fuhrer wrote:
>
>
>> Also, every time you add a server, it assumes that it is located in
>> the IJ bin directory. Would it make more sense to remember your last
>> selected directory? It might be much closer.
>>
>> Norris Shelton
>> Sun Certified Java Programmer
>>
>>
>>
>>
>> Norris Shelton wrote:
>>
>>> Most of my projects have been set up as follows:
>>> /my project dir
>>> /src
>>> /web
>>> /WEB-INF
>>> * jboss-web.xml*
>>>
>>> The plugin assumes that the jboss-web.xml file is located in
>>> /WEB-INF instead of where I tell it (/web/WEB-INF)
>>> /my project dir
>>> /src
>>> /web
>>> /WEB-INF
>>> * jboss-web.xml*
>>> /WEB-INF
>>> * jboss-web.xml
>>>
>>> *If I change it, it eventually loses the setting and reverts to the
>>> default.*
>>> *
>>>
>>> --
>>> Norris Shelton
>>> Sun Certified Java Programmer
>>>
>>>
>>>
>
OK, I got it. Give me some time to investigate on that.
Norris Shelton wrote:
>> I'm not quite sure if I understand exactly what's happening. You can
>> change the location of the jboss-web.xml file at any time in the
>> module settings. Could you please give me a more detailed description
>> of what exactly you are doing?
>>
>> Norris Shelton wrote:
>>
>>> Most of my projects have been set up as follows:
>>> /my project dir
>>> /src
>>> /web
>>> /WEB-INF
>>> * jboss-web.xml*
>>>
>>> The plugin assumes that the jboss-web.xml file is located in /WEB-INF
>>> instead of where I tell it (/web/WEB-INF)
>>> /my project dir
>>> /src
>>> /web
>>> /WEB-INF
>>> * jboss-web.xml*
>>> /WEB-INF
>>> * jboss-web.xml
>>>
>>> *If I change it, it eventually loses the setting and reverts to the
>>> default.*
>>> *
>>>
>>> --
>>> Norris Shelton
>>> Sun Certified Java Programmer
>>>
>>>
>>
--
Martin Fuhrer
Fuhrer Engineering AG
http://www.fuhrer.com
Norris,
I didn't manage to reproduce this problem. Could you give me a step-by-step instruction how to reproduce it? A sample project would also help.