Re: working with a team

2003-03-21 Thread Dan Allen

Stephen Smithstone ([EMAIL PROTECTED]) wrote:

 Have u tried sharing the drive as a network drive with permissions on it ??
 
 then get the jsp developer to map the network to a drive on his computer

We aren't even in the same county, so this will be a little hard.  I
guess a good question to ask would be, can an ant script build on a
remote computer?  I think the answer to this is yes, but of course I
have to figure out how to do it ;(

I guess CVS is the way to go...sure would be nice if someone wrote
an article on this though.  Sometimes the hardest part is just
setting everything up.

Dan

-- 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Daniel Allen, [EMAIL PROTECTED]
http://www.mojavelinux.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Personally, I'm not finding Windows 
to be less expensive to administer, 
but those security holes--that'll kill 'em, 
-- Al Gillen, IDC
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

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



Re: working with a team

2003-03-21 Thread Arron Bates
 Stephen Smithstone ([EMAIL PROTECTED]) wrote:
 
  Have u tried sharing the drive as a network drive with permissions on it
  ??
  
  then get the jsp developer to map the network to a drive on his computer
 
 We aren't even in the same county, so this will be a little hard.  I
 guess a good question to ask would be, can an ant script build on a
 remote computer?  I think the answer to this is yes, but of course I
 have to figure out how to do it ;(
 
 I guess CVS is the way to go...sure would be nice if someone wrote
 an article on this though.  Sometimes the hardest part is just
 setting everything up.

If the main thing that you're after is JSP's, just have your markup dude FTP
the JSP's directly into the web app, and have the servlet container reload
them automatically without restart?...

Static resources like images will be naturally handled.

If you run Resin, it'll recompile the java classes on the fly too.


Arron.

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



Re: working with a team

2003-03-21 Thread Dan Allen
So far I don't see much I like.  If the JSP developer uploads right
to the webapp then my web resources are out of sync.  That means if
I make a tweak to the JSP the next time he uploads, poof.  That is
damn ugly.

The best scenario is as follows.  There is a single CVS repository.
I have tomcat (or whatever) running and he does too.  We both
checkout the original source.  He messes with the JSPs, reloads he
local app, get's it all tweaked.  Then, he CVS commits all changes.
I do the same.  At the end of the day, week or whatever interval,
the CVS version is checked out into a war file and deployed.  The
last step is the only tricky part, I will have to make an ant script
for that.

This brings me to my next question, which may be container specific.
Don't let this throw off the topic of the post, maybe a quick little
reponse.  If I copy over a new version of the *.war file for an
app, why doesn't the container redeploy it over the old version?  It
seems like once a war has been deployed, you have to nix the whole
folder, restart the container and copy in the new war.  It would
seem to me the container should check the timestamp of the war
against the folder or something and if it is newer, redeploy it.
This also causes issues with files that were removed from the war,
which are now trash files and left in the deployed app.

Dan

-- 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Daniel Allen, [EMAIL PROTECTED]
http://www.mojavelinux.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
The package said 'Windows 95 or better', so I installed Linux
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

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



RE: working with a team

2003-03-21 Thread Dragomir Denev
What is your container?
I have JBoss and when I redeploy a webapp in a .war file everything's fine.
When I redeploy a webapp in expanded format I need only touch the web.xml
file
and JBoss redeploys the app automatically. Hope this helps.

Drago

-Original Message-
From: Dan Allen [mailto:[EMAIL PROTECTED]
Sent: Friday, March 21, 2003 12:39
To: Struts Users Mailing List
Subject: Re: working with a team


So far I don't see much I like.  If the JSP developer uploads right
to the webapp then my web resources are out of sync.  That means if
I make a tweak to the JSP the next time he uploads, poof.  That is
damn ugly.

The best scenario is as follows.  There is a single CVS repository.
I have tomcat (or whatever) running and he does too.  We both
checkout the original source.  He messes with the JSPs, reloads he
local app, get's it all tweaked.  Then, he CVS commits all changes.
I do the same.  At the end of the day, week or whatever interval,
the CVS version is checked out into a war file and deployed.  The
last step is the only tricky part, I will have to make an ant script
for that.

This brings me to my next question, which may be container specific.
Don't let this throw off the topic of the post, maybe a quick little
reponse.  If I copy over a new version of the *.war file for an
app, why doesn't the container redeploy it over the old version?  It
seems like once a war has been deployed, you have to nix the whole
folder, restart the container and copy in the new war.  It would
seem to me the container should check the timestamp of the war
against the folder or something and if it is newer, redeploy it.
This also causes issues with files that were removed from the war,
which are now trash files and left in the deployed app.

Dan

--
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Daniel Allen, [EMAIL PROTECTED]
http://www.mojavelinux.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
The package said 'Windows 95 or better', so I installed Linux
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-
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]



Re: working with a team

2003-03-21 Thread Chris Trawick
We have a team of several jsp and ejb developers.  We all develop and unit
test with local instances of the application and communicate our changes via
CVS.  Only when we are ready for a release do we commit the latest to a
server.  We agree that several JSP developers working off the same
deployment is a Bad Thing, so we don't.

As for struts-config management, that too can be problematic.  We avoid
those issues as well by using XDoclet.

chris

- Original Message -
From: Dan Allen [EMAIL PROTECTED]
To: Struts-User List [EMAIL PROTECTED]
Sent: Friday, March 21, 2003 12:01 AM
Subject: working with a team


 I am looking for some advice/articles on setting up my struts
 application so that all members of the team can all work with it.
 Let me first state my situation/dilemma and let you know what I am
 looking for.

 1. I have a source tree (/home/me/src/struts/projects/project1)
 outside of the web folder (ie /var/tomcat/webapps) where I am
 coding.  When I change a source file I run `ant build` and `ant
 reload`, if I just change a web file, I run `ant update`.  All of
 these processes copy the files into the
 /var/tomcat4/webapps/project1 folder and change the state of the
 running application (if necessary)

 2. My JSP developer, working on his own computer, copies down all
 the web files, modifies the ones he is working on and ftps them back
 to the source folder

 3. I then have to run `ant update` to move the web files to the
 container.

 This is obviously not the way to do things, but we just got started
 using struts 2 weeks ago and haven't had a chance to organize
 things.  Now it is time to organize things.  I am running Eclipse
 and it makes it very easy to rebuild and restart the application or
 container, but I am not sure how to handle the case of multiple
 developers on mutiple computers.

 In short, how does the JSP developer update the web content and
 restart the application from a remote computer and still keep the
 files in sync with what I am working on?  I have CVS experience and
 I guess I could setup CVS, but that still doesn't handle the issue
 that the source repository is outside of the container and something
 needs to move the files into the container and possibly restart the
 applicaiton or container if necessary (if there is a change to
 struts-config.xml or tiles-definitions.xml).

 My JSP developer is coming from the viewpoint of just uploading a
 page and being able to access it, so this is all foreign to him.
 Since an action must proceed every page, it is necessary to restart
 the application each time a change to struts-config.xml is made.
 Plus, the JSP developer has to use struts-console (or edit by hand,
 prone to error) the struts-config.xml file.

 I am looking for a tutorial on setting up a team to run struts.
 Anyone, any info, please!

 Dan

 --
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 Daniel Allen, [EMAIL PROTECTED]
 http://www.mojavelinux.com/
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 Windows is packaged with Solitaire (ooh)!
 Linux is distributed with Doom...
 you can have your deck of cards, I'll take a chainsaw!
  -- Linus Torvalds
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

 -
 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]



RE: working with a team

2003-03-21 Thread Chen, Gin
 seem to me the container should check the timestamp of the war
 against the folder or something and if it is newer, redeploy it.
 This also causes issues with files that were removed from the war,
 which are now trash files and left in the deployed app.

One a container redeploys your war it will clean out the old deploy. So
unless your 'trash files' are still in the new war it will not get
redeployed.
Also if you are having struts-config management issues but dont want to use
xdoclet. It is possible to separate out the files on ur own. Just use XML
include statements within the master file to bring it all together. There's
are several article that talk about this (One by Chuck Cavaness is 'Seven
Lessons from the Trenches [Oct 30, 2002 - OnJava.com]).
-Tim

-Original Message-
From: Chris Trawick [mailto:[EMAIL PROTECTED]
Sent: Friday, March 21, 2003 8:46 AM
To: Struts Users Mailing List
Subject: Re: working with a team


We have a team of several jsp and ejb developers.  We all develop and unit
test with local instances of the application and communicate our changes via
CVS.  Only when we are ready for a release do we commit the latest to a
server.  We agree that several JSP developers working off the same
deployment is a Bad Thing, so we don't.

As for struts-config management, that too can be problematic.  We avoid
those issues as well by using XDoclet.

chris

- Original Message -
From: Dan Allen [EMAIL PROTECTED]
To: Struts-User List [EMAIL PROTECTED]
Sent: Friday, March 21, 2003 12:01 AM
Subject: working with a team


 I am looking for some advice/articles on setting up my struts
 application so that all members of the team can all work with it.
 Let me first state my situation/dilemma and let you know what I am
 looking for.

 1. I have a source tree (/home/me/src/struts/projects/project1)
 outside of the web folder (ie /var/tomcat/webapps) where I am
 coding.  When I change a source file I run `ant build` and `ant
 reload`, if I just change a web file, I run `ant update`.  All of
 these processes copy the files into the
 /var/tomcat4/webapps/project1 folder and change the state of the
 running application (if necessary)

 2. My JSP developer, working on his own computer, copies down all
 the web files, modifies the ones he is working on and ftps them back
 to the source folder

 3. I then have to run `ant update` to move the web files to the
 container.

 This is obviously not the way to do things, but we just got started
 using struts 2 weeks ago and haven't had a chance to organize
 things.  Now it is time to organize things.  I am running Eclipse
 and it makes it very easy to rebuild and restart the application or
 container, but I am not sure how to handle the case of multiple
 developers on mutiple computers.

 In short, how does the JSP developer update the web content and
 restart the application from a remote computer and still keep the
 files in sync with what I am working on?  I have CVS experience and
 I guess I could setup CVS, but that still doesn't handle the issue
 that the source repository is outside of the container and something
 needs to move the files into the container and possibly restart the
 applicaiton or container if necessary (if there is a change to
 struts-config.xml or tiles-definitions.xml).

 My JSP developer is coming from the viewpoint of just uploading a
 page and being able to access it, so this is all foreign to him.
 Since an action must proceed every page, it is necessary to restart
 the application each time a change to struts-config.xml is made.
 Plus, the JSP developer has to use struts-console (or edit by hand,
 prone to error) the struts-config.xml file.

 I am looking for a tutorial on setting up a team to run struts.
 Anyone, any info, please!

 Dan

 --
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 Daniel Allen, [EMAIL PROTECTED]
 http://www.mojavelinux.com/
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 Windows is packaged with Solitaire (ooh)!
 Linux is distributed with Doom...
 you can have your deck of cards, I'll take a chainsaw!
  -- Linus Torvalds
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

 -
 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]

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



working with a team

2003-03-20 Thread Dan Allen
I am looking for some advice/articles on setting up my struts
application so that all members of the team can all work with it.
Let me first state my situation/dilemma and let you know what I am
looking for.

1. I have a source tree (/home/me/src/struts/projects/project1)
outside of the web folder (ie /var/tomcat/webapps) where I am
coding.  When I change a source file I run `ant build` and `ant
reload`, if I just change a web file, I run `ant update`.  All of
these processes copy the files into the
/var/tomcat4/webapps/project1 folder and change the state of the
running application (if necessary)

2. My JSP developer, working on his own computer, copies down all
the web files, modifies the ones he is working on and ftps them back
to the source folder

3. I then have to run `ant update` to move the web files to the
container.

This is obviously not the way to do things, but we just got started
using struts 2 weeks ago and haven't had a chance to organize
things.  Now it is time to organize things.  I am running Eclipse
and it makes it very easy to rebuild and restart the application or
container, but I am not sure how to handle the case of multiple
developers on mutiple computers.

In short, how does the JSP developer update the web content and
restart the application from a remote computer and still keep the
files in sync with what I am working on?  I have CVS experience and
I guess I could setup CVS, but that still doesn't handle the issue
that the source repository is outside of the container and something
needs to move the files into the container and possibly restart the
applicaiton or container if necessary (if there is a change to
struts-config.xml or tiles-definitions.xml).

My JSP developer is coming from the viewpoint of just uploading a
page and being able to access it, so this is all foreign to him.
Since an action must proceed every page, it is necessary to restart
the application each time a change to struts-config.xml is made.
Plus, the JSP developer has to use struts-console (or edit by hand,
prone to error) the struts-config.xml file.

I am looking for a tutorial on setting up a team to run struts.
Anyone, any info, please!

Dan

-- 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Daniel Allen, [EMAIL PROTECTED]
http://www.mojavelinux.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Windows is packaged with Solitaire (ooh)! 
Linux is distributed with Doom... 
you can have your deck of cards, I'll take a chainsaw! 
 -- Linus Torvalds
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

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



Re: working with a team

2003-03-20 Thread Stephen Smithstone
Have u tried sharing the drive as a network drive with permissions on it ??

then get the jsp developer to map the network to a drive on his computer



On Friday 21 March 2003 5:01 am, Dan Allen wrote:
 I am looking for some advice/articles on setting up my struts
 application so that all members of the team can all work with it.
 Let me first state my situation/dilemma and let you know what I am
 looking for.

 1. I have a source tree (/home/me/src/struts/projects/project1)
 outside of the web folder (ie /var/tomcat/webapps) where I am
 coding.  When I change a source file I run `ant build` and `ant
 reload`, if I just change a web file, I run `ant update`.  All of
 these processes copy the files into the
 /var/tomcat4/webapps/project1 folder and change the state of the
 running application (if necessary)

 2. My JSP developer, working on his own computer, copies down all
 the web files, modifies the ones he is working on and ftps them back
 to the source folder

 3. I then have to run `ant update` to move the web files to the
 container.

 This is obviously not the way to do things, but we just got started
 using struts 2 weeks ago and haven't had a chance to organize
 things.  Now it is time to organize things.  I am running Eclipse
 and it makes it very easy to rebuild and restart the application or
 container, but I am not sure how to handle the case of multiple
 developers on mutiple computers.

 In short, how does the JSP developer update the web content and
 restart the application from a remote computer and still keep the
 files in sync with what I am working on?  I have CVS experience and
 I guess I could setup CVS, but that still doesn't handle the issue
 that the source repository is outside of the container and something
 needs to move the files into the container and possibly restart the
 applicaiton or container if necessary (if there is a change to
 struts-config.xml or tiles-definitions.xml).

 My JSP developer is coming from the viewpoint of just uploading a
 page and being able to access it, so this is all foreign to him.
 Since an action must proceed every page, it is necessary to restart
 the application each time a change to struts-config.xml is made.
 Plus, the JSP developer has to use struts-console (or edit by hand,
 prone to error) the struts-config.xml file.

 I am looking for a tutorial on setting up a team to run struts.
 Anyone, any info, please!

 Dan


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



RE: working with a team

2003-03-20 Thread Mick . Knutson
Well, can the developers just run tests locally, then when they are ready to 
integrate, they can use CVS to move files to Project1, and your ant script can just 
jar,war, and ear the project into the destination directory. Instead of having 3 
copies of each of the directory stuctures, the target is essentially 1 file packaged 
up.

 
  _  

Thank You
 
Mick Knutson
 
Sr. Designer - Project Trust
aUBS AG, Financial - Zürich
Office: +41 (0)1/234.42.75
Internal: 48194
Mobile: 079.726.14.26
  _  



-Original Message-
From: Dan Allen [mailto:[EMAIL PROTECTED]
Sent: Friday, March 21, 2003 6:02 AM
To: Struts-User List
Subject: working with a team


I am looking for some advice/articles on setting up my struts
application so that all members of the team can all work with it.
Let me first state my situation/dilemma and let you know what I am
looking for.

1. I have a source tree (/home/me/src/struts/projects/project1)
outside of the web folder (ie /var/tomcat/webapps) where I am
coding.  When I change a source file I run `ant build` and `ant
reload`, if I just change a web file, I run `ant update`.  All of
these processes copy the files into the
/var/tomcat4/webapps/project1 folder and change the state of the
running application (if necessary)

2. My JSP developer, working on his own computer, copies down all
the web files, modifies the ones he is working on and ftps them back
to the source folder

3. I then have to run `ant update` to move the web files to the
container.

This is obviously not the way to do things, but we just got started
using struts 2 weeks ago and haven't had a chance to organize
things.  Now it is time to organize things.  I am running Eclipse
and it makes it very easy to rebuild and restart the application or
container, but I am not sure how to handle the case of multiple
developers on mutiple computers.

In short, how does the JSP developer update the web content and
restart the application from a remote computer and still keep the
files in sync with what I am working on?  I have CVS experience and
I guess I could setup CVS, but that still doesn't handle the issue
that the source repository is outside of the container and something
needs to move the files into the container and possibly restart the
applicaiton or container if necessary (if there is a change to
struts-config.xml or tiles-definitions.xml).

My JSP developer is coming from the viewpoint of just uploading a
page and being able to access it, so this is all foreign to him.
Since an action must proceed every page, it is necessary to restart
the application each time a change to struts-config.xml is made.
Plus, the JSP developer has to use struts-console (or edit by hand,
prone to error) the struts-config.xml file.

I am looking for a tutorial on setting up a team to run struts.
Anyone, any info, please!

Dan

-- 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Daniel Allen, [EMAIL PROTECTED]
http://www.mojavelinux.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Windows is packaged with Solitaire (ooh)! 
Linux is distributed with Doom... 
you can have your deck of cards, I'll take a chainsaw! 
 -- Linus Torvalds
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

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


Visit our website at http://www.ubswarburg.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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