Maven likes source files in src/main/webapp (HTML, JSP, etc) and
src/main/java (Java source). Then it compiles the Java and optionally
compiles the JSP into target.

So you can point JBoss at your target directory but then you'll need
to run a mvn compile step prior to seeing the newly updated files in
JBoss. Or you can point JBoss at the src folders (webapp) and it will
pick up those changes, but not the Java changes.

There are probably other people on the list who can tell you more
specifics as I'm not using JBoss right now so I'm not the expert.

Wayne

On 11/18/06, jiangshachina <[EMAIL PROTECTED]> wrote:

Dear Wayne,
> In general, you will find that Maven is not
> entirely developer-time friendly, imo.
In your opinion, JBoss can fulfil the requirement, but Maven blocks me
something?

a cup of Java, cheers!
Sha Jiang


Wayne Fay wrote:
>
> You haven't gotten any responses because its a complicated subject and
> has been discussed previously. You should probably search the mailing
> list archive and see what you can find. In general, you will find that
> Maven is not entirely developer-time friendly, imo.
>
> Wayne
>
> On 11/17/06, jiangshachina <[EMAIL PROTECTED]> wrote:
>>
>> Hi,
>> May my requirement cannot be fulfilled?
>> Or none of Web/Application Server has the ability?
>> Or I have to do something in my application to archive the goal(When
>> refresh
>> pages, re-load the classes or resources)?
>>
>> a cup of Java, cheers!
>> Sha Jiang
>>
>>
>> jiangshachina wrote:
>> >
>> > Hi guys,
>> > I have a Web application project, and using JBoss 4.0.2.
>> > There is a requirement, after deploy the Web application to JBoss at
>> start
>> > time,
>> > then every change on Java codes, configuration files(.xml,
>> > .properties)..., the App Server would be sensitive to it.
>> > Namely, I just change the app at development project, then JBoss would
>> > know the change at working time.
>> >
>> > For example, JBoss is running, I modify a html file(change the
>> > appearance),
>> > then I refresh the browser, the change must be shown.
>> >
>> > a cup of Java, cheers!
>> > Sha Jiang
>> >
>>
>> --
>> View this message in context:
>> 
http://www.nabble.com/be-sensitive-to-every-change--tf2650642s177.html#a7415305
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>

--
View this message in context: 
http://www.nabble.com/be-sensitive-to-every-change--tf2650642s177.html#a7416525
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to