Re: Use of Classifiers for Shale 1.1.0 (was Re: Where is Shale1.1.0?)

2008-06-11 Thread Paul Spencer

Gary VanMatre wrote:

-- Original message -- From: Paul
Spencer <[EMAIL PROTECTED]>

Gary VanMatre wrote:





 Spencer <[EMAIL PROTECTED]>
Humm, it looks like the shale test pom has a 1.4 profile that 
excludes the JSF 1.2 objects.  The 1.1 trunk has the same type of

 profile.  Unless I'm mistaken, we would need two deployments for
JSF 1.1 and 1.2.



Is this what "classifiers" are for?

I see their is are profiles for jdk 1.4, 1.5, and 1.6.  1.4 is for
 Servlet v 2.4 where as 1.5 and 1.6 are for Servlet v2.5.  Based on
this I see 2 distributions, one for JSF 1.1 (profile =
shale-test-jdk14) and one for JSF 1.2 ( profile = shale-test-jdk15)




Yeah, sounds like that's the ticket but it's the first I've heard of
classifiers.  Maybe one of our maven mavens could give some pointers
on how to configure a dual deployment.  Do you think we would need
two maven projects?

Any other apache projects doing this that we could borrow snippets?




I have asked a related question on the Maven user list with the subject 
"Are classifiers the answer, are they mature, what are the pitfalls?"[1] 
   As to other project using classifiers, I do not know :(





Paul Spencer


Gary



Paul Spencer






[1] http://markmail.org/message/l6v3nbnb6qwrdduy


Re: Use of Classifiers for Shale 1.1.0 (was Re: Where is Shale1.1.0?)

2008-06-10 Thread Greg Reddin
On Tue, Jun 10, 2008 at 9:18 AM, Gary VanMatre <[EMAIL PROTECTED]> wrote:
>
>>
>> I see their is are profiles for jdk 1.4, 1.5, and 1.6.  1.4 is for
>> Servlet v 2.4 where as 1.5 and 1.6 are for Servlet v2.5.  Based on this
>> I see 2 distributions, one for JSF 1.1 (profile = shale-test-jdk14) and
>> one for JSF 1.2 ( profile = shale-test-jdk15)
>>
>
> Yeah, sounds like that's the ticket but it's the first I've heard of 
> classifiers.  Maybe one of our maven mavens could give some pointers on how 
> to configure a dual deployment.  Do you think we would need two maven 
> projects?
>
> Any other apache projects doing this that we could borrow snippets?

I would think profiles would do everything we need. Is there a maven
thing called a "classifier" that goes beyond profiles (i.e. combining
profiles or something)?

Greg


Re: Use of Classifiers for Shale 1.1.0 (was Re: Where is Shale1.1.0?)

2008-06-10 Thread Gary VanMatre

 -- Original message --
From: Paul Spencer <[EMAIL PROTECTED]>
> Gary VanMatre wrote:
> > -- Original message -- From: Paul
> > Spencer <[EMAIL PROTECTED]>
> >> Gary VanMatre wrote:
> >>> -- Original message -- From: Paul
> >>>  Spencer <[EMAIL PROTECTED]>
>  Greg, My understanding is Shale v1.0.x and v1.1.x works with
>  JSF 1.x.  Their may be components that are JSF version
>  specific, but this is the exception.
>  
> >>> I agree but the shale test library for 1.1.x supports JSF 1.2
> >>> mock objects which means it has Java 1.5 & JSF 1.2 dependencies.
> >>> The rest of the libraries are still JSF 1.1 based.
> >>> 
> >>> 
> >> So SHALE-262 - "Provide optional support for parsing
> >> faces-config.xml files in the classpath at startup time" will need
> >> to be backported to 1.0.x to test a JSF 1.1 application, like
> >> Tomahawk?
> >> 
> >> Are their other alternatives the backporting?
> >> 
> > 
> > Humm, it looks like the shale test pom has a 1.4 profile that
> > excludes the JSF 1.2 objects.  The 1.1 trunk has the same type of
> > profile.  Unless I'm mistaken, we would need two deployments for JSF
> > 1.1 and 1.2.
> > 
> >
> 
> Is this what "classifiers" are for?
> 
> I see their is are profiles for jdk 1.4, 1.5, and 1.6.  1.4 is for 
> Servlet v 2.4 where as 1.5 and 1.6 are for Servlet v2.5.  Based on this 
> I see 2 distributions, one for JSF 1.1 (profile = shale-test-jdk14) and 
> one for JSF 1.2 ( profile = shale-test-jdk15)
> 

Yeah, sounds like that's the ticket but it's the first I've heard of 
classifiers.  Maybe one of our maven mavens could give some pointers on how to 
configure a dual deployment.  Do you think we would need two maven projects?

Any other apache projects doing this that we could borrow snippets?



> >> Paul Spencer
> >> 
> > 
> > Gary
> > 
> > 
> Paul Spencer