[jbosstools-dev] seam settings in projects?

Max Rydahl Andersen max.andersen at redhat.com
Mon Oct 1 07:16:36 EDT 2007


Denis Golovin wrote:
> Max Rydahl Andersen wrote:
>> Hi Denis,
>>
>> I saw this in the war project generated by seam:
>> action.package=org.domain.xam.session
>> eclipse.preferences.version=1
>> model.package=org.domain.xam.entity
>> seam.project.connection.profile=max
>> seam.project.deployment.type=war
>> seam.runtime.name=seam 1.2.1.AP
>> seam.test.project=xam-test
>> test.package=org.domain.xam.test
>>
>> and when it's as an ear it's:
>> n.xyz.session
>> eclipse.preferences.version=1
>> model.package=org.domain.xyz.entity
>> seam.ear.project=xyz-ear
>> seam.ejb.project=xyz-ejb
>> seam.project.connection.profile=max
>> seam.project.deployment.type=ear
>> seam.runtime.name=Seam 1.2.AP
>> seam.test.project=xyz-test
>> test.package=org.domain.xyz.test
>>
>> Got a cpl questions about that:
>>
>> 1) Where is the src destinations stored for entity/test/etc. ? is that 
>> hardcoded ?
> project names and source pathes are hardcoded for now, package names are 
> taken from preferences.

okey.

>> 2) It doesn't look like the other projects have a setting for which 
>> seam project they are related to. How do I find that out ? Is there 
>> any api for it ?

> That's an issue :( I've missed it. They must have preferences. 
 > It works
> right now because only Seam 1.2 is actually supported. If there is no 
> project preferences it takes default seam runtime and it always has 
> version 1.2.

Yes this is an issue. The projects should know which is there "parent" 
where they can go look up the preferences/settings.

>> This is mainly to have a way to based on a selection, find it's 
>> project  and then the "parent" seam project to use in default 
>> selection in e.g. wizards.
> Seam Web Project is 'first class'. There is only one wizard for Seam Web 
> Project. All other project is 'environment'. When User calls any other 
> wizard from New menu it he must select project that he actually created 
> before with given name.

Yes, and that sucks.

> If do you mean the case when:
> 
> 1. There is selection in project navigator 
> 'seam-ejb'/'seam-ear'/'seam-test'
> 2. User select New Seam Action wizard from menu and opened new Seam 
> Action Dialog contains seam as selected project

Yes, the root seam project should be selected based on the selection 
(like any other wizard in eclipse)

/max


> I Agree with that.
> 
> Denis
>>
>> /max
>> _______________________________________________
>> jbosstools-dev mailing list
>> jbosstools-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/jbosstools-dev
> 




More information about the jbosstools-dev mailing list