Re: Where is Shale1.1.0?

2008-07-18 Thread Mario Buonopane

Gary VanMatre ha scritto:

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



  

Paul Spencer





Gary 



  

I have a zip with a snapshot shale version 1.1.

Are you interested? If you want i can send you!

Ciao
Mario


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:


snip


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



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: Where is Shale1.1.0?

2008-06-09 Thread Paul Spencer

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?


Paul Spencer




Re: Where is Shale1.1.0?

2008-06-06 Thread Greg Reddin
On Fri, Jun 6, 2008 at 2:49 AM, Mario Buonopane [EMAIL PROTECTED] wrote:
 No, i don't remember that Shale 1.1.0 is meant to be used with JSF 1.2 but
 with 1.1. In fact i'm using with MyFaces 1.5 (JSF 1.1).
 What does mean GA codebase?

I don't remember if JSF 1.2 is a requirement for Shale 1.1 or not.
ISTR us deciding we would target JSF 1.2 but I don't think that
introduces backwards incompatibility.

GA means General Availability - basically a production release. Shale
1.0.4 is alpha quality because of dependencies on unreleased
libraries.

Greg


Re: Where is Shale1.1.0?

2008-06-06 Thread Gary VanMatre
 -- 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.

 
 Paul Spencer
 
 Greg Reddin wrote:
  On Fri, Jun 6, 2008 at 2:49 AM, Mario Buonopane [EMAIL PROTECTED] wrote:
  No, i don't remember that Shale 1.1.0 is meant to be used with JSF 1.2 but
  with 1.1. In fact i'm using with MyFaces 1.5 (JSF 1.1).
  What does mean GA codebase?
  
  I don't remember if JSF 1.2 is a requirement for Shale 1.1 or not.
  ISTR us deciding we would target JSF 1.2 but I don't think that
  introduces backwards incompatibility.
  
  GA means General Availability - basically a production release. Shale
  1.0.4 is alpha quality because of dependencies on unreleased
  libraries.
  
  Greg
  
 



Re: Where is Shale1.1.0?

2008-05-30 Thread Greg Reddin
On Fri, May 30, 2008 at 4:48 AM, Mario Buonopane [EMAIL PROTECTED] wrote:
 Hi, one year agò i download the shale version 1.1.0-SNAPSHOT-20070626.
 Now i can't find any version 1.1.X from the shale site. Any body cna help
 me?

We're sort of in a state of disrepair right now. Do you know where you
downloaded it from? I can't find it in any of the usual places now. It
won't be in the nightly build area because the 1.1.0 branch won't
build.

If you want the latest release version you can download 1.0.4 here:

http://www.apache.org/dyn/closer.cgi/shale/

If you want something newer than that you can check out the source for
1.0.5 and build it (we're working on a 1.0.5 release). The svn
location for 1.0.5 is:

svn co http://svn.apache.org/repos/asf/shale/framework/branches/SHALE_1_0_X/

If you really need 1.1.0 the news is not good right now. As soon as
the 1.0.5 release is done I'm planning to start looking at 1.1.0 and
getting it working. In the meantime you're welcome to check out the
source and give it a try yourself:

svn co http://svn.apache.org/repos/asf/shale/framework/trunk/

Does that help? Sorry for the mess.

Greg


Re: Where is Shale1.1.0?

2008-05-30 Thread Mario Buonopane

Greg Reddin ha scritto:

On Fri, May 30, 2008 at 4:48 AM, Mario Buonopane [EMAIL PROTECTED] wrote:
  

Hi, one year agò i download the shale version 1.1.0-SNAPSHOT-20070626.
Now i can't find any version 1.1.X from the shale site. Any body cna help
me?



We're sort of in a state of disrepair right now. Do you know where you
downloaded it from? I can't find it in any of the usual places now. It
won't be in the nightly build area because the 1.1.0 branch won't
build.

  
I downloaded one year agò...i don't remember where (i suppose in nightly 
build) but i remember that  the first version after 1.0.4 was 1.1.x.

If you want the latest release version you can download 1.0.4 here:

http://www.apache.org/dyn/closer.cgi/shale/

If you want something newer than that you can check out the source for
1.0.5 and build it (we're working on a 1.0.5 release). The svn
location for 1.0.5 is:

svn co http://svn.apache.org/repos/asf/shale/framework/branches/SHALE_1_0_X/

If you really need 1.1.0 the news is not good right now. As soon as
the 1.0.5 release is done I'm planning to start looking at 1.1.0 and
getting it working. In the meantime you're welcome to check out the
source and give it a try yourself:

svn co http://svn.apache.org/repos/asf/shale/framework/trunk/

  
I don't understand why you are working now on version 1.0.5 and one year 
agò on 1.1.0! If  you go in project summary you talk about version 1.1.0!



Does that help? Sorry for the mess.
  
No, sorry but your response does not help me because at the moment i 
don't know if 1.0.4 has same fix of my version. I remember that when i 
downloaded a snapshot version was because the stable version didn't work 
well.

I don't know waht to do know...

Greg

  

Mario


Re: Where is Shale1.1.0?

2008-05-30 Thread Greg Reddin
On Fri, May 30, 2008 at 12:20 PM, Mario Buonopane [EMAIL PROTECTED] wrote:

 I don't understand why you are working now on version 1.0.5 and one year agò
 on 1.1.0! If  you go in project summary you talk about version 1.1.0!

Mostly because (I think) 1.1.0 is meant to be used with JSF 1.2, etc.
and the 1.0 branch is designed to work with JSF 1.1. I have projects
that are currently using JSF 1.1 and I'd much rather be using a GA
codebase than a milestone build. Plus I'd really like to see Shale
release a GA codebase. It's been, what, 2 years? With the removal of
the Tiles dependency I think 1.0.5 could be GA. So my main goal is to
get a stable, relatively bug-free version of Shale out the door.

 No, sorry but your response does not help me because at the moment i don't
 know if 1.0.4 has same fix of my version. I remember that when i downloaded
 a snapshot version was because the stable version didn't work well.
 I don't know waht to do know...

If you can identify your bug I can let you know if it is fixed in
1.0.5. If not, well 1.0.5 is not released yet, so maybe we can
backport it. I'm working on the release now so let me know as quick as
you can.

Again, I'm sorry your experience has been what it is. In the future
you will see more Shale work from me than you have in the past. We'll
get there, but it will take time.

Greg