[seam-dev] the shackles have been removed from seam-gen (upgrade #2)

Max Rydahl Andersen max.andersen at redhat.com
Thu Oct 16 17:44:55 EDT 2008


Instead of looking in path shouldn't you just be looking in current dir  
and upwards ?

i.e.

c:/work/seamprojects/myphone/src/org
c:/work/seamprojects/myphone/src/
c:/work/seamprojects/myphone/
Match!

?

/max


>> Do you mean that the SEAM_HOME is figured out and set based on your  
>> current
>> directory?  I think you are missing a "sets" in there :-)  This seems  
>> like a
>> really good way to support  multiple projects with seam gen without  
>> having
>> to figure out some verbose arguments for the script in distribution
>> directory.
>
> Of course, the SEAM_HOME environment variable is still supported. Just
> not a requirement. Oh, and I forgot to mention that now you can
> override everything using -D flags also. You can override:
>
> - the location of seam-gen using -Dseam-gen.dir
> - the location of the seam-gen properties using -Dseam-gen.properties
> - the location of just the templates using -Dtemplates.dir
>
> Yes, perhaps obscure to have to type -D but then again, that is the
> idea of -D ;) Power.
>
>> Can a user also use "seam restart"?  Some users may be used to using the
>> seam script.
>
> But of course! It is just a hint that "oh, btw, you are in the project
> directory so you know you have the Ant script right there. Who knows
> if people will actually notice it.
>
> -Dan
>



-- 
/max



More information about the seam-dev mailing list