You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by jiangshachina <ji...@gmail.com> on 2006/11/17 11:22:30 UTC

be sensitive to every change?

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#a7396958
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: be sensitive to every change?

Posted by Wayne Fay <wa...@gmail.com>.
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 <ji...@gmail.com> 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 <ji...@gmail.com> 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: users-unsubscribe@maven.apache.org
> >> For additional commands, e-mail: users-help@maven.apache.org
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
> >
>
> --
> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: be sensitive to every change?

Posted by jiangshachina <ji...@gmail.com>.
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 <ji...@gmail.com> 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: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> 

-- 
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: be sensitive to every change?

Posted by Wayne Fay <wa...@gmail.com>.
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 <ji...@gmail.com> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: be sensitive to every change?

Posted by jiangshachina <ji...@gmail.com>.
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org