Fullsource after the fact?

6 messages Options
Embed this post
Permalink
David Whitehurst

Fullsource after the fact?

Reply Threaded More More options
Print post
Permalink
I'm trying to get an AppFuse Struts archetype project cleaned up where I can test everything.  The prior developer skirted a lot of testing and now I'm having tons of issues.  Does anyone know if full-source can be run again to get dependencies fixed up?  I tried to match versions with another project (more up to-date) and realized that e.g. ehcache can't be found now because that version came in with full-source.

Any suggestions for remedy?


David
mraible

Re: Fullsource after the fact?

Reply Threaded More More options
Print post
Permalink
full-source should be run at the beginning of a project, not after  
development has begun. Of course, you can try it, but I'd make sure  
you have everything in source control first.

Matt

On Feb 25, 2009, at 11:07 AM, David Whitehurst wrote:

> I'm trying to get an AppFuse Struts archetype project cleaned up  
> where I can test everything.  The prior developer skirted a lot of  
> testing and now I'm having tons of issues.  Does anyone know if full-
> source can be run again to get dependencies fixed up?  I tried to  
> match versions with another project (more up to-date) and realized  
> that e.g. ehcache can't be found now because that version came in  
> with full-source.
>
> Any suggestions for remedy?
>
>
> David


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Alex Coles

Re: Fullsource after the fact?

Reply Threaded More More options
Print post
Permalink
In reply to this post by David Whitehurst
On Wed, Feb 25, 2009 at 7:07 PM, David Whitehurst <[hidden email]> wrote:
I'm trying to get an AppFuse Struts archetype project cleaned up where I can test everything.  The prior developer skirted a lot of testing and now I'm having tons of issues.  Does anyone know if full-source can be run again to get dependencies fixed up?  I tried to match versions with another project (more up to-date) and realized that e.g. ehcache can't be found now because that version came in with full-source.

Any suggestions for remedy?


David

I've been here before, and I'd suggest your best friend is a good diff tool. Winmerge on Windows is good enough. I use DiffMerge on Mac which is OK (but free). A good diff tool should be able to do folder difs.

Create a fresh archetype project in a temp directory, run the tests, configure the basics (like database connection), then run appfuse:full-source. Then do a folder diff with your newly created project and the existing project. Where files are missing, copy them over. It should be fairly straightforward (with a little patience) to get cleaned up. 

Alex
David Whitehurst

Re: Fullsource after the fact?

Reply Threaded More More options
Print post
Permalink
Alex:

Good idea :-)


David

On Wed, Feb 25, 2009 at 1:43 PM, Alex Coles <[hidden email]> wrote:
On Wed, Feb 25, 2009 at 7:07 PM, David Whitehurst <[hidden email]> wrote:
I'm trying to get an AppFuse Struts archetype project cleaned up where I can test everything.  The prior developer skirted a lot of testing and now I'm having tons of issues.  Does anyone know if full-source can be run again to get dependencies fixed up?  I tried to match versions with another project (more up to-date) and realized that e.g. ehcache can't be found now because that version came in with full-source.

Any suggestions for remedy?


David

I've been here before, and I'd suggest your best friend is a good diff tool. Winmerge on Windows is good enough. I use DiffMerge on Mac which is OK (but free). A good diff tool should be able to do folder difs.

Create a fresh archetype project in a temp directory, run the tests, configure the basics (like database connection), then run appfuse:full-source. Then do a folder diff with your newly created project and the existing project. Where files are missing, copy them over. It should be fairly straightforward (with a little patience) to get cleaned up. 

Alex

melinate

Re: Fullsource after the fact?

Reply Threaded More More options
Print post
Permalink
For reference, there are a couple other good graphical diff tools that might be of help to someone ( I'm surprised there isn't a wiki page on this topic yet ).  Matt turned me ( and likely many other people ) on to Beyond Compare ( http://www.scootersoftware.com ) by Scooter Software for Windows OS'es.  It isn't free but it isn't expensive and would pay for itself VERY quickly in the scenario mentioned in this thread.  There is a Linux version of Beyond Compare as well, but for Linux my favorite is Meld ( http://meld.sourceforge.net ), and I've heard good things about Kdiff3 ( http://kdiff3.sourceforge.net ) but have not used it. 

Nathan

On Wed, Feb 25, 2009 at 11:13 AM, David Whitehurst <[hidden email]> wrote:
Alex:

Good idea :-)


David


On Wed, Feb 25, 2009 at 1:43 PM, Alex Coles <[hidden email]> wrote:
On Wed, Feb 25, 2009 at 7:07 PM, David Whitehurst <[hidden email]> wrote:
I'm trying to get an AppFuse Struts archetype project cleaned up where I can test everything.  The prior developer skirted a lot of testing and now I'm having tons of issues.  Does anyone know if full-source can be run again to get dependencies fixed up?  I tried to match versions with another project (more up to-date) and realized that e.g. ehcache can't be found now because that version came in with full-source.

Any suggestions for remedy?


David

I've been here before, and I'd suggest your best friend is a good diff tool. Winmerge on Windows is good enough. I use DiffMerge on Mac which is OK (but free). A good diff tool should be able to do folder difs.

Create a fresh archetype project in a temp directory, run the tests, configure the basics (like database connection), then run appfuse:full-source. Then do a folder diff with your newly created project and the existing project. Where files are missing, copy them over. It should be fairly straightforward (with a little patience) to get cleaned up. 

Alex


David Whitehurst

Re: Fullsource after the fact?

Reply Threaded More More options
Print post
Permalink
I did the old, let's copy the pom dependencies from my better project to the broken one and then started copying just the appfuse modules over what was there.  I only had to change application-Resources.xml and replace daoAuthenticator if I remember right.  The acegi came under Spring and that and Hibernate were the two biggies.

Replace and run Maven, repeat

David

On Wed, Feb 25, 2009 at 6:27 PM, Nathan Anderson <[hidden email]> wrote:
For reference, there are a couple other good graphical diff tools that might be of help to someone ( I'm surprised there isn't a wiki page on this topic yet ).  Matt turned me ( and likely many other people ) on to Beyond Compare ( http://www.scootersoftware.com ) by Scooter Software for Windows OS'es.  It isn't free but it isn't expensive and would pay for itself VERY quickly in the scenario mentioned in this thread.  There is a Linux version of Beyond Compare as well, but for Linux my favorite is Meld ( http://meld.sourceforge.net ), and I've heard good things about Kdiff3 ( http://kdiff3.sourceforge.net ) but have not used it. 

Nathan


On Wed, Feb 25, 2009 at 11:13 AM, David Whitehurst <[hidden email]> wrote:
Alex:

Good idea :-)


David


On Wed, Feb 25, 2009 at 1:43 PM, Alex Coles <[hidden email]> wrote:
On Wed, Feb 25, 2009 at 7:07 PM, David Whitehurst <[hidden email]> wrote:
I'm trying to get an AppFuse Struts archetype project cleaned up where I can test everything.  The prior developer skirted a lot of testing and now I'm having tons of issues.  Does anyone know if full-source can be run again to get dependencies fixed up?  I tried to match versions with another project (more up to-date) and realized that e.g. ehcache can't be found now because that version came in with full-source.

Any suggestions for remedy?


David

I've been here before, and I'd suggest your best friend is a good diff tool. Winmerge on Windows is good enough. I use DiffMerge on Mac which is OK (but free). A good diff tool should be able to do folder difs.

Create a fresh archetype project in a temp directory, run the tests, configure the basics (like database connection), then run appfuse:full-source. Then do a folder diff with your newly created project and the existing project. Where files are missing, copy them over. It should be fairly straightforward (with a little patience) to get cleaned up. 

Alex