Re: [Acegisecurity-developer] .classpath file in Subversion

2007-09-10 Thread Carlos Sanchez
BTW there is a new Eclipse plugin for Maven that can import maven
projects directly and keep the classpath synced from the pom
http://code.google.com/p/q4e/

Disclaimer: I work on the project

On 9/10/07, Ray Krueger <[EMAIL PROTECTED]> wrote:
> Why isn't it?
>
> If you're only interested in working on core then...
> cd core
> mvn eclipse:eclipse
>
>
>
> On 9/10/07, Scott Battaglia <[EMAIL PROTECTED]> wrote:
> > Executing mvn eclipse:eclipse creates projects for each of the modules,
> > which is probably not what we want.
> >
> > -Scott
> >
> > Ray Krueger wrote:
> > > I think the .classpath files should be removed. They are doomed to be 
> > > stale.
> > > The project is now built with maven2 completely. Maven can create the
> > > .classpath files as needed.
> > >
> > > Executing "mvn eclipse:eclipse" from the project root will create
> > > everything needed.
> > >
> > >
> > > On 9/10/07, Scott Battaglia <[EMAIL PROTECTED]> wrote:
> > >
> > >> I'm doing some work on some of the JIRA issues assigned to me (finally
> > >> getting a chance) and I checked out the project and noticed that the
> > >> .classpath was referring to Spring 1.2.9 while the pom refers to 2.0.6.
> > >> Anyone have any issues if I update the .classpath file to reflect the
> > >> latest Spring version?
> > >>
> > >> Thanks
> > >> -Scott
> > >>
> > >> -
> > >> This SF.net email is sponsored by: Microsoft
> > >> Defy all challenges. Microsoft(R) Visual Studio 2005.
> > >> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> > >> ___
> > >> Home: http://acegisecurity.org
> > >> Acegisecurity-developer mailing list
> > >> Acegisecurity-developer@lists.sourceforge.net
> > >> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
> > >>
> > >>
> > >
> > > -
> > > This SF.net email is sponsored by: Microsoft
> > > Defy all challenges. Microsoft(R) Visual Studio 2005.
> > > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> > > ___
> > > Home: http://acegisecurity.org
> > > Acegisecurity-developer mailing list
> > > Acegisecurity-developer@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
> > >
> >
> > -
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio 2005.
> > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> > ___
> > Home: http://acegisecurity.org
> > Acegisecurity-developer mailing list
> > Acegisecurity-developer@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
> >
>
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> ___
> Home: http://acegisecurity.org
> Acegisecurity-developer mailing list
> Acegisecurity-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
>


-- 
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] Our build is a mess...

2007-05-03 Thread Carlos Sanchez
afaik doesn't support html docs, but I took the xdocs generated by m1
and put them in the xdocs folder, so that's fine

I added the docbook plugin but failed and commented it out

the other thing still missing would be the changes and announcements reports


On 4/28/07, Luke Taylor <[EMAIL PROTECTED]> wrote:
>
>
> Ben Alex wrote:
> > Hi all
> >
> > Carlos and Luke, what's the latest status of the Maven 2 build? Does the
> > reference documentation build successfully with Maven 2 as-is? I see
> > acegisecurity.org hasn't built and uploaded since 18 December 2006.
> > Luke, is that running the Maven 2 build?
> >
> No. The Maven 2 build is here:
>
> http://monkeymachine.co.uk/acegisecurity/
>
> Maven 2 has different a different approach to documentation and so on -
> it doesn't like html files for one thing, so the existing site docs
> would have to be converted. I already started doing this a while back.
>
> > We're shooting at releasing 1.0.4 in the next couple of weeks. Vishal
> > Puri is busily working away on it. In terms of introductions, Vishal
> > works for Interface21 (the company behind Spring) as a Senior Consultant
> > and is based here in Sydney with me. So you'll see more of Vishal on
> > this list, in JIRA and SVN. We're aiming at releasing 1.1.0 final in June.
> >
> > For 1.0.4 we will stick with the Maven 1.0.x build. For 1.1.0 we will
> > refactor the Contacts XML and build (as this is desirable anyway due to
> > the new namespaces support which will be present in 1.1.0) and switch
> > entirely to Maven 2.
> >
> > I'd be happy to switch to Maven 2 immediately (ie for 1.0.4) if it is
> > ready, thus the question above for Luke and Carlos.
> >
>
> I think you should stick to things as they are for 1.0.4. Support for
> docbook seems pretty flaky too, for example.
>
> Luke.
>
>
>
>
> --
>  Luke Taylor.  Monkey Machine Ltd.
>  PGP Key ID: 0x57E9523Chttp://www.monkeymachine.ltd.uk
>
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> Home: http://acegisecurity.org
> Acegisecurity-developer mailing list
> Acegisecurity-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
>


-- 
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] maven 2 eclipse integration

2007-05-02 Thread Carlos Sanchez
either you use the ones checked in that include everything together,
or the ones generated by mvn eclipse:eclipse to get all the submodules

On 5/2/07, Vishal Puri <[EMAIL PROTECTED]> wrote:
> yeah I thought so but I was confused with the existing .classpath file
> which comes into effect
> when we import acegisecurity in eclispe. The alternative was to import
> only acegisecurity/core,
> because I am only doing work in core, which has its own maven 2
> generated eclipse files.
>
> Thanks
>
> Carlos Sanchez wrote:
> > there's no way to create eclipse files for the parent directory,
> > eclipse doesn't support hierarchical projects (one inside another one)
> >
> >
> > On 5/1/07, Ray Krueger <[EMAIL PROTECTED]> wrote:
> >
> >> Hmm. That should do it. I work with IDEA not eclipse though, I am not
> >> sure if that stuff works.
> >>
> >> Jetbrains was kind enough to issue us an
> >> Open Source development license if you'd like to try it.
> >> IDEA just works :) no plugins required.
> >>
> >>
> >> On 5/1/07, Vishal Puri <[EMAIL PROTECTED]> wrote:
> >>
> >>> I am executing in trunk/acegisecurity directory.
> >>>
> >>>
> >>> Ray Krueger wrote:
> >>>
> >>>> Are you executing it out of the acegisecurity directory? And not in
> >>>> ./core or one of the other modules?
> >>>>
> >>>> On 4/30/07, Vishal Puri <[EMAIL PROTECTED]> wrote:
> >>>>
> >>>>
> >>>>> Hi All
> >>>>>
> >>>>> Carlos and Luke,  have you been able to generate eclipse .classpath and
> >>>>> .project files with maven 2 for acegi ?
> >>>>>
> >>>>> Doing mvn eclipse:clean and mvn eclipse:eclipse doesn't generate these
> >>>>> files for "Acegi Security System for Spring - Parent"
> >>>>>
> >>>>> Have you faced this problem?
> >>>>>
> >>>>> Vishal
> >>>>>
> >>>>> -
> >>>>> This SF.net email is sponsored by DB2 Express
> >>>>> Download DB2 Express C - the FREE version of DB2 express and take
> >>>>> control of your XML. No limits. Just data. Click to get it now.
> >>>>> http://sourceforge.net/powerbar/db2/
> >>>>> ___
> >>>>> Home: http://acegisecurity.org
> >>>>> Acegisecurity-developer mailing list
> >>>>> Acegisecurity-developer@lists.sourceforge.net
> >>>>> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
> >>>>>
> >>>>>
> >>>>>
> >>>> -
> >>>> This SF.net email is sponsored by DB2 Express
> >>>> Download DB2 Express C - the FREE version of DB2 express and take
> >>>> control of your XML. No limits. Just data. Click to get it now.
> >>>> http://sourceforge.net/powerbar/db2/
> >>>> ___
> >>>> Home: http://acegisecurity.org
> >>>> Acegisecurity-developer mailing list
> >>>> Acegisecurity-developer@lists.sourceforge.net
> >>>> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
> >>>>
> >>>>
> >>> -
> >>> This SF.net email is sponsored by DB2 Express
> >>> Download DB2 Express C - the FREE version of DB2 express and take
> >>> control of your XML. No limits. Just data. Click to get it now.
> >>> http://sourceforge.net/powerbar/db2/
> >>> ___
> >>> Home: http://acegisecurity.org
> >>> Acegisecurity-developer mailing list
> >>> Acegisecurity-developer@lists.sourceforge.net
> >>> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
> >>>
> >>>
> >> -
> >> This SF.net email is sponsored by DB2 Express
> >> Download DB2 Express C - the FREE version of DB2 express and take
> >> control of your XML. No limits. Just data. Click to get it now.
> >

Re: [Acegisecurity-developer] maven 2 eclipse integration

2007-05-01 Thread Carlos Sanchez
there's no way to create eclipse files for the parent directory,
eclipse doesn't support hierarchical projects (one inside another one)


On 5/1/07, Ray Krueger <[EMAIL PROTECTED]> wrote:
> Hmm. That should do it. I work with IDEA not eclipse though, I am not
> sure if that stuff works.
>
> Jetbrains was kind enough to issue us an
> Open Source development license if you'd like to try it.
> IDEA just works :) no plugins required.
>
>
> On 5/1/07, Vishal Puri <[EMAIL PROTECTED]> wrote:
> > I am executing in trunk/acegisecurity directory.
> >
> >
> > Ray Krueger wrote:
> > > Are you executing it out of the acegisecurity directory? And not in
> > > ./core or one of the other modules?
> > >
> > > On 4/30/07, Vishal Puri <[EMAIL PROTECTED]> wrote:
> > >
> > >> Hi All
> > >>
> > >> Carlos and Luke,  have you been able to generate eclipse .classpath and
> > >> .project files with maven 2 for acegi ?
> > >>
> > >> Doing mvn eclipse:clean and mvn eclipse:eclipse doesn't generate these
> > >> files for "Acegi Security System for Spring - Parent"
> > >>
> > >> Have you faced this problem?
> > >>
> > >> Vishal
> > >>
> > >> -
> > >> This SF.net email is sponsored by DB2 Express
> > >> Download DB2 Express C - the FREE version of DB2 express and take
> > >> control of your XML. No limits. Just data. Click to get it now.
> > >> http://sourceforge.net/powerbar/db2/
> > >> ___
> > >> Home: http://acegisecurity.org
> > >> Acegisecurity-developer mailing list
> > >> Acegisecurity-developer@lists.sourceforge.net
> > >> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
> > >>
> > >>
> > >
> > > -
> > > This SF.net email is sponsored by DB2 Express
> > > Download DB2 Express C - the FREE version of DB2 express and take
> > > control of your XML. No limits. Just data. Click to get it now.
> > > http://sourceforge.net/powerbar/db2/
> > > ___
> > > Home: http://acegisecurity.org
> > > Acegisecurity-developer mailing list
> > > Acegisecurity-developer@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
> > >
> >
> >
> > -
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2 express and take
> > control of your XML. No limits. Just data. Click to get it now.
> > http://sourceforge.net/powerbar/db2/
> > ___
> > Home: http://acegisecurity.org
> > Acegisecurity-developer mailing list
> > Acegisecurity-developer@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
> >
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> Home: http://acegisecurity.org
> Acegisecurity-developer mailing list
> Acegisecurity-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
>


-- 
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] Our build is a mess...

2007-04-23 Thread Carlos Sanchez
looks good

On 4/23/07, Ray Krueger <[EMAIL PROTECTED]> wrote:
> All, I've fixed the
> http://opensource.atlassian.com/projects/spring/browse/SEC-445 bug.
>
> The fix is to bring in servlet-api 2.4 so that we get the correct
> version of PageContext into the classpath.
>
> Is that going to be a problem?
>
>
>
>
> On 4/23/07, Ray Krueger <[EMAIL PROTECTED]> wrote:
> > Running a clean test now, I'll update the bug.
> >
> > Any ideas on the war/multiwar thing? Is there a maven2 equivalent to 
> > multiwar?
> >
> > On 4/23/07, Carlos Sanchez <[EMAIL PROTECTED]> wrote:
> > > i can't reproduce with 2.0.6
> > > I need the test report in
> > > target/surefire-reports/.../AuthorizeTagExpressionLanguageTests.txt
> > >
> > >
> > > On 4/23/07, Ray Krueger <[EMAIL PROTECTED]> wrote:
> > > > The AuthorizeTagExpressionLanguageTests fail for me on Windows XP in
> > > > all Maven versions due to a NoSuchMethod exception.
> > > >
> > > > We had a discussion a few months back with one of the users having the
> > > > same problem. I have no idea what the issue is, but it always fails
> > > > for me.
> > > >
> > > > There is even a bug open for this.
> > > > http://opensource.atlassian.com/projects/spring/browse/SEC-445
> > > >
> > > >
> > > > On 4/23/07, Carlos Sanchez <[EMAIL PROTECTED]> wrote:
> > > > > On 4/21/07, Ray Krueger <[EMAIL PROTECTED]> wrote:
> > > > > > * Maven 2.0.5 and 2.0.6 both cause the
> > > > > > AuthorizeTagExpressionLanguageTests to fail, whereas 2.0.4 builds it
> > > > > > fine.
> > > > >
> > > > > what is the problem? it passes for me
> > > > >
> > > > > >
> > > > > > * The contacts sample cannot be built with maven2 from the
> > > > > > instructions on our website, the multiwar plugin doesn't exist.
> > > > > >
> > > > > > * Using 'mvn war' in samples/contacts produces an invalid 
> > > > > > application.
> > > > > > It doesn't copy in the common and filter directories.
> > > > > >
> > > > > > * We have maven1 instructions up for everything, yet we only seem to
> > > > > > support maven2. We need to update our instructions. I'd gladly do it
> > > > > > if someone can tell me how to build the sample apps with maven2.
> > > > > >
> > > > > > -
> > > > > > This SF.net email is sponsored by DB2 Express
> > > > > > Download DB2 Express C - the FREE version of DB2 express and take
> > > > > > control of your XML. No limits. Just data. Click to get it now.
> > > > > > http://sourceforge.net/powerbar/db2/
> > > > > > ___
> > > > > > Home: http://acegisecurity.org
> > > > > > Acegisecurity-developer mailing list
> > > > > > Acegisecurity-developer@lists.sourceforge.net
> > > > > > https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > I could give you my word as a Spaniard.
> > > > > No good. I've known too many Spaniards.
> > > > >  -- The Princess Bride
> > > > >
> > > > > -
> > > > > This SF.net email is sponsored by DB2 Express
> > > > > Download DB2 Express C - the FREE version of DB2 express and take
> > > > > control of your XML. No limits. Just data. Click to get it now.
> > > > > http://sourceforge.net/powerbar/db2/
> > > > > ___
> > > > > Home: http://acegisecurity.org
> > > > > Acegisecurity-developer mailing list
> > > > > Acegisecurity-developer@lists.sourceforge.net
> > > > > https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
> > > > >
> > > >
> > > > -
> > > > This SF.net email is sponsored by DB2 Express
> > >

Re: [Acegisecurity-developer] Our build is a mess...

2007-04-23 Thread Carlos Sanchez
i can't reproduce with 2.0.6
I need the test report in
target/surefire-reports/.../AuthorizeTagExpressionLanguageTests.txt


On 4/23/07, Ray Krueger <[EMAIL PROTECTED]> wrote:
> The AuthorizeTagExpressionLanguageTests fail for me on Windows XP in
> all Maven versions due to a NoSuchMethod exception.
>
> We had a discussion a few months back with one of the users having the
> same problem. I have no idea what the issue is, but it always fails
> for me.
>
> There is even a bug open for this.
> http://opensource.atlassian.com/projects/spring/browse/SEC-445
>
>
> On 4/23/07, Carlos Sanchez <[EMAIL PROTECTED]> wrote:
> > On 4/21/07, Ray Krueger <[EMAIL PROTECTED]> wrote:
> > > * Maven 2.0.5 and 2.0.6 both cause the
> > > AuthorizeTagExpressionLanguageTests to fail, whereas 2.0.4 builds it
> > > fine.
> >
> > what is the problem? it passes for me
> >
> > >
> > > * The contacts sample cannot be built with maven2 from the
> > > instructions on our website, the multiwar plugin doesn't exist.
> > >
> > > * Using 'mvn war' in samples/contacts produces an invalid application.
> > > It doesn't copy in the common and filter directories.
> > >
> > > * We have maven1 instructions up for everything, yet we only seem to
> > > support maven2. We need to update our instructions. I'd gladly do it
> > > if someone can tell me how to build the sample apps with maven2.
> > >
> > > -
> > > This SF.net email is sponsored by DB2 Express
> > > Download DB2 Express C - the FREE version of DB2 express and take
> > > control of your XML. No limits. Just data. Click to get it now.
> > > http://sourceforge.net/powerbar/db2/
> > > ___
> > > Home: http://acegisecurity.org
> > > Acegisecurity-developer mailing list
> > > Acegisecurity-developer@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
> > >
> >
> >
> > --
> > I could give you my word as a Spaniard.
> > No good. I've known too many Spaniards.
> >  -- The Princess Bride
> >
> > -
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2 express and take
> > control of your XML. No limits. Just data. Click to get it now.
> > http://sourceforge.net/powerbar/db2/
> > ___
> > Home: http://acegisecurity.org
> > Acegisecurity-developer mailing list
> > Acegisecurity-developer@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
> >
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> Home: http://acegisecurity.org
> Acegisecurity-developer mailing list
> Acegisecurity-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
>


-- 
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] Our build is a mess...

2007-04-23 Thread Carlos Sanchez
On 4/21/07, Ray Krueger <[EMAIL PROTECTED]> wrote:
> * Maven 2.0.5 and 2.0.6 both cause the
> AuthorizeTagExpressionLanguageTests to fail, whereas 2.0.4 builds it
> fine.

what is the problem? it passes for me

>
> * The contacts sample cannot be built with maven2 from the
> instructions on our website, the multiwar plugin doesn't exist.
>
> * Using 'mvn war' in samples/contacts produces an invalid application.
> It doesn't copy in the common and filter directories.
>
> * We have maven1 instructions up for everything, yet we only seem to
> support maven2. We need to update our instructions. I'd gladly do it
> if someone can tell me how to build the sample apps with maven2.
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> Home: http://acegisecurity.org
> Acegisecurity-developer mailing list
> Acegisecurity-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
>


-- 
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] Unresolved dependency problems

2007-02-27 Thread Carlos Sanchez
in the previous lines it tells you which test failed

On 2/27/07, Ray Krueger <[EMAIL PROTECTED]> wrote:
> Maven 2.0.5 says...
>
> Results :
> Tests run: 963, Failures: 0, Errors: 3, Skipped: 0
>
> [INFO] 
> 
> [ERROR] BUILD FAILURE
> [INFO] 
> 
> [INFO] There are test failures.
> [INFO] 
> 
> [INFO] For more information, run Maven with the -e switch
> [INFO] 
> 
> [INFO] Total time: 1 minute 25 seconds
> [INFO] Finished at: Tue Feb 27 12:22:38 CST 2007
> [INFO] Final Memory: 6M/12M
> [INFO] 
> 
>
> Is it because these are errors, not failures, that Maven stays silent
> about the what test went wrong?
>
> Why would deleting my repository change fix the 2.0.5 problem, when it
> builds fine with 2.0.4 using the same repository?
>
>
> On 2/27/07, Carlos Sanchez <[EMAIL PROTECTED]> wrote:
> > i use 2.0.5 and builds fine for me
> >
> > try deleting your local repo ~/.m2/repository
> >
> > maven reports the tests that fail, just check the lines before "[INFO]
> > There are test failures."
> >
> > On 2/27/07, Ray Krueger <[EMAIL PROTECTED]> wrote:
> > > This test only fails in Maven 2.0.5
> > > Executing "mvn clean test" with Maven 2.0.4 passes fine. This test
> > > also passes fine when run directly in the IDE (IntelliJ for me).
> > >
> > > Maven really does not handle test failures well. There is no clue as
> > > to what test failed, you only get "[INFO] There are test failures."
> > > There should be some clue as to what test failed. Can the html report
> > > be generated directly to get a summary? Can I run the
> > > maven-surefire-report-plugin direclty?
> > >
> > > (Sorry for the direct email rather than the list Brad, I do that a lot 
> > > haha)
> > >
> > > On 2/27/07, Ray Krueger <[EMAIL PROTECTED]> wrote:
> > > > Pasting massive logs to the list makes the listserv mad.
> > > >
> > > > I'm truncating this message for clarity.
> > > >
> > > >
> > > >
> > > > On 2/27/07, Ray Krueger <[EMAIL PROTECTED]> wrote:
> > > > > I just updated to the latest code from SVN and the build is failing
> > > > > for me as well.
> > > > > Same test actually:
> > > > > org.acegisecurity.taglibs.authz.AuthorizeTagExpressionLanguageTests
> > > > >
> > > > > I'll take a look, but I'm buried at work and can't spend much time on 
> > > > > it.
> > > > >
> > > > > Be back in a bit :)
> > > > >
> > > > >
> > > > > On 2/27/07, Brad Cox, Ph.D. <[EMAIL PROTECTED]> wrote:
> > > > > > Ray Krueger wrote:
> > > > > > > Brad, can you try deleting the following, and trying the build 
> > > > > > > again?
> > > > > > > YOUR_HOME_FOLDER\.m2\repository\javax\servlet\jsp-api\2.0
> > > > > > > Where 'YOUR_HOME_FOLDER' is something like C:\Documents and 
> > > > > > > Settings\bcox
> > > > > >
> > > > > > Deleted /home/bcox/.m2/repository/javax/servlet/jsp-api/2.0
> > > > > >
> > > > > > See attached. Failure still there
> > > > > >
> > > > > > > Also, are you using Maven 2.0.4 or better?
> > > > > >
> > > > > > imac:/G5B/Java/acegisecurity bcox$ mvn -v
> > > > > > Maven version: 2.0.5
> > > > > >
> > > >
> > >
> > > -
> > > Take Surveys. Earn Cash. Influence the Future of IT
> > > Join SourceForge.net's Techsay panel and you'll get the chance to share 
> > > your
> > > opinions on IT & business topics through brief surveys-and earn cash
> > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > > ___
> > > Home: http://acegisecurity.org
> > > Acegisecurity-developer mailing list
> > > Acegisecurity-develop

Re: [Acegisecurity-developer] Unresolved dependency problems

2007-02-27 Thread Carlos Sanchez
i use 2.0.5 and builds fine for me

try deleting your local repo ~/.m2/repository

maven reports the tests that fail, just check the lines before "[INFO]
There are test failures."

On 2/27/07, Ray Krueger <[EMAIL PROTECTED]> wrote:
> This test only fails in Maven 2.0.5
> Executing "mvn clean test" with Maven 2.0.4 passes fine. This test
> also passes fine when run directly in the IDE (IntelliJ for me).
>
> Maven really does not handle test failures well. There is no clue as
> to what test failed, you only get "[INFO] There are test failures."
> There should be some clue as to what test failed. Can the html report
> be generated directly to get a summary? Can I run the
> maven-surefire-report-plugin direclty?
>
> (Sorry for the direct email rather than the list Brad, I do that a lot haha)
>
> On 2/27/07, Ray Krueger <[EMAIL PROTECTED]> wrote:
> > Pasting massive logs to the list makes the listserv mad.
> >
> > I'm truncating this message for clarity.
> >
> >
> >
> > On 2/27/07, Ray Krueger <[EMAIL PROTECTED]> wrote:
> > > I just updated to the latest code from SVN and the build is failing
> > > for me as well.
> > > Same test actually:
> > > org.acegisecurity.taglibs.authz.AuthorizeTagExpressionLanguageTests
> > >
> > > I'll take a look, but I'm buried at work and can't spend much time on it.
> > >
> > > Be back in a bit :)
> > >
> > >
> > > On 2/27/07, Brad Cox, Ph.D. <[EMAIL PROTECTED]> wrote:
> > > > Ray Krueger wrote:
> > > > > Brad, can you try deleting the following, and trying the build again?
> > > > > YOUR_HOME_FOLDER\.m2\repository\javax\servlet\jsp-api\2.0
> > > > > Where 'YOUR_HOME_FOLDER' is something like C:\Documents and 
> > > > > Settings\bcox
> > > >
> > > > Deleted /home/bcox/.m2/repository/javax/servlet/jsp-api/2.0
> > > >
> > > > See attached. Failure still there
> > > >
> > > > > Also, are you using Maven 2.0.4 or better?
> > > >
> > > > imac:/G5B/Java/acegisecurity bcox$ mvn -v
> > > > Maven version: 2.0.5
> > > >
> >
>
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Home: http://acegisecurity.org
> Acegisecurity-developer mailing list
> Acegisecurity-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
>


-- 
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] Unresolved dependency problems

2007-02-26 Thread Carlos Sanchez
it works for me, so only thing is open a jira in
http://opensource.atlassian.com/projects/spring/browse/SEC

On 2/26/07, Brad Cox, Ph.D. <[EMAIL PROTECTED]> wrote:
> Carlos Sanchez wrote:
> > check target/surefire-reports folder in the module that failed and
> > you'll find a file with name
> > org.acegisecurity.taglibs.authz.AuthorizeTagExpressionLanguageTests*
> >
> > send the error
>
> You mean this?
> ---
> Test set:
> org.acegisecurity.taglibs.authz.AuthorizeTagExpressionLanguageTests
> ---
> Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.052
> sec <<< FAILURE!
> testAllGrantedUsesExpressionLanguageWhenExpressionIsEL(org.acegisecurity.taglibs.authz.AuthorizeTagExpressionLanguageTests)
>   Time elapsed: 0
> .018 sec  <<< ERROR!
> java.lang.NoSuchMethodError:
> javax.servlet.jsp.PageContext.getExpressionEvaluator()Ljavax/servlet/jsp/el/ExpressionEvaluator;
>  at
> org.springframework.web.util.ExpressionEvaluationUtils$Jsp20ExpressionEvaluationHelper.evaluate(ExpressionEvaluationUtils.java:21
> 6)
>  at
> org.springframework.web.util.ExpressionEvaluationUtils.evaluateString(ExpressionEvaluationUtils.java:150)
>  at
> org.acegisecurity.taglibs.authz.AuthorizeTag.doStartTag(AuthorizeTag.java:93)
>  at
> org.acegisecurity.taglibs.authz.AuthorizeTagExpressionLanguageTests.testAllGrantedUsesExpressionLanguageWhenExpressionIsEL(Author
> izeTagExpressionLanguageTests.java:66)
>
> testAnyGrantedUsesExpressionLanguageWhenExpressionIsEL(org.acegisecurity.taglibs.authz.AuthorizeTagExpressionLanguageTests)
>   Time elapsed: 0
> .007 sec  <<< ERROR!
> java.lang.NoSuchMethodError:
> javax.servlet.jsp.PageContext.getExpressionEvaluator()Ljavax/servlet/jsp/el/ExpressionEvaluator;
>  at
> org.springframework.web.util.ExpressionEvaluationUtils$Jsp20ExpressionEvaluationHelper.evaluate(ExpressionEvaluationUtils.java:21
> 6)
>  at
> org.springframework.web.util.ExpressionEvaluationUtils.evaluateString(ExpressionEvaluationUtils.java:150)
>  at
> org.acegisecurity.taglibs.authz.AuthorizeTag.doStartTag(AuthorizeTag.java:102)
>  at
> org.acegisecurity.taglibs.authz.AuthorizeTagExpressionLanguageTests.testAnyGrantedUsesExpressionLanguageWhenExpressionIsEL(Author
> izeTagExpressionLanguageTests.java:75)
>
> testNotGrantedUsesExpressionLanguageWhenExpressionIsEL(org.acegisecurity.taglibs.authz.AuthorizeTagExpressionLanguageTests)
>   Time elapsed: 0
> .002 sec  <<< ERROR!
> java.lang.NoSuchMethodError:
> javax.servlet.jsp.PageContext.getExpressionEvaluator()Ljavax/servlet/jsp/el/ExpressionEvaluator;
>  at
> org.springframework.web.util.ExpressionEvaluationUtils$Jsp20ExpressionEvaluationHelper.evaluate(ExpressionEvaluationUtils.java:21
> 6)
>  at
> org.springframework.web.util.ExpressionEvaluationUtils.evaluateString(ExpressionEvaluationUtils.java:150)
>  at
> org.acegisecurity.taglibs.authz.AuthorizeTag.doStartTag(AuthorizeTag.java:82)
>  at
> org.acegisecurity.taglibs.authz.AuthorizeTagExpressionLanguageTests.testNotGrantedUsesExpressionLanguageWhenExpressionIsEL(Author
> izeTagExpressionLanguageTests.java:84)
>
> > On 2/26/07, Brad Cox, Ph.D. <[EMAIL PROTECTED]> wrote:
> >> Carlos Sanchez wrote:
> >> > run mvn install from the root folder before trying to build the
> >> > samples so you have the latest acegi jars. Or change the sample to use
> >> > last release instead of using snapshots.
> >>
> >> Thanks!! mvn install in the root folder ran except for one test failure:
> >> Running
> >> org.acegisecurity.taglibs.authz.AuthorizeTagExpressionLanguageTests
> >> Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.051
> >> sec <<< FAILURE!
> >>
> >> So hoping for the best...
> >>
> >> > First of all, deploy the "Tutorial Sample", which is included in the
> >> main distribution ZIP file. The sample doesn't do a great deal, but it
> >> does give you a template that can be quickly and easily used to
> >> integrate into your own project.
> >>
> >> imac:/G5B/Java/acegisecurity/samples/tutorial bcox$ mvn deploy
> >> [INFO] Scanning for projects...
> >> [INFO]
> >> 
> >>
> >> [INFO] Building Maven Default Project
> >> [INFO]task-segment: [deploy]
> >> [INFO]
> 

Re: [Acegisecurity-developer] Unresolved dependency problems

2007-02-26 Thread Carlos Sanchez
check target/surefire-reports folder in the module that failed and
you'll find a file with name
org.acegisecurity.taglibs.authz.AuthorizeTagExpressionLanguageTests*

send the error

On 2/26/07, Brad Cox, Ph.D. <[EMAIL PROTECTED]> wrote:
> Carlos Sanchez wrote:
> > run mvn install from the root folder before trying to build the
> > samples so you have the latest acegi jars. Or change the sample to use
> > last release instead of using snapshots.
>
> Thanks!! mvn install in the root folder ran except for one test failure:
> Running org.acegisecurity.taglibs.authz.AuthorizeTagExpressionLanguageTests
> Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.051
> sec <<< FAILURE!
>
> So hoping for the best...
>
> > First of all, deploy the "Tutorial Sample", which is included in the main 
> > distribution ZIP file. The sample doesn't do a great deal, but it does give 
> > you a template that can be quickly and easily used to integrate into your 
> > own project.
>
> imac:/G5B/Java/acegisecurity/samples/tutorial bcox$ mvn deploy
> [INFO] Scanning for projects...
> [INFO]
> 
> [INFO] Building Maven Default Project
> [INFO]task-segment: [deploy]
> [INFO]
> 
> [INFO] artifact org.apache.maven.plugins:maven-deploy-plugin: checking
> for updates from central
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/2.3/maven-deploy-plugin-2.3.pom
> 1/1K
> 1K downloaded
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-deploy-plugin/2.3/maven-deploy-plugin-2.3.jar
> 2/15K
> 4/15K
> 5/15K
> 7/15K
> 8/15K
> 9/15K
> 11/15K
> 14/15K
> 15/15K
> 15K downloaded
> [INFO]
> 
> [ERROR] BUILD ERROR
> [INFO]
> 
> [INFO] Cannot execute mojo: resources. It requires a project with an
> existing pom.xml, but the build is not using one.
> [INFO]
> 
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> 
> [INFO] Total time: 3 seconds
> [INFO] Finished at: Mon Feb 26 16:57:29 EST 2007
> [INFO] Final Memory: 3M/6M
> [INFO] ---
>
>
> > On 2/26/07, Brad Cox, Ph.D. <[EMAIL PROTECTED]> wrote:
> >> Could someone here please advise on how to get started using
> >> acegisecurity? Everything I've tried (including both versions of maven +
> >> mvn) leads to unresolved dependencies. I've no clue how to get this
> >> thing out of the box.
> >>
> >>> Sorry for the delay on getting back on this.
> >>>
> >>> It looks like the dependencies are NOT loaded into a maven repository
> >>> with the structure outlined below.  The org/acegisecurity directory does
> >>> not exist on apache.  It does on sourceforge, but a directory of
> >>> acegi-security-tiger does not exist under org/acegisecurity.  The
> >>> directory acegi-security does exist under or/acegisecurity.  This new
> >>> directory does have the 1.1-SNAPSHOT version, but not as a POM or JAR.
> >>> It has archive versions in zip format.
> >>>
> >>> So, problem is that the POM and JAR expected are NOT loaded in a Maven
> >>> repo as they are expected to be in the mvn script you are running.
> >>>
> >>> --Phillip
> >>
> >> -- Original Message ---
> >> From: "Brad Cox" <[EMAIL PROTECTED]>
> >> To: [EMAIL PROTECTED], "Brian O'Neill" <[EMAIL PROTECTED]>
> >> Cc: Phillip Anderson <[EMAIL PROTECTED]>, Jeremy Thorn
> >> <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
> >> Sent: Sun, 25 Feb 2007 17:29:54 -0500
> >> Subject: Re: Mavn problems. Can you help?
> >>
> >>  > > I've about concluded that (part of) the problem is that acegisecurity
> >> has
> >>  > > moved to maven2 but left their instructions for maven1. Everything's
> >>  > > guesswork, but blind guesswork at mvn args gets me further than
> >> following
> >>  > > those instructions.
> >>  > >

Re: [Acegisecurity-developer] Unresolved dependency problems

2007-02-26 Thread Carlos Sanchez
run mvn install from the root folder before trying to build the
samples so you have the latest acegi jars. Or change the sample to use
last release instead of using snapshots.

On 2/26/07, Brad Cox, Ph.D. <[EMAIL PROTECTED]> wrote:
> Could someone here please advise on how to get started using
> acegisecurity? Everything I've tried (including both versions of maven +
> mvn) leads to unresolved dependencies. I've no clue how to get this
> thing out of the box.
>
> > Sorry for the delay on getting back on this.
> >
> > It looks like the dependencies are NOT loaded into a maven repository
> > with the structure outlined below.  The org/acegisecurity directory does
> > not exist on apache.  It does on sourceforge, but a directory of
> > acegi-security-tiger does not exist under org/acegisecurity.  The
> > directory acegi-security does exist under or/acegisecurity.  This new
> > directory does have the 1.1-SNAPSHOT version, but not as a POM or JAR.
> > It has archive versions in zip format.
> >
> > So, problem is that the POM and JAR expected are NOT loaded in a Maven
> > repo as they are expected to be in the mvn script you are running.
> >
> > --Phillip
>
>
> -- Original Message ---
> From: "Brad Cox" <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED], "Brian O'Neill" <[EMAIL PROTECTED]>
> Cc: Phillip Anderson <[EMAIL PROTECTED]>, Jeremy Thorn
> <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
> Sent: Sun, 25 Feb 2007 17:29:54 -0500
> Subject: Re: Mavn problems. Can you help?
>
>  > > I've about concluded that (part of) the problem is that acegisecurity
> has
>  > > moved to maven2 but left their instructions for maven1. Everything's
>  > > guesswork, but blind guesswork at mvn args gets me further than
> following
>  > > those instructions.
>  > >
>  > > Here's the latest. Still no joy...
>  > >
>  > > BTW: acegisecurity seems to have what we need, if I could only figure
> out how
>  > > to use it. Can someone pls help? I think I mainly need basic maven vs
> mvn how
>  > > to handholding, particularly how to diagnose problems like this
> myself.
>  > >
>  > > imac:/G5B/Java/acegisecurity/samples/contacts bcox$ mvn install
>  > > [INFO] Scanning for projects...
>  > > [INFO]
>  > >
> 
> 
>  > > [INFO] Building Acegi Security System for Spring - Contacts sample
>  > > [INFO]task-segment: [install]
>  > > [INFO]
>  > >
> 
> 
>  > > [INFO] [resources:resources]
>  > > [INFO] Using default encoding to copy filtered resources.
>  > > [INFO] snapshot org.acegisecurity:acegi-security-tiger:1.1-SNAPSHOT:
> checking
>  > > for updates from sourceforge.net
>  > > [INFO] snapshot org.acegisecurity:acegi-security-tiger:1.1-SNAPSHOT:
> checking
>  > > for updates from apache.org
>  > > Downloading:
>  > >
> http://acegisecurity.sourceforge.net/repository/snapshots/org/acegisecur
> ity/acegi-security-tiger/1.1-SNAPSHOT/acegi-security-tiger-1.1-SNAPSHOT.
> pom
>  > > [WARNING] Unable to get resource
>  > > 'org.acegisecurity:acegi-security-tiger:pom:1.1-SNAPSHOT' from
> repository
>  > > sourceforge.net
> (http://acegisecurity.sourceforge.net/repository/snapshots)
>  > > Downloading:
>  > >
> http://svn.apache.org/maven-snapshot-repository/org/acegisecurity/acegi-
> security-tiger/1.1-SNAPSHOT/acegi-security-tiger-1.1-SNAPSHOT.pom
>  > > [WARNING] Unable to get resource
>  > > 'org.acegisecurity:acegi-security-tiger:pom:1.1-SNAPSHOT' from
> repository
>  > > apache.org (http://svn.apache.org/maven-snapshot-repository)
>  > > Downloading:
>  > >
> http://acegisecurity.sourceforge.net/repository/snapshots/org/acegisecur
> ity/acegi-security-tiger/1.1-SNAPSHOT/acegi-security-tiger-1.1-SNAPSHOT.
> jar
>  > > [WARNING] Unable to get resource
>  > > 'org.acegisecurity:acegi-security-tiger:jar:1.1-SNAPSHOT' from
> repository
>  > > sourceforge.net
> (http://acegisecurity.sourceforge.net/repository/snapshots)
>  > > Downloading:
>  > >
> http://svn.apache.org/maven-snapshot-repository/org/acegisecurity/acegi-
> security-tiger/1.1-SNAPSHOT/acegi-security-tiger-1.1-SNAPSHOT.jar
>  > > [WARNING] Unable to get resource
>  > > 'org.acegisecurity:acegi-security-tiger:jar:1.1-SNAPSHOT' from
> repository
>  > > apache.org (http://svn.apache.org/maven-snapshot-repository)
>  > > Downloading:
>  > >
> http://repo1.maven.org/maven2/javax/servlet/servlet-api/2.4/servlet-api-
> 2.4.jar
>  > > 95K downloaded
>  > > [INFO]
> 
>  > > [ERROR] BUILD ERROR
>  > > [INFO]
> 
>  > > [INFO] Failed to resolve artifact.
>  > >
>  > > Missing:
>  > > --
>  > > 1) org.acegisecurity:acegi-security-tiger:jar:1.1-SNAPSHOT
>  > >
>  > >   Try downloading the file manually from the project website.
>  > >
>  > >   Then, install it using the command:
>  > >  

Re: [Acegisecurity-developer] Maven2 POM for Acegi-Security

2007-02-16 Thread Carlos Sanchez
On 2/16/07, Matt Raible <[EMAIL PROTECTED]> wrote:
> I'm willing to bet this problem is caused by using the full Spring
> dependency rather than fine-grained Spring dependencies.  I use the
> full Spring dependency and have experienced this issue as well.  It's
> too bad there's not a way in Maven to say "this JAR overrides all
> others".

not yet, but it'll be
in this case that's not the problem as i said in my previous answer.

> This isn't the "Maven way" as they recommend using Spring's
> fine-grained dependencies.  However, I've found that the fine-grained
> dependencies refer to artifacts that aren't in the Maven repos - so
> the this way seems more pragmatic to me. ;-)

i don't know what artifacts are missing, if you point it out you know
that that things get fixed. if people keep using the coarse grained
dependencies we'll keep getting this user questions all the time.


>
> Hope this helps,
>
> Matt

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] Maven2 POM for Acegi-Security

2007-02-16 Thread Carlos Sanchez
First, i'm very familiar with how acegi m2 build works, and I do know
how Maven resolves transitive dependencies. In both cases i can say
that I wrote it, literally ;)

if you do take a look to the library folder you will see that there
are no jars in both 1.2.8 and 2.0.2, they are all different. You are
forcing 2.0.2 only in spring-webmvc, thus spring dao, jdbc and remote
are not forced to 2.0.2 because they are not part of webmvc
dependencies

I'd suggest everybody trying to play seriously with maven to take a
look at "Better builds with Maven", edite by Mergere and downloadable
for free from http://www.mergere.com/m2book_download.jsp

Take a look to the output of -X an you'll probably understand better

[DEBUG] test:test:war:1.0-SNAPSHOT (selected for null)
[DEBUG]   org.springframework:spring-webmvc:jar:2.0.2:compile
(selected for compile)
[DEBUG] commons-logging:commons-logging:jar:1.1:compile (selected
for compile)
[DEBUG]   log4j:log4j:jar:1.2.12:compile (selected for compile)
[DEBUG]   logkit:logkit:jar:1.0.1:compile (selected for compile)
[DEBUG]   avalon-framework:avalon-framework:jar:4.1.3:compile
(selected for compile)
[DEBUG]   javax.servlet:servlet-api:jar:2.3:compile (selected for compile)
[DEBUG] org.springframework:spring-beans:jar:2.0.2:compile
(selected for compile)
[DEBUG]   org.springframework:spring-core:jar:2.0.2:compile
(selected for compile)
[DEBUG] org.springframework:spring-context:jar:2.0.2:compile
(selected for compile)
[DEBUG]   aopalliance:aopalliance:jar:1.0:compile (selected for compile)
[DEBUG] org.springframework:spring-core:jar:2.0.2:compile
(selected for compile)
[DEBUG] org.springframework:spring-support:jar:2.0.2:compile
(selected for compile)
[DEBUG] org.springframework:spring-web:jar:2.0.2:compile (selected
for compile)
[DEBUG]   org.acegisecurity:acegi-security:jar:1.0.3:compile (selected
for compile)
[DEBUG] org.springframework:spring-remoting:jar:1.2.8:compile
(selected for compile)
[DEBUG]   org.springframework:spring-dao:jar:1.2.8:compile
(selected for compile)
[DEBUG] org.springframework:spring-context:jar:1.2.8:compile
(removed - nearer found: 2.0.2)
[DEBUG]   org.springframework:spring-webmvc:jar:1.2.8:compile
(removed - nearer found: 2.0.2)
[DEBUG] org.springframework:spring-jdbc:jar:1.2.8:compile
(selected for compile)
[DEBUG]   org.springframework:spring-beans:jar:1.2.8:compile
(removed - nearer found: 2.0.2)
[DEBUG] org.springframework:spring-support:jar:1.2.8:runtime
(removed - nearer found: 2.0.2)
[DEBUG] commons-lang:commons-lang:jar:2.1:compile (selected for compile)
[DEBUG] commons-logging:commons-logging:jar:1.0.4:compile (removed
- nearer found: 1.1)
[DEBUG] commons-codec:commons-codec:jar:1.3:compile (selected for compile)
[DEBUG] oro:oro:jar:2.0.8:compile (selected for compile)
[DEBUG] commons-collections:commons-collections:jar:3.1:compile
(selected for compile)
[DEBUG] log4j:log4j:jar:1.2.9:runtime (setting scope to: compile)



On 2/16/07, Bertrand Renuart <[EMAIL PROTECTED]> wrote:
> Before saying Kyle is wrong you probably had better to test it...
> Give a try the following POM:
>
> 
>   4.0.0
>   test
>   test
>   war
>   1.0-SNAPSHOT
>
>   
> 
>   org.springframework
>   spring-webmvc
>   2.0.2
> 
> 
>   org.acegisecurity
>   acegi-security
>   1.0.3
> 
>   
> 
>
> Just do a 'mvn package' - of course Maven will complain because the WAR
> structure is incorrect but you will get the resolved libraries in the
> target/test-1.0-SNAPSHOT/WEB-INF/lib. Have a look and you will notice some
> 1.2.8 Spring libraries are included.
>
> The reason is quite straightforward if you know how Maven resolves
> transitive dependencies... and if you look at the Acegi parent pom.
>
> /Bertrand
>
>
>


-- 
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] Maven2 POM for Acegi-Security

2007-02-16 Thread Carlos Sanchez
On 2/16/07, Kyle Mallory <[EMAIL PROTECTED]> wrote:
> Carlos,
>
> > exclusions are for things you DON'T want. If you exclude a dependency,
> > that one and all its children will be excluded, so you don't need to
> > go one by one
> > if you want a different version you have to explicitly add that as a
> > dependency and maven will use YOUR version instead of the one that
> > acegi uses
>
> That it not what is happening.  If I specify two separate dependencies
> for Spring-2.0.2, and Acegi-Security-1.0.3, I get BOTH Spring 2.0.2 AND
> Spring 1.2.8, as well as all of the 1.2.8 submodules.


sorry, but i have to say here that you are wrong. That doesn't happen
as you say, if you post the output of mvn -X compile i'll point you
what you're doing wrong


>
> > Why should resin be optional in acegi-security-resin? if you want the
> > resin extension you absolutely need the resin classes
>
> I'm choosing the resin module specifically because my container is Resin
> (2.1.17, not 3.0.9).  This is like making the argument that Spring or
> Acegi should be dependent (and require) Java 1.4.2_09, and as a result,
> forcing a download of that JVM.  Sure, it requires Java, but (hopefully)
> it doesn't require a specific version (even though it is compatible with
> _02 or 1.5).  And, since it is an implied requirement/dependency that is
> met by the parent/container, it (maven and POM author) should trust that
> those dependencies will be there when the time is right.  Maybe
> "optional" isn't the right flag, but certainly, it shouldn't be
> downloading a new Resin for me.

acegi-resin needs resin, period. If Acegi is built against 3.0.9 it's
gonna use that version unless you define another one, but one has to
be in the classpath.

Other very different thing is if you are building a war for resin and
you don't want the resin jar inside the war, then you can set the
scope to provided, but it's gonna be downloaded anyway because you'll
need it for your main or test classes.


>
> > You need to depend in whatever spring-*-2.0.2 jar you need.
>
> And here lies the real issue... I don't need any other spring-
> submodules, except spring-mock.  I don't need them for Resin, not for
> Acegi, and not for Spring... So why am I getting them?

because Acegi needs them! if you remove them and everything works
lucky you but the 99.99% of the people using acegi need spring. We
won't be making you special case the default, you have to use
exclusions in your pom.

>
> And I don't need Spring-1.2.8, or any of its submodules for Acegi or
> anything else (the project compiles and runs fine without them), so why
> am I getting them?

same as previous

>
>
> It's not a big deal, and if this is the way it is, I'll go back to our
> old build-system, and just use Maven2 for specific packages that work
> the way I expect.  Perhaps this is better left to the Maven folks.

ok, but don't spread fud about maven because you didn't got it working.

i'm happy to solve any maven related problems you have with acegi but
your statements are pretty confusing.

>
>
> Kyle
>
>
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Home: http://acegisecurity.org
> Acegisecurity-developer mailing list
> Acegisecurity-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
>


-- 
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] Maven2 POM for Acegi-Security

2007-02-15 Thread Carlos Sanchez
On 2/15/07, Kyle Mallory <[EMAIL PROTECTED]> wrote:
>
>  Carlos,
>
>  Thanks for the reply, but I'm still confused, and concerned.
>
>  I tried using the exclusions, and it results in excluding all of that
> artifact, including the version that I DO want.  But then doesn't exclude
> the related dependencies, such as *-aop, *-support, *-beans, *-webmvc, etc.
> Surely, I shouldn't have to explicitly state all of the artifacts that I
> DON'T want included...

exclusions are for things you DON'T want. If you exclude a dependency,
that one and all its children will be excluded, so you don't need to
go one by one
if you want a different version you have to explicitly add that as a
dependency and maven will use YOUR version instead of the one that
acegi uses

>
>  
>   artifactId="acegi-security-resin" version="1.0.3">
>  
>  
>  
>   version="2.0.2"/>
>   version="2.0.2"/>
>  
>
>  I would bring this up with Maven, because I don't feel like this is the way
> Maven should be behaving, but of all the artifacts I'm including, I only
> have a problem with Acegi.  It seems as though, that either the Acegi or
> Spring POM itself is missing some "scope" or "optional" parameters
> (shouldn't resin be "optional" for acegi-security-resin?), or Maven is
> fundamentally flawed, because I don't actually need all of these
> dependencies for my project, particularly of a specific version.

The latest poms are correct as far as i can tell.

Why should resin be optional in acegi-security-resin? if you want the
resin extension you absolutely need the resin classes


>
>  In fact, in my previous situation (before specifying the exclusions), Maven
> was actually downloading both version 1.2.8 and 2.0.2, so simply including
> the additional dependencies didn't eliminate the 1.2.8 dependency (even
> though Maven claims it should).

yes it should, and it does. You are adding a dependency in
spring-1.2.8 while acegi uses all the spring submodules for fine
grained dependency management, so you are getting both because they
are indeed different dependencies. You need to depend in whatever
spring-*-2.0.2 jar you need.

>
>  Perhaps, I'm doing something wrong in my config, I just can't seem to find
> it.  (remember, I'm using Maven For Ant, not Maven directly).
>
>  Thanks again,
>
>  Kyle
>
>
>
>
>  Message: 2
> Date: Wed, 14 Feb 2007 17:07:16 -0800
> From: "Carlos Sanchez" <[EMAIL PROTECTED]>
> Subject: Re: [Acegisecurity-developer] Maven2 POM for Acegi-Security
> To: acegisecurity-developer@lists.sourceforge.net
> Message-ID:
> <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> You need to use exclusions
> http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html
>
> Acegi is built on top of that dependencies you got, everything is
> correct. You can change the versions by adding the dependencies to
> your pom.
>
>
>
>
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Home: http://acegisecurity.org
> Acegisecurity-developer mailing list
> Acegisecurity-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
>
>


-- 
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] Maven2 POM for Acegi-Security

2007-02-14 Thread Carlos Sanchez
You need to use exclusions
http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html

Acegi is built on top of that dependencies you got, everything is
correct. You can change the versions by adding the dependencies to
your pom.

On 2/14/07, Kyle Mallory <[EMAIL PROTECTED]> wrote:
> I'm just getting into Maven for all of our dependency control, and was
> updating my build scripts to use the Maven2 repository with the Maven
> Tasks for Ant to do my dependency checking.
>
> Imagine my surprise when my build scripts proceeded to download all of
> Spring-1.2.8 and Resin-3.0.9 after including
> "acegi-security-resin-1.0.3".
>
> I'm curious as to all of the POM dependencies for (now obsolete)
> versions of Spring, as well as presumptions about the version of resin
> I'm using (we use 2.1.17, and can't update).
>
> I'd really like to use Maven to handle this, but I can't justify an
> additional 15mb to my build for stuff that isn't even needed, and which
> could potentially break (or worse) our environment.
>
> I tried using the various "scope" options, but nothing worked.  Any
> ideas?  Or can someone help me understand why all of these dependencies
> are included in the POM (I though acegi wasn't supposed to be dependent
> on Spring, only enhanced by it).
>
>
> Thanks,
>
> Kyle Mallory
>
>
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Home: http://acegisecurity.org
> Acegisecurity-developer mailing list
> Acegisecurity-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
>


-- 
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] Reusing your LdapTestServer

2006-12-12 Thread Carlos Sanchez
Remember to add the notice.txt file as the ASL requires
https://svn.sourceforge.net/svnroot/acegisecurity/trunk/acegisecurity/notice.txt

On 12/12/06, Olivier Grisel <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I am working on the LDAP directory connector for the Nuxeo5 ECM platform and I
> found your LdapTestServer class really helpful to test my package so I 
> included
> a copy of it.
>
> Nuxeo5 is under LGPL but I left the ALv2 header with your copyright line
> unchanged for that file, with a pointer to the original file in your svn 
> repository:
>
> http://svn.nuxeo.org/trac/nuxeo/browser/ECMPlatform/NXLDAPDirectory/trunk/test/org/nuxeo/ecm/directory/ldap/LdapTestServer.java
>
> I hope this is alright with you. If not, please contact me.
>
> Best,
>
> --
> Olivier
>
>
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Home: http://acegisecurity.org
> Acegisecurity-developer mailing list
> Acegisecurity-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
>


-- 
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] Switching completely to Maven 2

2006-12-04 Thread Carlos Sanchez
do you mean build instructions?

On 12/4/06, Scott McCrory <[EMAIL PROTECTED]> wrote:
> Carlos Sanchez wrote:
> > Hi,
> >
> > I'd like to remove the Maven 1 build completely because now we are
> > half way. Samples for instance don't build with maven 2.
> >
> > AFAIK there's still some things that need work in Maven 2, like the
> > docbook generation, please raise any concerns, and things that still
> > don't work under Maven 2 so I can look into it.
> >
> Is there corresponding documentation that should change (both within the
> project and any posted on the web site)?
> Scott
>
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Home: http://acegisecurity.org
> Acegisecurity-developer mailing list
> Acegisecurity-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
>


-- 
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


[Acegisecurity-developer] Switching completely to Maven 2

2006-12-04 Thread Carlos Sanchez
Hi,

I'd like to remove the Maven 1 build completely because now we are
half way. Samples for instance don't build with maven 2.

AFAIK there's still some things that need work in Maven 2, like the
docbook generation, please raise any concerns, and things that still
don't work under Maven 2 so I can look into it.

-- 
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] Maven 2 Build, Site etc.

2006-10-30 Thread Carlos Sanchez
i know about this one but never tried it
http://mojo.codehaus.org/docbook-maven-plugin/introduction.html

On 10/30/06, Aleksei Valikov <[EMAIL PROTECTED]> wrote:
> Hi.
>
>  > What's the docbook plugin support like in Maven 2, Carlos?
> >
> > I can probably set something up to generate the docs separately if it's
> >  not available yet.
>
> This is what I use:
>
> http://www.agilejava.com/docbkx/
>
> Here's an example:
>
> 
>   com.agilejava.docbkx
>   docbkx-maven-plugin
>   1.69.1.7
> 
>
>  
>generate-html
>generate-pdf
>  
>  pre-site
>
>  
>   
>  
> org.docbook
> docbook-xml
> 4.4
> runtime
>  
>   
>   
> ${basedir}/src/reference
>  
> ${basedir}/target/site/reference
>   
>
>
>
> Bye.
> /lexi.
>
>
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> Home: http://acegisecurity.org
> Acegisecurity-developer mailing list
> Acegisecurity-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
>


-- 
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] Maven 2 Build, Site etc.

2006-10-30 Thread Carlos Sanchez
+1 to m2

On 10/30/06, Luke Taylor <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I've set up a new automated build using maven 2 which is temporarily
> generating a site at
>
> http://monkeymachine.eu/acegisecurity/
>
> until I have time to get it licked into shape properly (n.b. I'm not
> looking for any feedback on issues with site generation). I think the
> maven 2 build is likely to be a better bet for users who want to build
> acegi themselves and we should ditch the Maven 1 build files asap,
> leaving the 1.0.2 site in place for reference. What do you think?
>
>
> Luke.
>
>
> --
>  Luke Taylor.  Monkey Machine Ltd.
>  PGP Key ID: 0x57E9523Chttp://www.monkeymachine.ltd.uk
>
>
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> Home: http://acegisecurity.org
> Acegisecurity-developer mailing list
> Acegisecurity-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
>


-- 
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] Release 1.0.2 ready

2006-09-26 Thread Carlos Sanchez
I can't right now, I'm in Munich for the Oktoberfest and I can't
guarantee my accuracy ;)

I'll check for your commits by the weekend in case you already started it.

On 9/26/06, Ben Alex <[EMAIL PROTECTED]> wrote:
> Hi all
>
> 1.0.2 is now ready to release. Carlos, were you still able to take care
> of it? I can do so, but I won't have time for a few more days. Please
> feel free to remove the reference guide and README.TXT sections that
> mention JAR signing. I think we've agreed to drop it.
>
> Cheers
> Ben
>
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Home: http://acegisecurity.org
> Acegisecurity-developer mailing list
> Acegisecurity-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
>


-- 
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] Releasing 1.0.2

2006-09-17 Thread Carlos Sanchez
I suggest copying trunk to branches/1.0.x and roll it back from there

Work keeps going in trunk merging all bugfixes to 1.0.x branch as soon
as they are committed.
New features go to trunk only.

That way we can release new features in 1.1 while still porting
bugfixes to 1.0.x


On 9/17/06, Scott McCrory <[EMAIL PROTECTED]> wrote:
> Ben Alex wrote:
> > Hi Scott
> >
> > As we're now post-1.0.0, it's important that we follow the APR
> > versioning guidelines which state that patch releases (ie 1.0.x) should
> > be binary and source compatible with previous releases in that series.
> > In other words, people should be able to simply "drop in" the new JAR
> > and it work.
> >
> > Just looking at the revision history for
> > SiteminderAuthenticationProvider and its corresponding tests, they seem
> > to be new classes added 27 July 2006. As such, I imagine that users
> > employing the 1.0.1 SiteMinder integration will need to change their
> > configuration to use these new classes, and in doing so not benefit from
> > a "drop in" replacement.
> >
> > I don't think SiteMinder usage with Acegi Security is extremely
> > widespread, so we could relax the rules a little if there is good reason
> > to include the SEC-319 changes in 1.0.2. The conservative choice would
> > be to defer until 1.1.0, though (assuming I haven't misunderstood the
> > backward compatibility issue - if the existing integration continues to
> > work in 1.0.2, I have no problem at all with the refactoring being
> > included so people have the choice of using it if they wish).
> >
> >
>
> Hi Ben, that's my thinking as well.  When I saw that 1.1.0 was the only
> upcoming release, I assumed it would remain so and went ahead and
> committed changes.  I should have known better that interim bug fixes
> and small enhancements would come about before then.  SEC-319 does in
> fact require several changes to one's Acegi config file(s) to make work,
> so I'm OK with either rolling back to 1.0.0 Siteminder code for 1.0.2 or
> rolling forward and specifically highlighting the changes required for
> current Siteminder filter users.  My bet is that less than a half dozen
> people are using it, so I don't think it would be a big issue, but I'm
> equally at ease with putting the 1.0.0 Siteminder code at the project's
> trunk/head.  Please advise either way.  Thanks!
> Scott
>
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> Home: http://acegisecurity.org
> Acegisecurity-developer mailing list
> Acegisecurity-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
>


-- 
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] Releasing 1.0.2

2006-09-15 Thread Carlos Sanchez
It's not automated. As soon as we decide to go for m2 we can automate that.

On 9/15/06, Ben Alex <[EMAIL PROTECTED]> wrote:
> Carlos Sanchez wrote:
>
> > I've been deploying snapshot in the maven2 repo after changing stuff
> > http://acegisecurity.sourceforge.net/repository/snapshots/
>
> Is this an automated process that will continue? If so, we should change
> the downloads.html page to point to it and consider removing the
> snapshots directory. In this era of SVN, people have few proxy/firewall
> issues obtaining source directly from SVN over HTTPS. Also, with daily
> builds on offer, most casual users would prefer to get a compiled JAR
> rather than the SVN snapshot which still requires compilation.
>
> Cheers
> Ben
>
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> Home: http://acegisecurity.org
> Acegisecurity-developer mailing list
> Acegisecurity-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
>


-- 
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] Releasing 1.0.2

2006-09-15 Thread Carlos Sanchez
On 9/15/06, Ben Alex <[EMAIL PROTECTED]> wrote:
> marc antoine garrigue wrote:
>
> > May I commit the SEC-304 fix code before 1.0.2 release?
>
> This change is in a sensitive area of code. You can commit provided that
> it does not change the API or break backward compatibility for existing
> 1.0.x stream users or unit tests. I'll also take a look before release
> (please assign the task back to me when you've committed the changes).
>
> >>> I have just been through JIRA and looked at all bugs. I've moved all but
> >>> one bug to release 1.0.2 (the one being ignored because it's more a
> >>> low-impact known limitation than an actual bug). We need to get these
> >>> bugs quashed before 1.0.2 goes out.
>
> I have today closed all my 1.0.2 assigned issues, or they are awaiting
> feedback from the issue reporter.
>
> Could other developers please finalize their 1.0.2-related tasks (see
> http://opensource.atlassian.com/projects/spring/secure/BrowseProject.jspa).
>
> Luke, I noticed nightly snapshots aren't working
> (http://acegisecurity.sourceforge.net/nightly/) and the last site build
> was 29 August 2006. Would you please have a look, as it would be good to
> provide end users with snapshots that they can try out before 1.0.2 is
> finally released.

I've been deploying snapshot in the maven2 repo after changing stuff
http://acegisecurity.sourceforge.net/repository/snapshots/

>
> Cheers
> Ben
>
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> Home: http://acegisecurity.org
> Acegisecurity-developer mailing list
> Acegisecurity-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
>


-- 
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] maven2 dependencies

2006-09-11 Thread Carlos Sanchez
You don't need to exclude a lot of things that are already optional

On 9/11/06, Aleksei Valikov <[EMAIL PROTECTED]> wrote:
> Hi.
>
>
> >  i have a project that uses maven2 and i have some dependencies on agecy
> > security framework
> >
> > can anyone tell me what is the correct dependency to list in my pom.xml?
>
> Below are my dependencies.
> I generaly exclude everything sine my project already depends on the right
> artifacts and versions.
> I also don't use a couple of features like ds so I exclude them as well.
>
> 
> org.acegisecurity
> acegi-security
> 1.0.1
> 
> 
> org.springframework
> 
> spring-remoting
> 
> 
> org.springframework
> spring-jdbc
> 
> 
> org.springframework
> 
> spring-support
> 
> 
> org.springframework
> spring-mock
> 
> 
> cas
> casclient
> 
> 
> aspectj
> aspectjrt
> 
> 
> 
> org.apache.directory.server
> apacheds-core
> 
> 
> org.slf4j
> slf4j-log4j12
> 
> 
> 
>
> Bye.
> /lexi
>
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> Home: http://acegisecurity.org
> Acegisecurity-developer mailing list
> Acegisecurity-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
>


-- 
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] Releasing 1.0.2

2006-09-07 Thread Carlos Sanchez
On 9/7/06, Ben Alex <[EMAIL PROTECTED]> wrote:
> Carlos Sanchez wrote:
> > Will it be possible to make a 1.0.2 bug release in the next two weeks?
> > I can go thorugh all the release process, i just would like to know if
> > people agree in taking what it is curently in svn and tag it as 1.0.2.
>
> Hi Carlos
>
> You want to be release manager? I would certainly welcome this.

If I have time at the time of any release I certainly can help ;)

>
> I have just been through JIRA and looked at all bugs. I've moved all but
> one bug to release 1.0.2 (the one being ignored because it's more a
> low-impact known limitation than an actual bug). We need to get these
> bugs quashed before 1.0.2 goes out.
>
> Most bugs are relatively trivial to address, and I will hopefully find
> some time to do so over the next two weeks.

My only concern is that we can introduce new bugs in that time. I'd
rather fix the most important bugs in next week and have a week of
frozen code for test. But if there're no risky changes in those 1.0.2
issues that's ok. We can always get a 1.0.3 out.

>
> Other committers are welcome to address the bugs marked for 1.0.2. As I
> said, most are pretty simple and in many cases the issue itself provides
> the fix.
>
> Once the issues currently against 1.0.2 are sorted, I have no problems
> with a release.
>
> Cheers
> Ben
>
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> Home: http://acegisecurity.org
> Acegisecurity-developer mailing list
> Acegisecurity-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
>


-- 
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


[Acegisecurity-developer] Releasing 1.0.2

2006-09-07 Thread Carlos Sanchez
Will it be possible to make a 1.0.2 bug release in the next two weeks?
I can go thorugh all the release process, i just would like to know if
people agree in taking what it is curently in svn and tag it as 1.0.2.

-- 
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] About The Following Acegi Releases

2006-08-28 Thread Carlos Sanchez
On 8/28/06, Ben Alex <[EMAIL PROTECTED]> wrote:
> Ray Krueger wrote:
>
> > Ben were you suggesting having acegi-version.jar would be just binary,
> > and acegi-version-sources.jar would be binary with source?
>
> Yes, a traditional .class-only JAR, and a combined .class plus .java
> JAR. People like me would use the latter, whereas people concerned about
> the extra 500 Kb in their download can use the former.
>
> In my experience delivering training courses, I know how very useful it
> is to have automatic JavaDocs and source code available to people trying
> to learn a new API.
>
> It is really an issue of what do we value more:
>
> * Minimizing bandwidth. Bandwidth is cheap. Every decent library
> (Spring, Eclipse, Java) is now dozens of megabytes to download. I won't
> lose much sleep adding 500 Kb (or even 1 Mb!) to a JAR download.
>
> * Maximizing productivity. Unlike bandwidth, people are expensive.
> People are time poor. People are constantly dealing with API changes and
> new APIs. People don't remember every argument and interface contract
> they read. We can make peoples' lives easier by including source in the
> JARs. Besides, we're more likely to get bugs detected and fixes
> contributed back if more people see the source code.

That's why everybody should be using maven :D

>
> Google (GWT) have obviously concluded the latter is more important, and
> I'm not aware of anyone objecting to their inclusion of source code.
> They don't even offer a source-code-free JAR, yet we would continue to.
>
> Cheers
> Ben
>
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> Home: http://acegisecurity.org
> Acegisecurity-developer mailing list
> Acegisecurity-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
>


-- 
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] About The Following Acegi Releases

2006-08-28 Thread Carlos Sanchez
On 8/28/06, Ben Alex <[EMAIL PROTECTED]> wrote:
> Carlos Sanchez wrote:
>
> >> Ben, does eclipse automatically recognize the source code when it is
> >> distributed inside the compiled Jar?
> >
> > I don't think so and I don't really like that approach because if you
> > provide the sources, why don't provide the javadocs too?
>
> Eclipse DOES automatically recognise if there is source code in the JAR.
>  To see this in action, download GWT and then add its gwt-user.jar to
> your project. Then do a CTRL+ALT+T for GWT's "Panel".
>

good to know

> To answer Ray's earlier question, we don't need to advertise to users
> that this is available because their IDE (well, Eclipse anyway) will
> automatically just do it for them.
>
> I don't think there's any benefit providing JavaDocs in the JARs given
> the source code offers the JavaDocs anyhow and it would bloat the size.

I still don't like adding the source for the same reason. A jar is a
jar to execute, if you want to develop with sources here they are the
jars with the sources. If everybody adds the sources to their jars
you'd get huge applications.

If you want to do it in the distribution that is manually downloed go
for it, but please make jars for the maven repo without sources.

>
> Cheers
> Ben
>
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> Home: http://acegisecurity.org
> Acegisecurity-developer mailing list
> Acegisecurity-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
>


-- 
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] About The Following Acegi Releases

2006-08-28 Thread Carlos Sanchez
On 8/28/06, Ray Krueger <[EMAIL PROTECTED]> wrote:
> See, I knew Carlos had an answer for that :P
> That is really good to know.
>
> Unfortunately, that only helps people that use mvn for THEIR project.
> That doesn't really help with Ben's scenario. I didn't think of that
> when I brought it up.
>
> People that are importing acegi into their project and would like to
> see the source code.

then when you get acegi you need to put the source jars by hand in
your eclipse project.

> People need to understand that the the sources.jar is for reference,
> not compilation.
>
> Ben, does eclipse automatically recognize the source code when it is
> distributed inside the compiled Jar?

I don't think so and I don't really like that approach because if you
provide the sources, why don't provide the javadocs too?

>
> On 8/28/06, Carlos Sanchez <[EMAIL PROTECTED]> wrote:
> > just one line:
> >
> > mvn eclipse:eclipse -DdownloadSources=true
> >
> > and you'll see how sources and javadocs are downloaded and linked in
> > eclipse project
> >
> > maven makes:
> >
> > acegi-security-1.0.1.jar binaries
> > acegi-security-1.0.1-sources.jar sources
> > acegi-security-1.0.1-javadoc.jar javadocs
> >
> > I think it'll be good to keep this.
> >
> > And if you run the previous line in a multiproject it will link the
> > subprojects between themselves, eg. in the top level acegi dir
> >
> >
> > On 8/28/06, Ben Alex <[EMAIL PROTECTED]> wrote:
> > > Luke Taylor wrote:
> > > > On the branching front, it seems like we could be making more use of
> > > > branches with subversion.
> > >
> > > I am happy for these changes to be made. Whilst changing to Maven 2 we
> > > should also give consideration to how we distribute source code for IDE
> > > integration. At present we release a separate ZIP file containing the
> > > sources (which is not intended for compilation). I noticed that the
> > > Maven 2 approach appears to be a -sources.jar file in
> > > the standard "jar" repository.
> > >
> > > Whilst I see merit in the above approach, I am not particularly fond of
> > > it because I still have to undertake the manual step of configuring
> > > Eclipse to look at a particular source JAR or ZIP. In addition, as new
> > > releases are made, it is not uncommon to forget to change the old source
> > > code attachment location. So your source code appears to be for say
> > > release 2.0 but it is really for 1.2.7. I am also unaware if Maven 2 can
> > > be made to automatically understand it needs to download source
> > > artifacts but not include them as classpath resources.
> > >
> > > Those of you who have been using Google Web Toolkit (GWT) would know
> > > Google bundles both source code and compiled class files into the same
> > > JAR. This saves the manual step and I have found it extremely useful. I
> > > just point to the new release JAR and my JavaDocs and source code
> > > attachment is correct. The only downside is a bigger JAR, which in my
> > > view is a low price to pay for enhanced productivity and troubleshooting
> > > reliability. To put the "bigger JAR" issue into context:
> > >
> > > 63 2006-06-17 03:50 acegi-security-1.0.1.jar
> > > 529413 2006-06-23 05:34 acegi-security-1.0.1-sources.jar
> > >
> > > Based on release 1.0.1, we'd go from a 444Kb release to a 973Kb combined
> > > JAR. I don't think this is a serious issue from a download or disk space
> > > perspective. Especially concerned people can always re-jar for their
> > > production deployment.
> > >
> > > How would people feel about future Acegi Security release JARs including
> > > source code, as per GWT? I guess we could continue to have two releases,
> > > but our acegi-security--sources.jar would contain *both*
> > > classes and source code.
> > >
> > > It would be good to discuss this and get some feedback from the community.
> > >
> > > Cheers
> > > Ben
> > >
> > > -
> > > Using Tomcat but need to do more? Need to support web services, security?
> > > Get stuff done quickly with pre-integrated technology to make your job 
> > > easier
> > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> > > http://sel.as-us.falkag.net/sel?cmd=lnk&a

Re: [Acegisecurity-developer] About The Following Acegi Releases

2006-08-28 Thread Carlos Sanchez
just one line:

mvn eclipse:eclipse -DdownloadSources=true

and you'll see how sources and javadocs are downloaded and linked in
eclipse project

maven makes:

acegi-security-1.0.1.jar binaries
acegi-security-1.0.1-sources.jar sources
acegi-security-1.0.1-javadoc.jar javadocs

I think it'll be good to keep this.

And if you run the previous line in a multiproject it will link the
subprojects between themselves, eg. in the top level acegi dir


On 8/28/06, Ben Alex <[EMAIL PROTECTED]> wrote:
> Luke Taylor wrote:
> > On the branching front, it seems like we could be making more use of
> > branches with subversion.
>
> I am happy for these changes to be made. Whilst changing to Maven 2 we
> should also give consideration to how we distribute source code for IDE
> integration. At present we release a separate ZIP file containing the
> sources (which is not intended for compilation). I noticed that the
> Maven 2 approach appears to be a -sources.jar file in
> the standard "jar" repository.
>
> Whilst I see merit in the above approach, I am not particularly fond of
> it because I still have to undertake the manual step of configuring
> Eclipse to look at a particular source JAR or ZIP. In addition, as new
> releases are made, it is not uncommon to forget to change the old source
> code attachment location. So your source code appears to be for say
> release 2.0 but it is really for 1.2.7. I am also unaware if Maven 2 can
> be made to automatically understand it needs to download source
> artifacts but not include them as classpath resources.
>
> Those of you who have been using Google Web Toolkit (GWT) would know
> Google bundles both source code and compiled class files into the same
> JAR. This saves the manual step and I have found it extremely useful. I
> just point to the new release JAR and my JavaDocs and source code
> attachment is correct. The only downside is a bigger JAR, which in my
> view is a low price to pay for enhanced productivity and troubleshooting
> reliability. To put the "bigger JAR" issue into context:
>
> 63 2006-06-17 03:50 acegi-security-1.0.1.jar
> 529413 2006-06-23 05:34 acegi-security-1.0.1-sources.jar
>
> Based on release 1.0.1, we'd go from a 444Kb release to a 973Kb combined
> JAR. I don't think this is a serious issue from a download or disk space
> perspective. Especially concerned people can always re-jar for their
> production deployment.
>
> How would people feel about future Acegi Security release JARs including
> source code, as per GWT? I guess we could continue to have two releases,
> but our acegi-security--sources.jar would contain *both*
> classes and source code.
>
> It would be good to discuss this and get some feedback from the community.
>
> Cheers
> Ben
>
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> Home: http://acegisecurity.org
> Acegisecurity-developer mailing list
> Acegisecurity-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
>


-- 
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] About The Following Acegi Releases

2006-08-25 Thread Carlos Sanchez
we've been using this approach in maven. All development goes into
trunk and things that we want in .x releases are merged into a branch.

On 8/25/06, Luke Taylor <[EMAIL PROTECTED]> wrote:
> Hi Ben,
>
> As I mentioned on skype, I'd be for branching the code in the near
> future, so we can start working on some of the more major changes that
> might be in 1.1 but still allowing for bugfixes and minor additions to
> the 1.0.x releases.
>
> What does everyone think?
>
> Luke.
>
>
>
> Ben Alex wrote:
> > Luo Shifei wrote:
> >> Dear All,
> >>
> >>When about Acegi 1.0.2 will be released? And When
> >> about Acegi 1.1 will be released? The New Domain
> >> Support will be included in Acegi 1.1?
> >
> > Both will be released over the next three months.
> > I'd estimate 1.0.2 in about a month, and 1.1.0 in late November, but
> > make no promises.
> >
> > There won't be any domain support added to the project, and indeed the
> > current domain code in SVN is likely to be removed. I am currently
> > working on improvements to the domain object coding approaches, and will
> > be presenting work (and code) on this at The Spring Experience in December.
> >
> > Cheers
> > Ben
> >
> > -
> > Using Tomcat but need to do more? Need to support web services, security?
> > Get stuff done quickly with pre-integrated technology to make your job 
> > easier
> > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > ___
> > Home: http://acegisecurity.org
> > Acegisecurity-developer mailing list
> > Acegisecurity-developer@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
> >
>
> --
>  Luke Taylor.  Monkey Machine Ltd.
>  PGP Key ID: 0x57E9523Chttp://www.monkeymachine.ltd.uk
>
>
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> Home: http://acegisecurity.org
> Acegisecurity-developer mailing list
> Acegisecurity-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
>


-- 
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] Bean initialization, constructor injection etc.

2006-07-28 Thread Carlos Sanchez
anyone?

On 7/20/06, Carlos Sanchez <[EMAIL PROTECTED]> wrote:
> I'm just wondering what people think about protected empty constructor
> so I can extend that classes instead of write wrappers.
>
> On 7/20/06, Carlos Sanchez <[EMAIL PROTECTED]> wrote:
> > I have removed the default constructors added.
> >
> > On 7/17/06, Ben Alex <[EMAIL PROTECTED]> wrote:
> > > Luke Taylor wrote:
> > > > I agree that reusability is important but I'm not convinced that these
> > > > changes are justified on this basis, or that is just about balancing
> > > > reusability and ease of use. The use of constructor arguments is about
> > > > guaranteeing that objects can only be created with a specific state (the
> > > > dependencies required by their design) and providing a single point for
> > > > checking that state (the constructor). This is a design issue based on
> > > > the requirements as determined by the developer at the time they write
> > > > the class. As time goes on and different requirements become apparent
> > > > from forum posts and so on, compromises are made, access is provided to
> > > > state that was previously immutable or unreadable etc etc. The most
> > > > reusable code may provide no-arg constructors and getters and setters
> > > > for everything, but it is also the least stable.
> > > >
> > > +1
> > >
> > > > To summarise, there may be situations where we *do* want to open things
> > > > up in this way for some classes, to provide extra extensibility, but I
> > > > don't think accommodating the inadequacies of plexus is sufficient
> > > > justification for a cross-the-board change. Could it not be argued that
> > > > the changes should be made to plexus rather than Acegi?
> > > >
> > > Acegi Security should not be changed to accommodate limitations in IoC
> > > containers. If Plexus cannot be modified to support the required
> > > behaviour, I would encourage the addition of wrapper objects within a
> > > third party project (whatever is needing to use Acegi Security with
> > > Plexus) to achieve the required integration. I would hope that
> > > ultimately the wrapper objects could be removed, when Plexus supports
> > > constructor injection.
> > >
> > > The other issue is that not using Spring for IoC will become a more
> > > pronounced issue as we move towards 1.1.0, because the namespaces
> > > feature in Spring 2.0 will be leveraged. As part of this most (if not
> > > all) classes will be refactored to use [full] constructor injection and
> > > end users will be encouraged to wire things up with Acegi Security XML
> > > rather than  XML. This is partly to make things easier on users
> > > (XML verbosity and auto-completion), partly to give XML validation, but
> > > also to provide a level of indirection between the OO implementation
> > > approach and user configuration approach (thus giving us more
> > > flexibility to refactor the former without breaking the latter).
> > > Therefore, perhaps the easiest thing to do would be look at using Spring
> > > as an internal configuration subsystem for Acegi Security and simply
> > > wrapping the Spring IoC container inside a bean that is in turn
> > > registered with Plexus or any other IoC container for that matter.
> > >
> > > On another issue, could ask was there a technical reason Plexus was
> > > selected instead of Spring? Perhaps you could use namespaces with Spring
> > > in your project, as they do give you a lot of genuine benefits aside
> > > from simpler Acegi Security integration (as summarized above).
> >
> > The application already uses it. There's no poing on having two IoC
> > containers, but due to Acegi hardcoded dependencies in Spring we'll
> > still have to bundle the spring jars. It'd make lot more sense to have
> > an acegi-spring module and remove all of the non core spring
> > dependencies (exceptions and so) from acegi-core
> >
> > >
> > > Best regards
> > > Ben
> > >
> > >
> > > -
> > > Using Tomcat but need to do more? Need to support web services, security?
> > > Get stuff done quickly with pre-integrated technology to make your job 
> > > easier
> > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> > > http://sel.as-us.

Re: [Acegisecurity-developer] Bean initialization, constructor injection etc.

2006-07-20 Thread Carlos Sanchez
I'm just wondering what people think about protected empty constructor
so I can extend that classes instead of write wrappers.

On 7/20/06, Carlos Sanchez <[EMAIL PROTECTED]> wrote:
> I have removed the default constructors added.
>
> On 7/17/06, Ben Alex <[EMAIL PROTECTED]> wrote:
> > Luke Taylor wrote:
> > > I agree that reusability is important but I'm not convinced that these
> > > changes are justified on this basis, or that is just about balancing
> > > reusability and ease of use. The use of constructor arguments is about
> > > guaranteeing that objects can only be created with a specific state (the
> > > dependencies required by their design) and providing a single point for
> > > checking that state (the constructor). This is a design issue based on
> > > the requirements as determined by the developer at the time they write
> > > the class. As time goes on and different requirements become apparent
> > > from forum posts and so on, compromises are made, access is provided to
> > > state that was previously immutable or unreadable etc etc. The most
> > > reusable code may provide no-arg constructors and getters and setters
> > > for everything, but it is also the least stable.
> > >
> > +1
> >
> > > To summarise, there may be situations where we *do* want to open things
> > > up in this way for some classes, to provide extra extensibility, but I
> > > don't think accommodating the inadequacies of plexus is sufficient
> > > justification for a cross-the-board change. Could it not be argued that
> > > the changes should be made to plexus rather than Acegi?
> > >
> > Acegi Security should not be changed to accommodate limitations in IoC
> > containers. If Plexus cannot be modified to support the required
> > behaviour, I would encourage the addition of wrapper objects within a
> > third party project (whatever is needing to use Acegi Security with
> > Plexus) to achieve the required integration. I would hope that
> > ultimately the wrapper objects could be removed, when Plexus supports
> > constructor injection.
> >
> > The other issue is that not using Spring for IoC will become a more
> > pronounced issue as we move towards 1.1.0, because the namespaces
> > feature in Spring 2.0 will be leveraged. As part of this most (if not
> > all) classes will be refactored to use [full] constructor injection and
> > end users will be encouraged to wire things up with Acegi Security XML
> > rather than  XML. This is partly to make things easier on users
> > (XML verbosity and auto-completion), partly to give XML validation, but
> > also to provide a level of indirection between the OO implementation
> > approach and user configuration approach (thus giving us more
> > flexibility to refactor the former without breaking the latter).
> > Therefore, perhaps the easiest thing to do would be look at using Spring
> > as an internal configuration subsystem for Acegi Security and simply
> > wrapping the Spring IoC container inside a bean that is in turn
> > registered with Plexus or any other IoC container for that matter.
> >
> > On another issue, could ask was there a technical reason Plexus was
> > selected instead of Spring? Perhaps you could use namespaces with Spring
> > in your project, as they do give you a lot of genuine benefits aside
> > from simpler Acegi Security integration (as summarized above).
>
> The application already uses it. There's no poing on having two IoC
> containers, but due to Acegi hardcoded dependencies in Spring we'll
> still have to bundle the spring jars. It'd make lot more sense to have
> an acegi-spring module and remove all of the non core spring
> dependencies (exceptions and so) from acegi-core
>
> >
> > Best regards
> > Ben
> >
> >
> > -
> > Using Tomcat but need to do more? Need to support web services, security?
> > Get stuff done quickly with pre-integrated technology to make your job 
> > easier
> > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > ___
> > Home: http://acegisecurity.org
> > Acegisecurity-developer mailing list
> > Acegisecurity-developer@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
> >
>
>
> --
> I could give you my word as a Spaniard.
> No goo

Re: [Acegisecurity-developer] Bean initialization, constructor injection etc.

2006-07-20 Thread Carlos Sanchez
I have removed the default constructors added.

On 7/17/06, Ben Alex <[EMAIL PROTECTED]> wrote:
> Luke Taylor wrote:
> > I agree that reusability is important but I'm not convinced that these
> > changes are justified on this basis, or that is just about balancing
> > reusability and ease of use. The use of constructor arguments is about
> > guaranteeing that objects can only be created with a specific state (the
> > dependencies required by their design) and providing a single point for
> > checking that state (the constructor). This is a design issue based on
> > the requirements as determined by the developer at the time they write
> > the class. As time goes on and different requirements become apparent
> > from forum posts and so on, compromises are made, access is provided to
> > state that was previously immutable or unreadable etc etc. The most
> > reusable code may provide no-arg constructors and getters and setters
> > for everything, but it is also the least stable.
> >
> +1
>
> > To summarise, there may be situations where we *do* want to open things
> > up in this way for some classes, to provide extra extensibility, but I
> > don't think accommodating the inadequacies of plexus is sufficient
> > justification for a cross-the-board change. Could it not be argued that
> > the changes should be made to plexus rather than Acegi?
> >
> Acegi Security should not be changed to accommodate limitations in IoC
> containers. If Plexus cannot be modified to support the required
> behaviour, I would encourage the addition of wrapper objects within a
> third party project (whatever is needing to use Acegi Security with
> Plexus) to achieve the required integration. I would hope that
> ultimately the wrapper objects could be removed, when Plexus supports
> constructor injection.
>
> The other issue is that not using Spring for IoC will become a more
> pronounced issue as we move towards 1.1.0, because the namespaces
> feature in Spring 2.0 will be leveraged. As part of this most (if not
> all) classes will be refactored to use [full] constructor injection and
> end users will be encouraged to wire things up with Acegi Security XML
> rather than  XML. This is partly to make things easier on users
> (XML verbosity and auto-completion), partly to give XML validation, but
> also to provide a level of indirection between the OO implementation
> approach and user configuration approach (thus giving us more
> flexibility to refactor the former without breaking the latter).
> Therefore, perhaps the easiest thing to do would be look at using Spring
> as an internal configuration subsystem for Acegi Security and simply
> wrapping the Spring IoC container inside a bean that is in turn
> registered with Plexus or any other IoC container for that matter.
>
> On another issue, could ask was there a technical reason Plexus was
> selected instead of Spring? Perhaps you could use namespaces with Spring
> in your project, as they do give you a lot of genuine benefits aside
> from simpler Acegi Security integration (as summarized above).

The application already uses it. There's no poing on having two IoC
containers, but due to Acegi hardcoded dependencies in Spring we'll
still have to bundle the spring jars. It'd make lot more sense to have
an acegi-spring module and remove all of the non core spring
dependencies (exceptions and so) from acegi-core

>
> Best regards
> Ben
>
>
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> Home: http://acegisecurity.org
> Acegisecurity-developer mailing list
> Acegisecurity-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
>


-- 
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


[Acegisecurity-developer] FilterInvocationDefinitionMap and FilterInvocationDefinitionSource

2006-07-06 Thread Carlos Sanchez
hi,

I'm pretty confused with these two interfaces.

Seems that the two implementations
PathBasedFilterInvocationDefinitionMap and
RegExpBasedFilterInvocationDefinitionMap implement both.

FilterInvocationDefinitionSourceEditor instead of returning
FilterInvocationDefinitionSource it  returns
FilterInvocationDefinitionMap, which right now is not a problem as the
two mentioned implementations implement it too, but that I think
semantically is wrong.

I've created now a new interface FilterInvocationDefinition that joins
both of them and solves a bit the problem keeping backwards
compatability. Let me know if you find something wrong.


-- 
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


[Acegisecurity-developer] [ANN] Acegi Security 1.0.1 released

2006-06-25 Thread Carlos Sanchez
Dear Spring Community

I'd like to announce the release of Acegi Security 1.0.1

This is mainly a bug fix release which addresses the problem of
compatibility with Spring 1.2.x among other things.

Please visit
http://opensource.atlassian.com/projects/spring/secure/ReleaseNote.jspa?version=10450&styleName=Html&projectId=10040
for a detailed changelog. This release is a drop in replacement, so no
upgrade steps are required.

Important: due to time constraints note that this release does not
provide signed jars, instead PGP signatures have been provided.

It won't be available through the normal Sourceforge download page
(for now), the preferred method is through the Maven repository which
contains the jars, javadocs and sources, with corresponding
signatures.
The main Acegi repository is at
http://acegisecurity.sourceforge.net/repository/releases/ although is
mirrored to the central ibiblio repository, so you don't need any
extra configuration in your project.

You can still get the zip files from

http://acegisecurity.sourceforge.net/acegi-security-1.0.1.zip
http://acegisecurity.sourceforge.net/acegi-security-1.0.1-src.zip

The project's web site at http://acegisecurity.org provides additional
information on Acegi Security's features, access to online
documentation, and links to download the latest release.

Regards

Carlos Sanchez

-- 
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] 1.0.1 patch release?

2006-06-10 Thread Carlos Sanchez
I could roll out a release. The only problem I can think about is that
the jars won't be signed. Ben used do do this.

On 6/10/06, Matt Raible <[EMAIL PROTECTED]> wrote:
> On 6/9/06, Luke Taylor <[EMAIL PROTECTED]> wrote:
> >
> > I'm not sure a release will be possible until Ben gets back from Europe.
> >
> > There are always the nightly builds until then, if people need a quick fix.
>
> Isn't it possible for someone else to roll a release?  It's probably a
> good time to contact Ben to see how he does it and designate another
> release manager in his absense.  There's nothing worse than reaching
> the illustrious 1.0 and then have it be broken for a month. ;-)
>
> Matt
>
> >
> >
> > Ray Krueger wrote:
> > > OK so, 1.0.0 did not release well. The LDAP/Spring compatability
> > > issue, and the NotSerializableException issue both warrant getting a
> > > patch out asap I would think.
> > >
> > > Unfortunately there hasn't been any talk about that. What's the plan here?
> > >
> > >
> >
> >
> >
> > --
> >   Luke Taylor.  Monkey Machine Ltd.
> >   PGP Key ID: 0x57E9523Chttp://www.monkeymachine.ltd.uk
> >
> >
> >
> > ___
> > Home: http://acegisecurity.org
> > Acegisecurity-developer mailing list
> > Acegisecurity-developer@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
> >
>
>
> ___
> Home: http://acegisecurity.org
> Acegisecurity-developer mailing list
> Acegisecurity-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
>


-- 
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride


___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


[Acegisecurity-developer] Maven 2 repository

2006-05-31 Thread Carlos Sanchez
Remeber that there's a Maven 2 repository now at
http://acegisecurity.sourceforge.net/repository/releases/

I just deployed the 1.0.0, with sources and javadocs. I changed maven
deployed jars for the ones in the distribution because they are signed
by Ben.

It'll be synced to the main maven repository at ibiblio on demand
(that means ping me to sync it).

-- 
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride


___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] ldap blowing up after upgrade to 1.0 final

2006-05-31 Thread Carlos Sanchez
In theory Spring is guaranteeing that 2.0 is backwards compatible, so
if it works on 1.2.x it'll work on 2.0.

In practice we could create a maven 2 profile setting the 2.0
dependencies and setting up continuous integration to build the
default (1.2.x) and the profile too (2.x)

On 5/31/06, Scott McCrory <[EMAIL PROTECTED]> wrote:
> Carlos Sanchez wrote:
> >> Sorry it wasn't spotted earlier. Perhaps we should change the Spring
> >> maven dependency back to 1.2.8 to detect this kind of thing?
> >>
> >
> > That's what i suggested some time ago. In fact for now only 1.2.7 is in 
> > ibiblio.
> >
> >
>
> Wouldn't that subsequently mean that Spring 2.x could surprise us?  In
> more general terms, how do we maximize compatibility testing with all
> the major versions of Spring, the JDKs, app servers, etc.?
>
> Scott
>
>
> ___
> Home: http://acegisecurity.org
> Acegisecurity-developer mailing list
> Acegisecurity-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
>


-- 
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride


___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] ldap blowing up after upgrade to 1.0 final

2006-05-31 Thread Carlos Sanchez
> Sorry it wasn't spotted earlier. Perhaps we should change the Spring
> maven dependency back to 1.2.8 to detect this kind of thing?

That's what i suggested some time ago. In fact for now only 1.2.7 is in ibiblio.


___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] Acegi Security 1.0.0 is released!

2006-05-31 Thread Carlos Sanchez
Usually it's bumped to the main next release that will have new
features. Not too important though.

On 5/31/06, Ray Krueger <[EMAIL PROTECTED]> wrote:
> That should read: I saw that, should it have been 1.0.1 though?
> mashed the send button mid-correction hehe.
>
> On 5/31/06, Ray Krueger <[EMAIL PROTECTED]> wrote:
> > I saw that, my should it have been 1.0.1 though?
> >
> > On 5/30/06, Carlos Sanchez <[EMAIL PROTECTED]> wrote:
> > > I took the freedom also to tag the source tree and bump the pom
> > > versions to 1.1.0-SNAPSHOT
> > >
> > > On 5/30/06, Carlos Sanchez <[EMAIL PROTECTED]> wrote:
> > > > I'll take care of that
> > > >
> > > > On 5/30/06, Ray Krueger <[EMAIL PROTECTED]> wrote:
> > > > > Can we get the maven repos updated?
> > > > > Right now mvn compile fails because
> > > > > "org.acegisecurity:acegi-security-parent:pom:1.0.0" cannot be
> > > > > downloaded.
> > > > >
> > > > > On 5/30/06, Mark St.Godard <[EMAIL PROTECTED]> wrote:
> > > > > > Hi Ben,
> > > > > >
> > > > > > The configuration was referencing "net.sf"... some of the config was
> > > > > > moved over to "org." however not all. Including the userdetails
> > > > > > refactoring. Plus some of the JSPs were also referencing "net.sf" in
> > > > > > page imports.
> > > > > >
> > > > > > I am running through and testing the app right now, currently 
> > > > > > failing
> > > > > > on a call to getPrincipal from User object... I will fix it up, 
> > > > > > retest
> > > > > > it, run the unit testing and check in the changes.
> > > > > >
> > > > > > Re: the tutorial app... yeah I noticed that .. very nice... much 
> > > > > > more
> > > > > > concise config.
> > > > > >
> > > > > > I am usng Spring 2.0 and I am really digging the schema-based 
> > > > > > config...
> > > > > >
> > > > > > I am also using MethodSecurityInterceptors using the new Aspect 
> > > > > > pointcuts.
> > > > > > Not sure if we should also include examples of usage using Spring 
> > > > > > 2.0?
> > > > > > I assume we need to wait for it to go final.
> > > > > >
> > > > > > Uri is on it...Great, I'll keep my eyes posted for   
> > > > > > :)
> > > > > >
> > > > > > Cheers
> > > > > > Mark
> > > > > >
> > > > > > On 5/30/06, Ben Alex <[EMAIL PROTECTED]> wrote:
> > > > > > > Mark St.Godard wrote:
> > > > > > > > Just a note, Ben I will be updating the contacts-tiger sample 
> > > > > > > > project,
> > > > > > > > I noticed it was not converted over.  I will create an JIRA 
> > > > > > > > entry for
> > > > > > > > myself and update this tomorow.
> > > > > > > >
> > > > > > > I just checked and it looked to me like it was built for 1.0.0. 
> > > > > > > What
> > > > > > > specifically wasn't converted?
> > > > > > >
> > > > > > > > Also with Spring 2.0, I noticed that a jira entry was created 
> > > > > > > > for
> > > > > > > > namespace handlers, XSD support, etc..
> > > > > > > >
> > > > > > > http://opensource.atlassian.com/projects/spring/browse/SEC-271 
> > > > > > > for those
> > > > > > > interested.
> > > > > > >
> > > > > > > > If you have someone to do this fine... otherwise I can take it 
> > > > > > > > up...
> > > > > > > > its something that I would really like to get in...  and reduce 
> > > > > > > > some
> > > > > > > > of the XML verbosity.
> > > > > > > >
> > > > > > > >
> > > > > > > Uri Boness has volunteered, but I'm unsure whether work has 
> > > > > > > commenced. I
> > > > > > > am happy for anyone t

Re: [Acegisecurity-developer] ldap blowing up after upgrade to 1.0 final

2006-05-31 Thread Carlos Sanchez
I'm afraid it's true. It no longer compiles under Spring 1.2.7.
Something to log in JIRA for a 1.0.1.

On 5/31/06, Ben Munat <[EMAIL PROTECTED]> wrote:
> Hi,
>
> We upgraded to the 1.0 final jar the other day and things worked fine on our 
> dev build,
> which uses an InMemoryDao implementation. However, last night we tried to 
> push out a build
> to the client and the context will no longer start due to a NoClassDefFound 
> in the Acegi
> code. (FilterBasedLdapUserSearch)
>
> I googled for the class -- 
> org/springframework/dao/EmptyResultDataAccessException -- and
> it's only in Spring 2.0! I hope 1.0 final hasn't presumed that people will 
> switch to
> Spring 2.0. Is there something I need to change ldap-wise when moving from 
> 1.0 rc2 to 1.0
> final?
>
> Stacktrace below. Any help greatly appreciated. Heh, this was supposed to be 
> the real
> production deploy with the client hitting the system hard tomorrow morning 
> (and needing to
> do some admin setup today).
>
> thanks,
>
> Ben
>
> 2006-05-31 00:34:15,900 INFO
> org.springframework.web.context.ContextLoader  - Root
> WebApplicationContext: initialization started
>   2006-05-31 00:34:15,902 INFO
> org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/totaltime]
>   - Loading Spring root WebApplicationContext
>   2006-05-31 00:34:15,952 INFO  org.springframework.core.CollectionFactory
> - JDK 1.4+ collections available
>   2006-05-31 00:34:15,962 INFO  org.springframework.core.CollectionFactory
> - Commons Collections 3.x available
>   2006-05-31 00:34:16,119 ERROR
> org.springframework.web.context.ContextLoader  - Context initialization
> failed
>   org.springframework.beans.factory.BeanDefinitionStoreException: Error
> registering bean with name 'userSearch' defined in ServletContext
> resource
> [/WEB-INF/config/acegi/fragments/ldapAuthenticationProviderCommon.xml]:
> Class that bean class
> [org.acegisecurity.ldap.search.FilterBasedLdapUserSearch] depends on not
> found; nested exception is java.lang.NoClassDefFoundError:
> org/springframework/dao/EmptyResultDataAccessException
> java.lang.NoClassDefFoundError:
> org/springframework/dao/EmptyResultDataAccessException
>  at java.lang.Class.forName0(Native Method)
>  at java.lang.Class.forName(Class.java:242)
>  at org.springframework.util.ClassUtils.forName(ClassUtils.java:109)
>  at
> org.springframework.beans.factory.support.BeanDefinitionReaderUtils.createBeanDefinition(BeanDefinitionReaderUtils.java:65)
>  at
> org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.parseBeanDefinitionElement(DefaultXmlBeanDefinitionParser.java:466)
>  at
> org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.parseBeanDefinitionElement(DefaultXmlBeanDefinitionParser.java:432)
>  at
> org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.parseBeanDefinitions(DefaultXmlBeanDefinitionParser.java:347)
>  at
> org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.registerBeanDefinitions(DefaultXmlBeanDefinitionParser.java:197)
>  at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:295)
>  at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:223)
>  at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:173)
>  at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:148)
>  at
> org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.importBeanDefinitionResource(DefaultXmlBeanDefinitionParser.java:374)
>  at
> org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.parseBeanDefinitions(DefaultXmlBeanDefinitionParser.java:338)
>  at
> org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.registerBeanDefinitions(DefaultXmlBeanDefinitionParser.java:197)
>  at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:295)
>  at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:223)
>  at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:173)
>  at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:148)
>  at
> org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.importBeanDefinitionResource(DefaultXmlBeanDefinitionParser.java:374)
>  at
> org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.parseBeanDefinitions(DefaultXmlBeanDefinitionParser.java:338)
>  at
> org.springframework.beans.factory.xml.DefaultXmlB

Re: [Acegisecurity-developer] Acegi Security 1.0.0 is released!

2006-05-31 Thread Carlos Sanchez
I took the freedom also to tag the source tree and bump the pom
versions to 1.1.0-SNAPSHOT

On 5/30/06, Carlos Sanchez <[EMAIL PROTECTED]> wrote:
> I'll take care of that
>
> On 5/30/06, Ray Krueger <[EMAIL PROTECTED]> wrote:
> > Can we get the maven repos updated?
> > Right now mvn compile fails because
> > "org.acegisecurity:acegi-security-parent:pom:1.0.0" cannot be
> > downloaded.
> >
> > On 5/30/06, Mark St.Godard <[EMAIL PROTECTED]> wrote:
> > > Hi Ben,
> > >
> > > The configuration was referencing "net.sf"... some of the config was
> > > moved over to "org." however not all. Including the userdetails
> > > refactoring. Plus some of the JSPs were also referencing "net.sf" in
> > > page imports.
> > >
> > > I am running through and testing the app right now, currently failing
> > > on a call to getPrincipal from User object... I will fix it up, retest
> > > it, run the unit testing and check in the changes.
> > >
> > > Re: the tutorial app... yeah I noticed that .. very nice... much more
> > > concise config.
> > >
> > > I am usng Spring 2.0 and I am really digging the schema-based config...
> > >
> > > I am also using MethodSecurityInterceptors using the new Aspect pointcuts.
> > > Not sure if we should also include examples of usage using Spring 2.0?
> > > I assume we need to wait for it to go final.
> > >
> > > Uri is on it...Great, I'll keep my eyes posted for   :)
> > >
> > > Cheers
> > > Mark
> > >
> > > On 5/30/06, Ben Alex <[EMAIL PROTECTED]> wrote:
> > > > Mark St.Godard wrote:
> > > > > Just a note, Ben I will be updating the contacts-tiger sample project,
> > > > > I noticed it was not converted over.  I will create an JIRA entry for
> > > > > myself and update this tomorow.
> > > > >
> > > > I just checked and it looked to me like it was built for 1.0.0. What
> > > > specifically wasn't converted?
> > > >
> > > > > Also with Spring 2.0, I noticed that a jira entry was created for
> > > > > namespace handlers, XSD support, etc..
> > > > >
> > > > http://opensource.atlassian.com/projects/spring/browse/SEC-271 for those
> > > > interested.
> > > >
> > > > > If you have someone to do this fine... otherwise I can take it up...
> > > > > its something that I would really like to get in...  and reduce some
> > > > > of the XML verbosity.
> > > > >
> > > > >
> > > > Uri Boness has volunteered, but I'm unsure whether work has commenced. I
> > > > am happy for anyone to take a look at it who has sufficient time.
> > > >
> > > > As for verbose XML, I'd encourage people to take a look at the new
> > > > tutorial sample, which is just 148 lines of XML. This includes comments,
> > > > whitespace and full support for form authentication, remember-me,
> > > > anonymous and web request authorization. I think that's a pretty good
> > > > base given the features, but nevertheless it will be even less with
> > > > SEC-271 improvements.
> > > >
> > > > Cheers
> > > > Ben
> > > >
> > > >
> > > > ___
> > > > Home: http://acegisecurity.org
> > > > Acegisecurity-developer mailing list
> > > > Acegisecurity-developer@lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
> > > >
> > >
> > >
> > > ___
> > > Home: http://acegisecurity.org
> > > Acegisecurity-developer mailing list
> > > Acegisecurity-developer@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
> > >
> >
> >
> > ___
> > Home: http://acegisecurity.org
> > Acegisecurity-developer mailing list
> > Acegisecurity-developer@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
> >
>
>
> --
> I could give you my word as a Spaniard.
> No good. I've known too many Spaniards.
>  -- The Princess Bride
>


-- 
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride


___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] Acegi Security 1.0.0 is released!

2006-05-30 Thread Carlos Sanchez
I'll take care of that

On 5/30/06, Ray Krueger <[EMAIL PROTECTED]> wrote:
> Can we get the maven repos updated?
> Right now mvn compile fails because
> "org.acegisecurity:acegi-security-parent:pom:1.0.0" cannot be
> downloaded.
>
> On 5/30/06, Mark St.Godard <[EMAIL PROTECTED]> wrote:
> > Hi Ben,
> >
> > The configuration was referencing "net.sf"... some of the config was
> > moved over to "org." however not all. Including the userdetails
> > refactoring. Plus some of the JSPs were also referencing "net.sf" in
> > page imports.
> >
> > I am running through and testing the app right now, currently failing
> > on a call to getPrincipal from User object... I will fix it up, retest
> > it, run the unit testing and check in the changes.
> >
> > Re: the tutorial app... yeah I noticed that .. very nice... much more
> > concise config.
> >
> > I am usng Spring 2.0 and I am really digging the schema-based config...
> >
> > I am also using MethodSecurityInterceptors using the new Aspect pointcuts.
> > Not sure if we should also include examples of usage using Spring 2.0?
> > I assume we need to wait for it to go final.
> >
> > Uri is on it...Great, I'll keep my eyes posted for   :)
> >
> > Cheers
> > Mark
> >
> > On 5/30/06, Ben Alex <[EMAIL PROTECTED]> wrote:
> > > Mark St.Godard wrote:
> > > > Just a note, Ben I will be updating the contacts-tiger sample project,
> > > > I noticed it was not converted over.  I will create an JIRA entry for
> > > > myself and update this tomorow.
> > > >
> > > I just checked and it looked to me like it was built for 1.0.0. What
> > > specifically wasn't converted?
> > >
> > > > Also with Spring 2.0, I noticed that a jira entry was created for
> > > > namespace handlers, XSD support, etc..
> > > >
> > > http://opensource.atlassian.com/projects/spring/browse/SEC-271 for those
> > > interested.
> > >
> > > > If you have someone to do this fine... otherwise I can take it up...
> > > > its something that I would really like to get in...  and reduce some
> > > > of the XML verbosity.
> > > >
> > > >
> > > Uri Boness has volunteered, but I'm unsure whether work has commenced. I
> > > am happy for anyone to take a look at it who has sufficient time.
> > >
> > > As for verbose XML, I'd encourage people to take a look at the new
> > > tutorial sample, which is just 148 lines of XML. This includes comments,
> > > whitespace and full support for form authentication, remember-me,
> > > anonymous and web request authorization. I think that's a pretty good
> > > base given the features, but nevertheless it will be even less with
> > > SEC-271 improvements.
> > >
> > > Cheers
> > > Ben
> > >
> > >
> > > ___
> > > Home: http://acegisecurity.org
> > > Acegisecurity-developer mailing list
> > > Acegisecurity-developer@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
> > >
> >
> >
> > ___
> > Home: http://acegisecurity.org
> > Acegisecurity-developer mailing list
> > Acegisecurity-developer@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
> >
>
>
> ___
> Home: http://acegisecurity.org
> Acegisecurity-developer mailing list
> Acegisecurity-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
>


-- 
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride


___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] Junit error with Acegi Security

2006-05-28 Thread Carlos Sanchez
Not sure about that one, but you can get ${basedir} for sure and append /target

On 5/28/06, Luke Taylor <[EMAIL PROTECTED]> wrote:
> If the test is running in maven, is there some way I can get hold of the
> path to the target directory - a system property that maven sets for
> example? I remember there was a "maven.build.dir" property. Is that
> still available in maven 2 and is it set as a system property?
>
> Carlos Sanchez wrote:
> > Right now it seems to work for me. it'd be a good idea if you can, to
> > change that temp directory to target/something, so it's deleted during
> > clean
> >
> > On 5/28/06, Luke Taylor <[EMAIL PROTECTED]> wrote:
> >> Are you both seeing this error?
> >>
> >> If not, it may be that the working directory is corrupt. The Ldap server
> >> tries to write to {java.io.tmpdir}/apacheds-work. Ideally it should
> >> delete the contents of this every time it starts up, or the maven script
> >> would, but it doesn't at the moment.
> >>
> >> Try removing that directory and see if it works.
> >>
> >> I'll try rebuilding on a couple of different machines too.
> >>
>
> --
>   Luke Taylor.  Monkey Machine Ltd.
>   PGP Key ID: 0x57E9523Chttp://www.monkeymachine.ltd.uk
>
>
>
> ___
> Home: http://acegisecurity.org
> Acegisecurity-developer mailing list
> Acegisecurity-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
>


-- 
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride


___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] Junit error with Acegi Security

2006-05-28 Thread Carlos Sanchez
Right now it seems to work for me. it'd be a good idea if you can, to
change that temp directory to target/something, so it's deleted during
clean

On 5/28/06, Luke Taylor <[EMAIL PROTECTED]> wrote:
> Are you both seeing this error?
>
> If not, it may be that the working directory is corrupt. The Ldap server
> tries to write to {java.io.tmpdir}/apacheds-work. Ideally it should
> delete the contents of this every time it starts up, or the maven script
> would, but it doesn't at the moment.
>
> Try removing that directory and see if it works.
>
> I'll try rebuilding on a couple of different machines too.
>
> Carlos Sanchez wrote:
> > I suggest to Luke to wipe out his local repo and try.
> > I think it's best to have the initialization in the constructor or
> > errors wil lbe hard to debug.
> >
> >
> > On 5/27/06, Ben Alex <[EMAIL PROTECTED]> wrote:
> >> Luke Taylor wrote:
> >>> I'm not seeing any problems with the latest code... I just rebuilt the
> >>> web site and all the tests seems to be passing.
> >>>
> >>> There's quite a serious overhead in starting up the Ldap server which is
> >>> why I made it a static field. Maven 1 seems to reload the class each
> >>> time it runs a test so it doesn't an you ke much difference but it's a lot
> >>> faster running in IntelliJ or Maven 2.
> >>>
> >>> Moving it to the constructor would probably be OK, but putting it in the
> >>> setUp would slow things down a lot.
> >>>
> >> Hi Luke
> >>
> >> Whether I use Maven 1, Maven 2 or Eclipse, running the unit tests is
> >> always reporting:
> >>
> >> jdbm.helper.WrappedRuntimeException:
> >> org.apache.ldap.server.partition.impl.btree.jdbm.JdbmMasterTable$1
> >> at jdbm.helper.DefaultSerializer.deserialize(DefaultSerializer.java:99) etc
> >>
> >> Whilst researching this, I noticed someone else on the forum reported
> >> exactly the same exception.
> >>
> >> Given the public site is building fine with Maven 1 - including the LDAP
> >> tests
> >> (http://acegisecurity.org/multiproject/acegi-security/junit-report.html#org_acegisecurity_providers_ldap)
> >> - I am wondering if there is a version issue with one of the Apache
> >> Directory JARs at http://acegisecurity.sourceforge.net/maven. I've tried
> >> deleting all of my local JARs so they refresh from the public repo, but
> >> it still fails. By some chance are you running a different version of
> >> the JARs, even though their filenames suggest you are not (perhaps try
> >> an md5sum on your local JARs and compare them with an md5sum executed on
> >> the SourceForge shell server)?
> >>
> >> We cannot release 1.0.0 whilst this issue remains. Also, I am also going
> >> to Brisbane this afternoon until Thursday night, and on Friday morning I
> >> am going to Europe. So we really need this resolved ASAP if there is to
> >> be any chance at all of getting 1.0.0 out before I return to Australia
> >> in July.
> >>
> >> Cheers
> >> Ben
> >>
> >>
> >> ___
> >> Home: http://acegisecurity.org
> >> Acegisecurity-developer mailing list
> >> Acegisecurity-developer@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
> >>
> >
> >
>
> --
>   Luke Taylor.  Monkey Machine Ltd.
>   PGP Key ID: 0x57E9523Chttp://www.monkeymachine.ltd.uk
>
>
>
> ___
> Home: http://acegisecurity.org
> Acegisecurity-developer mailing list
> Acegisecurity-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
>


-- 
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride


___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] Junit error with Acegi Security

2006-05-27 Thread Carlos Sanchez
I suggest to Luke to wipe out his local repo and try.
I think it's best to have the initialization in the constructor or
errors wil lbe hard to debug.


On 5/27/06, Ben Alex <[EMAIL PROTECTED]> wrote:
> Luke Taylor wrote:
> > I'm not seeing any problems with the latest code... I just rebuilt the
> > web site and all the tests seems to be passing.
> >
> > There's quite a serious overhead in starting up the Ldap server which is
> > why I made it a static field. Maven 1 seems to reload the class each
> > time it runs a test so it doesn't make much difference but it's a lot
> > faster running in IntelliJ or Maven 2.
> >
> > Moving it to the constructor would probably be OK, but putting it in the
> > setUp would slow things down a lot.
> >
> Hi Luke
>
> Whether I use Maven 1, Maven 2 or Eclipse, running the unit tests is
> always reporting:
>
> jdbm.helper.WrappedRuntimeException:
> org.apache.ldap.server.partition.impl.btree.jdbm.JdbmMasterTable$1
> at jdbm.helper.DefaultSerializer.deserialize(DefaultSerializer.java:99) etc
>
> Whilst researching this, I noticed someone else on the forum reported
> exactly the same exception.
>
> Given the public site is building fine with Maven 1 - including the LDAP
> tests
> (http://acegisecurity.org/multiproject/acegi-security/junit-report.html#org_acegisecurity_providers_ldap)
> - I am wondering if there is a version issue with one of the Apache
> Directory JARs at http://acegisecurity.sourceforge.net/maven. I've tried
> deleting all of my local JARs so they refresh from the public repo, but
> it still fails. By some chance are you running a different version of
> the JARs, even though their filenames suggest you are not (perhaps try
> an md5sum on your local JARs and compare them with an md5sum executed on
> the SourceForge shell server)?
>
> We cannot release 1.0.0 whilst this issue remains. Also, I am also going
> to Brisbane this afternoon until Thursday night, and on Friday morning I
> am going to Europe. So we really need this resolved ASAP if there is to
> be any chance at all of getting 1.0.0 out before I return to Australia
> in July.
>
> Cheers
> Ben
>
>
> ___
> Home: http://acegisecurity.org
> Acegisecurity-developer mailing list
> Acegisecurity-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
>


-- 
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride


___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] Junit error with Acegi Security

2006-05-27 Thread Carlos Sanchez
The problem is in

org.acegisecurity.ldap.AbstractLdapServerTestCase

private static final LdapTestServer SERVER = new LdapTestServer();

This call causes an exception. As it's a static field it happens at
the time the class is loaded, so the class can't be loaded. Static and
junit ant tasks don't play well together.

The "new LdapTestServer()" should be moved to a setUp() method or the
constructor to see the error.

Regards

On 5/27/06, Ben Alex <[EMAIL PROTECTED]> wrote:
> Ben Alex wrote:
> > Hi Carlos
> >
> > I'm trying to get 1.0.0 released, but I am getting a Junit error
> > (Maven 1.0.2) on both my laptop and desktop. I've attached an
> > abbreviated -X log. Do you have any suggestions, as this is blocking
> > our release?
> >
> > Thanks
> > Ben
>
> Just noticed the output file missed the actual exception. It's below:
>
> C:\dev\eclipse\workspaces\acegi\acegisecurity\core>maven -X jar:install
>  > debug.
> txt
>
> BUILD FAILED
> File.. C:\Documents and
> Settings\Ben\.maven\cache\maven-test-plugin-1.6.2\pl
> ugin.jelly
> Element... junit
> Line.. 133
> Column 41
> java.lang.NoClassDefFoundError
> com.werken.werkz.UnattainableGoalException: Unable to obtain goal
> [test:test] --
>  C:\Documents and
> Settings\Ben\.maven\cache\maven-test-plugin-1.6.2\plugin.jelly
> :133:41:  java.lang.NoClassDefFoundError
> at com.werken.werkz.Goal.fire(Goal.java:646)
> at com.werken.werkz.Goal.attain(Goal.java:575)
> at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
> at com.werken.werkz.Goal.attain(Goal.java:573)
> at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
> at com.werken.werkz.Goal.attain(Goal.java:573)
> at
> org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
> 671)
> at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
> at org.apache.maven.cli.App.doMain(App.java:488)
> at org.apache.maven.cli.App.main(App.java:1239)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at com.werken.forehead.Forehead.run(Forehead.java:551)
> at com.werken.forehead.Forehead.main(Forehead.java:581)
> org.apache.commons.jelly.JellyTagException: C:\Documents and
> Settings\Ben\.maven
> \cache\maven-test-plugin-1.6.2\plugin.jelly:133:41: 
> java.lang.NoClassDef
> FoundError
> at
> org.apache.commons.jelly.impl.TagScript.handleException(TagScript.jav
> a:702)
> at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:296)
> at
> org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
> at
> org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
> at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:88)
> at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
> at
> org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
> at
> org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa
> g.java:79)
> at
> org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor
> mAction(MavenGoalTag.java:110)
> at com.werken.werkz.Goal.fire(Goal.java:639)
> at com.werken.werkz.Goal.attain(Goal.java:575)
> at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
> at com.werken.werkz.Goal.attain(Goal.java:573)
> at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
> at com.werken.werkz.Goal.attain(Goal.java:573)
> at
> org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
> 671)
> at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
> at org.apache.maven.cli.App.doMain(App.java:488)
> at org.apache.maven.cli.App.main(App.java:1239)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at com.werken.forehead.Forehead.run(Forehead.java:551)
> at com.werken.forehead.Forehead.main(Forehead.java:581)
> Caused by: java.lang.NoClassDefFoundError
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
>
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
> orAccessorImpl.java:39)
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
> onstructorAccessorImpl.java:27)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
> at junit.framework

Re: [Acegisecurity-developer] feedback, fyi

2006-05-03 Thread Carlos Sanchez

Fixed, thanks. Still a test failure though

On 5/3/06, Darrell Kundel <[EMAIL PROTECTED]> wrote:

in building the latest nightly source drop (5/2) i ran into the
following mini-snags:

in core/pom.xml i needed the following fragment to run the tests:


  log4j
  log4j
  1.2.12
  test



also, the following test failed:
org.acegisecurity.providers.ldap.authenticator.PasswordComparisonAuthent
icatorMockTests.testLdapCompareIsUsedWhenPasswordIsNotRetrieved()

i didn't attempt to build the adapters, as i don't currently have a need
for them, otherwise things seem to be alright...

thanks



---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmdlnk&kid0709&bid&3057&dat1642
___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer




--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
-- The Princess Bride


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] Subversion? (Change completed)

2006-04-29 Thread Carlos Sanchez

Have you tried


  org.apache.directory.server
  apacheds-core
  1.0-RC1
  
test
  



On 4/29/06, Luke Taylor <[EMAIL PROTECTED]> wrote:

OK, but that's the maven2 build. You said that anything that's available
for maven 2 is also available for maven 1, but I don't see any way of
adding it to the project.xml...

Carlos Sanchez wrote:
> it's already in the core/pom.xml
>
> 
>   org.apache.directory.server
>   apacheds-core
>   1.0-RC1
>   test
> 
>
> which means it's here
> 
http://www.ibiblio.org/maven2/org/apache/directory/server/apacheds-core/1.0-RC1/
>

--
  Luke Taylor.  Monkey Machine Ltd.
  PGP Key ID: 0x57E9523Chttp://www.monkeymachine.ltd.uk



---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer




--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
-- The Princess Bride


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] SVN Commit Messages

2006-04-27 Thread Carlos Sanchez
Check it out here:
http://jira.codehaus.org/browse/DOXIA-59?page=com.atlassian.jira.plugin.ext.subversion:subversion-commits-tabpanel

On 4/27/06, Baz <[EMAIL PROTECTED]> wrote:
> On 4/27/06, Ben Alex <[EMAIL PROTECTED]> wrote:
> > For the sake of consistency and ease of reviewing history logs, would
> > developers please always format SVN commit messages to begin with the
> > JIRA issue number, followed by a colon, then a brief description of the
> > check-in. More detailed messages can be placed in the JIRA task. eg:
> >
> > SEC-123: Constructor no longer requires null.
>
> Sorry if I'm teaching granny to suck eggs here, but have you seen
> jira's svn plugin:
> http://confluence.atlassian.com/display/JIRAEXT/JIRA+Subversion+plugin
>
> The integration polls and indexes the svn logs hourly with lucene,
> rather than use post-commit triggers. The indexing means it'll show
> links to revisions before you installed the plugin, and the format you
> described should be picked up fine.  (I havent set this one up myself,
> just the trigger-based integration for fogbugz, which isnt as nice).
>
> Cheers
> Baz
>
>
> ---
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmdlnk&kid0709&bid&3057&dat1642
> ___
> Home: http://acegisecurity.org
> Acegisecurity-developer mailing list
> Acegisecurity-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
>


--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] Subversion? (Change completed)

2006-04-26 Thread Carlos Sanchez
it's already in the core/pom.xml


  org.apache.directory.server
  apacheds-core
  1.0-RC1
  test


which means it's here
http://www.ibiblio.org/maven2/org/apache/directory/server/apacheds-core/1.0-RC1/

On 4/26/06, Luke Taylor <[EMAIL PROTECTED]> wrote:
> So what artifact/groupid do we use in the project.xml to get hold of it?
>
>
>
> Carlos Sanchez wrote:
> > www.ibiblio.org/maven is no longer used. Requests for files are
> > converted to the maven2 repo, if it's in www.ibiblio.org/maven2 then
> > is available for maven1
> >
> > On 4/26/06, Luke Taylor <[EMAIL PROTECTED]> wrote:
> >> I would like to, but they don't seem to be visible in the maven 1
> >> repository. If we are upgrading to maven 2 then there shouldn't be a
> >> problem with apacheds RC1.
> >>
> >> Carlos Sanchez wrote:
> >>> I have committed some changes, now the problems are with ldap
> >>> dependencies, can somebody check if we can upgrade to a non snapshot
> >>> dependency? there's alreaddy RC1 of apache directory in ibiblio.
> >>>
> >> --
> >>   Luke Taylor.  Monkey Machine Ltd.
> >>   PGP Key ID: 0x57E9523Chttp://www.monkeymachine.ltd.uk
> >>
> >>
>
>
> --
>   Luke Taylor.  Monkey Machine Ltd.
>   PGP Key ID: 0x57E9523Chttp://www.monkeymachine.ltd.uk
>
>
>
> ---
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> Home: http://acegisecurity.org
> Acegisecurity-developer mailing list
> Acegisecurity-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
>


--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] Subversion? (Change completed)

2006-04-26 Thread Carlos Sanchez
www.ibiblio.org/maven is no longer used. Requests for files are
converted to the maven2 repo, if it's in www.ibiblio.org/maven2 then
is available for maven1

On 4/26/06, Luke Taylor <[EMAIL PROTECTED]> wrote:
> I would like to, but they don't seem to be visible in the maven 1
> repository. If we are upgrading to maven 2 then there shouldn't be a
> problem with apacheds RC1.
>
> Carlos Sanchez wrote:
> > I have committed some changes, now the problems are with ldap
> > dependencies, can somebody check if we can upgrade to a non snapshot
> > dependency? there's alreaddy RC1 of apache directory in ibiblio.
> >
>
> --
>   Luke Taylor.  Monkey Machine Ltd.
>   PGP Key ID: 0x57E9523Chttp://www.monkeymachine.ltd.uk
>
>
>
> ---
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> Home: http://acegisecurity.org
> Acegisecurity-developer mailing list
> Acegisecurity-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
>


--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] Subversion? (Change completed)

2006-04-25 Thread Carlos Sanchez
I have committed some changes, now the problems are with ldap
dependencies, can somebody check if we can upgrade to a non snapshot
dependency? there's alreaddy RC1 of apache directory in ibiblio.

On 4/25/06, Ben Alex <[EMAIL PROTECTED]> wrote:
> Carlos Sanchez wrote:
> > Looks right, only that
> > https://svn.sourceforge.net/svnroot/acegisecurity/trunk/CVSROOT should
> > be deleted
> >
> Thanks for the feedback, Carlos.
>
> Re CVSROOT, that's an artifact of the cvs2svn process. Even
> automatically migrated SF repositories (eg Spring Rich Client) have this
> come across.
>
> On a related issue, what is stopping us using Maven 2 for Acegi Security
> now? I would ideally like to release 1.0.0 final with Maven 2, and
> remove all the old project.xml files. I don't mind if it means we have
> to lose some plugins, just as long as we can do some form of JAR
> creation, unit test execution, code coverage measurement and building a
> PDF and HTML-based DocBook. Are these functions working at present?
>
> Cheers
> Ben
>
>
> ---
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> Home: http://acegisecurity.org
> Acegisecurity-developer mailing list
> Acegisecurity-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
>


--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] Subversion? (Change completed)

2006-04-24 Thread Carlos Sanchez
Looks right, only that
https://svn.sourceforge.net/svnroot/acegisecurity/trunk/CVSROOT should
be deleted

On 4/24/06, Ben Alex <[EMAIL PROTECTED]> wrote:
> Ben Alex wrote:
> > Last weekend SF had some CVS issues, so I didn't make the switch as
> > intended.
> >
> > I'm now going to hold-off doing this until early May, because I'm
> > largely on the road until then and don't want to change things and be
> > unavailable if anything goes wrong. Just wanted to let everyone know
> > what's happening with the change.
>
> I have now completed the migration from CVS to SVN. This includes:
>
> - CVS is no longer visible on the SF project page
> - SVN is now visible on the SF project page
> - All developers have had their CVS permissions revoked (in case they
> don't see this email)
> - All developers now have SVN permissions granted
> - The Maven POMs have been modified accordingly
> - SVN commit messages are now emailed to acegisecurity-cvs, just as CVS
> used to
> - The daily script now builds checkouts from SVN only (see
> http://acegisecurity.sourceforge.net/nightly)
>
> As an aside, I had to complete the migration manually (use a SF CVS
> tarball, run cvs2svn on a local Linux box, SSH the resulting dump file,
> then import). The SF process didn't work, and cvs2svn failed locally
> with keyword failure errors. If anyone else has similar difficulties,
> the "--use-cvs" option on cvs2svn sorted it out.
>
> Would one of our resident Maven experts (Luke, Carlos?) please check
> that the checkout instructions in /docs/xdocs/cvs-usage.html are
> correct, as are the various POM files.
>
> Cheers
> Ben
>
>
> ---
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> Home: http://acegisecurity.org
> Acegisecurity-developer mailing list
> Acegisecurity-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
>


--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] 1.0.0-RC2 in Maven2?

2006-04-12 Thread Carlos Sanchez
I've uploaded the jars. poms will need to wait for a bit

On 4/12/06, Parrott, Jason <[EMAIL PROTECTED]> wrote:
>
>
>
> Hey,
>
> I was wondering if someone with access could post the 1.0.0-RC2 archive to
> the Maven2 repo at ibiblio. I see he RC1 version but not the RC2. Thanks.
>
>
>
> -Jason Parrott


--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] Subversion?

2006-04-09 Thread Carlos Sanchez
+1

On 3/25/06, Ben Alex <[EMAIL PROTECTED]> wrote:
> Hi everyone
>
> SourceForge have recently modified their offering so we can migrate to
> SVN (without losing revision history) - see
> http://sourceforge.net/docman/display_doc.php?docid=31070&group_id=1#import.
>
> I have also been using SVN recently and had good results. The Subclipse
> plugin at Update Manager URL http://subclipse.tigris.org/update_1.0.x
> works quite well.
>
> Does anyone have any concerns with the project migrating from CVS to
> SVN? If there aren't any objections, I'll make the change in about a week.
>
> Cheers
> Ben
>
>
> ---
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> ___
> Home: http://acegisecurity.org
> Acegisecurity-developer mailing list
> Acegisecurity-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
>


--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] Building with maven or maven2

2006-03-06 Thread Carlos Sanchez
Maven2 build is not yet ready. Everything should work with maven 1.0.2
out of the box, the repositories are already added in the project.xml

On 3/6/06, Jaap Reitsma <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
>
> I have tried to follow the instructions to build Acegi Security with maven
> 1.0.2 as well as 2.0.2, but without success. I have used the CVS snapshot of
> March 6th.
>
> What I am missing for maven 1 is a list of repositories to use. Could one of
> you give the list that is used to build to code?
>
> Especially the ldap related jars are difficult to find:
> org.apache.ldap.server.core-0.9.4-20060201.032106-7.jar
> org.apache.ldap.server.shared-0.9.4-20060201.032106-8.jar
> directory-asn1-0.3.4-20060201.032106-8.jar
> org.apache.ldap.common-0.9.4-20060201.032106-10.jar
>
> Probably these dependencies are not really needed to build the core, but
> just for testing?
>
> The dependency on spring 2-m2 was also unresolved due to the change of
> repository layout on ibiblio & mirrors (springframework -->
> org.springframework) in the switch to spring 2.
>
>
> With maven2 I was able to build the core (using command mvn package), but
> the test failed with
> Caused by: java.lang.NoClassDefFoundError:
> org/springframework/beans/factory/InitializingBean
> This was caused by a missing depencencies to several spring modules.
> Afterr fixing, this one remained:
> Caused by: java.lang.NoClassDefFoundError: org/apache/log4j/LogManager
> at
> org.slf4j.impl.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:64)
> at
> org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:99)
>
> I remember seeing that before on this mailing list. Is it still unresolved?
>
> On the top level I get errors on the CAS stuff.
>
> So:
> - What is the preferred maven version? I think maven2 is easier to tame
> - Which repos are to be used?
> - Could I expect the build from CVS to fail or am I doing something wrong?
>
> Kind regards,
>
> Jaap Reitsma


--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] CVS build failing due to test failures.

2006-02-01 Thread Carlos Sanchez
It is clearer in the test output

On 2/1/06, Ray Krueger <[EMAIL PROTECTED]> wrote:
> hehe yeah that I knwew :P
> I was hoping Maven could be a little clearer on what class. I think
> it's the last one it's trying to "Find" NameComponentNormalizer. Would
> that be correct?
>
> On 2/1/06, Carlos Sanchez <[EMAIL PROTECTED]> wrote:
> > A class referenced is not in the classpath
> >
> > On 2/1/06, Ray Krueger <[EMAIL PROTECTED]> wrote:
> > > Good Point,
> > > Anythony, can you post this log file please?
> > > {acegisourcecode}/core/target/test-reports/TEST-org.acegisecurity.providers.jaas.JaasAuthenticationProviderTests.xml
> > >
> > > Carlos any idea what that ClassDefNotFound is from? Just so I
> > > understand how to read that next time.
> > >
> > >
> > > On 2/1/06, Carlos Sanchez <[EMAIL PROTECTED]> wrote:
> > > > The test output is in the target folder test-reports or something like 
> > > > that
> > > >
> > > > On 2/1/06, Ray Krueger <[EMAIL PROTECTED]> wrote:
> > > > > I am trying to jump in and see why the Jaas tests would be failing,
> > > > > but I cannot get Maven to play nice. Any ideas anyone? Carlos? *nudge
> > > > > nudge*
> > > > >
> > > > >
> > > > > [junit] [DEBUG] Finding class
> > > > > org.apache.ldap.server.normalization.NormalizationService
> > > > > [junit] [DEBUG] Finding class
> > > > > org.apache.ldap.server.interceptor.BaseInterceptor
> > > > > [junit] [DEBUG] Class
> > > > > org.apache.ldap.server.interceptor.BaseInterceptor loaded from ant
> > > > > loader
> > > > > [junit] [DEBUG] Class
> > > > > org.apache.ldap.server.normalization.NormalizationService loaded from
> > > > > ant loader
> > > > > [junit] [DEBUG] Class javax.naming.NamingEnumeration loaded from
> > > > > parent loader
> > > > > [junit] [DEBUG] Finding class 
> > > > > org.apache.ldap.common.filter.FilterVisitor
> > > > > [junit] [DEBUG] Class org.apache.ldap.common.filter.FilterVisitor
> > > > > loaded from ant loader
> > > > > [junit] [DEBUG] Finding class
> > > > > org.apache.ldap.common.name.NameComponentNormalizer
> > > > > popping off [EMAIL PROTECTED] for
> > > > > [EMAIL PROTECTED] in
> > > > > maven-java-plugin:maven-
> > > > > java-plugin
> > > > > popping off [EMAIL PROTECTED] for
> > > > > [EMAIL PROTECTED] in
> > > > > maven-antlr-plugin:mave
> > > > > n-antlr-plugin
> > > > > popping off [EMAIL PROTECTED] for
> > > > > [EMAIL PROTECTED] in
> > > > > maven-test-plugin:maven-
> > > > > test-plugin
> > > > > popping off [EMAIL PROTECTED] for
> > > > > [EMAIL PROTECTED] in
> > > > > org.acegisecurity:acegi-s
> > > > > ecurity
> > > > >
> > > > > BUILD FAILED
> > > > > File.. C:\Documents and
> > > > > Settings\rkrueger\.maven\cache\maven-test-plugin-1.6.2\plugin.jelly
> > > > > Element... junit
> > > > > Line.. 133
> > > > > Column 41
> > > > > java.lang.NoClassDefFoundError
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > On 1/31/06, Luke Taylor <[EMAIL PROTECTED]> wrote:
> > > > > > Hi,
> > > > > >
> > > > > > The LDAP tests are failing because of changes in the ApacheDS 
> > > > > > snaphots
> > > > > > which the provider uses as an embedded server for testing.
> > > > > >
> > > > > > I've been discussing their planned release with them, which should 
> > > > > > be
> > > > > > out this week. Once it appears I'll modify the build to use it so 
> > > > > > that
> > > > > > we have something stable to test against.
> > > > > >
> > > > > > You can skip the tests by running with "maven -Dmaven.test.skip".
> > > > > > Alternatively, you can set up the tests to point to an external 
> > > > > > server
> > > > > > by uncommenting the appropria

Re: [Acegisecurity-developer] CVS build failing due to test failures.

2006-02-01 Thread Carlos Sanchez
A class referenced is not in the classpath

On 2/1/06, Ray Krueger <[EMAIL PROTECTED]> wrote:
> Good Point,
> Anythony, can you post this log file please?
> {acegisourcecode}/core/target/test-reports/TEST-org.acegisecurity.providers.jaas.JaasAuthenticationProviderTests.xml
>
> Carlos any idea what that ClassDefNotFound is from? Just so I
> understand how to read that next time.
>
>
> On 2/1/06, Carlos Sanchez <[EMAIL PROTECTED]> wrote:
> > The test output is in the target folder test-reports or something like that
> >
> > On 2/1/06, Ray Krueger <[EMAIL PROTECTED]> wrote:
> > > I am trying to jump in and see why the Jaas tests would be failing,
> > > but I cannot get Maven to play nice. Any ideas anyone? Carlos? *nudge
> > > nudge*
> > >
> > >
> > > [junit] [DEBUG] Finding class
> > > org.apache.ldap.server.normalization.NormalizationService
> > > [junit] [DEBUG] Finding class
> > > org.apache.ldap.server.interceptor.BaseInterceptor
> > > [junit] [DEBUG] Class
> > > org.apache.ldap.server.interceptor.BaseInterceptor loaded from ant
> > > loader
> > > [junit] [DEBUG] Class
> > > org.apache.ldap.server.normalization.NormalizationService loaded from
> > > ant loader
> > > [junit] [DEBUG] Class javax.naming.NamingEnumeration loaded from
> > > parent loader
> > > [junit] [DEBUG] Finding class 
> > > org.apache.ldap.common.filter.FilterVisitor
> > > [junit] [DEBUG] Class org.apache.ldap.common.filter.FilterVisitor
> > > loaded from ant loader
> > > [junit] [DEBUG] Finding class
> > > org.apache.ldap.common.name.NameComponentNormalizer
> > > popping off [EMAIL PROTECTED] for
> > > [EMAIL PROTECTED] in
> > > maven-java-plugin:maven-
> > > java-plugin
> > > popping off [EMAIL PROTECTED] for
> > > [EMAIL PROTECTED] in
> > > maven-antlr-plugin:mave
> > > n-antlr-plugin
> > > popping off [EMAIL PROTECTED] for
> > > [EMAIL PROTECTED] in
> > > maven-test-plugin:maven-
> > > test-plugin
> > > popping off [EMAIL PROTECTED] for
> > > [EMAIL PROTECTED] in
> > > org.acegisecurity:acegi-s
> > > ecurity
> > >
> > > BUILD FAILED
> > > File.. C:\Documents and
> > > Settings\rkrueger\.maven\cache\maven-test-plugin-1.6.2\plugin.jelly
> > > Element... junit
> > > Line.. 133
> > > Column 41
> > > java.lang.NoClassDefFoundError
> > >
> > >
> > >
> > >
> > >
> > > On 1/31/06, Luke Taylor <[EMAIL PROTECTED]> wrote:
> > > > Hi,
> > > >
> > > > The LDAP tests are failing because of changes in the ApacheDS snaphots
> > > > which the provider uses as an embedded server for testing.
> > > >
> > > > I've been discussing their planned release with them, which should be
> > > > out this week. Once it appears I'll modify the build to use it so that
> > > > we have something stable to test against.
> > > >
> > > > You can skip the tests by running with "maven -Dmaven.test.skip".
> > > > Alternatively, you can set up the tests to point to an external server
> > > > by uncommenting the appropriate lines in the base class for the Ldap
> > > > tests (AbstractLdapServerTestCase, or whatever). I've attached a copy of
> > > > the test data. It also expects to have an admin user with username
> > > > "manager" and password "acegisecurity" available.
> > > >
> > > > cheers,
> > > >
> > > > Luke.
> > > >
> > > > --
> > > >  Luke Taylor.  Monkey Machine Ltd.
> > > >  PGP Key ID: 0x57E9523Chttp://www.monkeymachine.ltd.uk
> > > >
> > > >
> > > >
> > > > version: 1
> > > > dn: dc=acegisecurity,dc=org
> > > > objectClass: dcObject
> > > > objectClass: organization
> > > > dc: acegisecurity
> > > > description: Acegi Security (Test LDAP DIT)
> > > > o: Monkey Machine Ltd.
> > > >
> > > > dn: ou=people,dc=acegisecurity,dc=org
> > > > objectClass: organizationalUnit
> > > > description: All people in organisation
> > > > ou: people
> > > >
> > > > dn: cn=Ben Alex,ou=people,dc=acegisecurity,dc=org
> > > > objectClass: inetOrgPe

Re: [Acegisecurity-developer] CVS build failing due to test failures.

2006-02-01 Thread Carlos Sanchez
The test output is in the target folder test-reports or something like that

On 2/1/06, Ray Krueger <[EMAIL PROTECTED]> wrote:
> I am trying to jump in and see why the Jaas tests would be failing,
> but I cannot get Maven to play nice. Any ideas anyone? Carlos? *nudge
> nudge*
>
>
> [junit] [DEBUG] Finding class
> org.apache.ldap.server.normalization.NormalizationService
> [junit] [DEBUG] Finding class
> org.apache.ldap.server.interceptor.BaseInterceptor
> [junit] [DEBUG] Class
> org.apache.ldap.server.interceptor.BaseInterceptor loaded from ant
> loader
> [junit] [DEBUG] Class
> org.apache.ldap.server.normalization.NormalizationService loaded from
> ant loader
> [junit] [DEBUG] Class javax.naming.NamingEnumeration loaded from
> parent loader
> [junit] [DEBUG] Finding class org.apache.ldap.common.filter.FilterVisitor
> [junit] [DEBUG] Class org.apache.ldap.common.filter.FilterVisitor
> loaded from ant loader
> [junit] [DEBUG] Finding class
> org.apache.ldap.common.name.NameComponentNormalizer
> popping off [EMAIL PROTECTED] for
> [EMAIL PROTECTED] in
> maven-java-plugin:maven-
> java-plugin
> popping off [EMAIL PROTECTED] for
> [EMAIL PROTECTED] in
> maven-antlr-plugin:mave
> n-antlr-plugin
> popping off [EMAIL PROTECTED] for
> [EMAIL PROTECTED] in
> maven-test-plugin:maven-
> test-plugin
> popping off [EMAIL PROTECTED] for
> [EMAIL PROTECTED] in
> org.acegisecurity:acegi-s
> ecurity
>
> BUILD FAILED
> File.. C:\Documents and
> Settings\rkrueger\.maven\cache\maven-test-plugin-1.6.2\plugin.jelly
> Element... junit
> Line.. 133
> Column 41
> java.lang.NoClassDefFoundError
>
>
>
>
>
> On 1/31/06, Luke Taylor <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > The LDAP tests are failing because of changes in the ApacheDS snaphots
> > which the provider uses as an embedded server for testing.
> >
> > I've been discussing their planned release with them, which should be
> > out this week. Once it appears I'll modify the build to use it so that
> > we have something stable to test against.
> >
> > You can skip the tests by running with "maven -Dmaven.test.skip".
> > Alternatively, you can set up the tests to point to an external server
> > by uncommenting the appropriate lines in the base class for the Ldap
> > tests (AbstractLdapServerTestCase, or whatever). I've attached a copy of
> > the test data. It also expects to have an admin user with username
> > "manager" and password "acegisecurity" available.
> >
> > cheers,
> >
> > Luke.
> >
> > --
> >  Luke Taylor.  Monkey Machine Ltd.
> >  PGP Key ID: 0x57E9523Chttp://www.monkeymachine.ltd.uk
> >
> >
> >
> > version: 1
> > dn: dc=acegisecurity,dc=org
> > objectClass: dcObject
> > objectClass: organization
> > dc: acegisecurity
> > description: Acegi Security (Test LDAP DIT)
> > o: Monkey Machine Ltd.
> >
> > dn: ou=people,dc=acegisecurity,dc=org
> > objectClass: organizationalUnit
> > description: All people in organisation
> > ou: people
> >
> > dn: cn=Ben Alex,ou=people,dc=acegisecurity,dc=org
> > objectClass: inetOrgPerson
> > objectClass: organizationalPerson
> > objectClass: person
> > objectClass: top
> > cn: Ben Alex
> > ou:: 5a6J5YWo
> > sn: Alex
> > uid: Ben
> > userPassword:: e1NIQX1uRkNlYldqeGZhTGJISEcxUWs1VVU0dHJidlE9
> >
> > dn: uid=bob,ou=people,dc=acegisecurity,dc=org
> > objectClass: inetOrgPerson
> > objectClass: organizationalPerson
> > objectClass: person
> > objectClass: top
> > cn: Bob Hamilton
> > sn: Hamilton
> > uid: bob
> > userPassword:: Ym9ic3Bhc3N3b3Jk
> >
> > dn: ou=groups,dc=acegisecurity,dc=org
> > objectClass: top
> > objectClass: organizationalUnit
> > ou: groups
> >
> > dn: cn=developers,ou=groups,dc=acegisecurity,dc=org
> > objectClass: groupOfNames
> > objectClass: top
> > cn: developers
> > description: Acegi Security Developers
> > member: uid=bob,ou=people,dc=acegisecurity,dc=org
> > member: cn=ben alex,ou=people,dc=acegisecurity,dc=org
> > o: Acegi Security System for Spring
> > ou: developer
> >
> > dn: cn=managers,ou=groups,dc=acegisecurity,dc=org
> > objectClass: groupOfNames
> > objectClass: top
> > cn: managers
> > member: cn=ben alex,ou=people,dc=acegisecurity,dc=org
> > ou: manager
> >
> >
> >
> >
>
>
> ---
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642
> ___
> Home: http://acegisecurity.org
> Acegisecurity-developer mailing list
> Acegisecurity-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
>


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the ne

[Acegisecurity-developer] Re: Problem with Acegi Maven 2 build

2006-02-01 Thread Carlos Sanchez
Sorry for the late response.

First core was not compiling with m2. I tried now and had to change
the scope of spring-mock to make classes compile.

Second, if you run mvn -X you can see how transitive dependencies are
obtained, and there's no reference at all to log4j. Are you talking
about any other application that uses other stuff besides acegi? If so
you can run mvn -X, check who is using log4j and add a exclusion to
that dependency.

Also note that apacheds dependecies in pom.xml are not the snaphots as
they are not available in ibiblio. I added this ones in the meantime.
i imagine tests don't fail because that classes are not tested at all
(http://www.acegisecurity.org/multiproject/acegi-security/clover/index.html).

The fact that order of dependencies worked in m1 was a coincidence and
was not intended at all, and thus that behaviour can change.

Regards


On 1/30/06, Luke Taylor <[EMAIL PROTECTED]> wrote:
> Hi Carlos,
>
> Maven 1 seems to set up the classpath in the order the dependencies are
> specified, hence we got round the problem by moving slf4j/nlog4j above
> log4j in the list. I think nlog4j provides replacement classes for
> log4j, which aren't directly compatible.
>
> The problem is discussed here:
>
> http://www.nabble.com/Re:-upgrading-to-nlog4j.1.2.17-p1089156.html
>
> If we can exclude log4j, that might do the trick. How is that achieved?
> I think it's appearing as a transitive dependency from somewhere else...
>
> Thanks,
>
> Luke.
>
> Carlos Sanchez wrote:
> > Hi,
> >
> > There's no option to specify the order, in m1 that wasn't a feature
> > either. I don't know exactly what's the problem but there're ways to
> > exclude log4j or force a specific version, is that what you're trying
> > to do?
> >
> > On 1/29/06, Luke Taylor <[EMAIL PROTECTED]> wrote:
> >> Hi Carlos,
> >>
> >> I have a small problem you might know the answer to. I was attempting to
> >> add the latest apache-ds jar files to the M2 build. Apache DS is build
> >> using slf4j and this can cause a very nasty IncompatibleClassChangeError
> >> at logger-related code if log4j is used instead. With Maven 1, we got
> >> round this by putting slf4j ahead of log4j in the project.xml.
> >>
> >> However, if I do this with Maven 2.0.2, log4j always seems to end up
> >> ahead of slf4j, even if I put the latter at the top of the dependency list.
> >>
> >> Do you know if there's a way to exert more control over the order of
> >> jars in the classpath with Maven 2, or how it decides the ordering?
> >>
> >> cheers,
> >>
> >> Luke.
> >>
>
> --
>  Luke Taylor.  Monkey Machine Ltd.
>  PGP Key ID: 0x57E9523Chttp://www.monkeymachine.ltd.uk
>
>


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] Maven blues

2006-01-20 Thread Carlos Sanchez
beginig with 1.0.0 it's under org.acegisecurity groupId
m2 it's not suported yet, but it works

On 1/20/06, Jettro Coenradie <[EMAIL PROTECTED]> wrote:
> Hi all,
> I am trying to get maven 2 to work with a spring example. I am having some
> issues or questions that I hope someone can help with.
>
> First the code I added to my pom:
>
> 
> acegisecurity
> acegi-security
> 1.0.0-RC1
> 
>
> I tried multiple versions, all with different results:
> 1.0.0-RC1 - No jar file is available
> 0.9.0 Two libraries are missing : asn1-ber:asn1-codec:jar:0.3 and
> commons-test:commons-test:jar:0.1
> 0.8.3 This is working
>
>
> Does someone know how to get this to work? Is maven2 now supported? (I found
> an item that stated the opposite). There is also an item in Jira, this is
> closed saying everything is fine now. Still it does not work for me.
>
> Any advise is welcome,
> thank you so much
>
> Jettro Coenradie
>


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] LDAP Provider

2005-12-22 Thread Carlos Sanchez
If ldap dependencies are only for testing it may be fine, you set them
to test scope and that's all. Other thing if they are required to run
because everybody using acegi and not needing ldap will get them or
will have to exclude.

That's more related with something I'd like to propose to 1.1 which is
splitting the core jar a bit more based on the dependencies and the
possible uses, eg. acegisecurity-web for people using it in a web
environment, depending in the servlet api and other web stuff,
something similar to what spring has made for 2.0.

On 12/22/05, Luke Taylor <[EMAIL PROTECTED]> wrote:
> I agree that it might have been preferable to have had different names,
> and version numbers would ideally be as rigorously enforced as you say.
> I think we generally do pretty well on the stability front though
> compared with a lot of projects.
>
> I'm not particularly bothered about what version it is released in. The
> original plan was to get the support in for 1.0, so it depends on
> whether people are prepared to allow a slip in naming conventions or
> not. An RC2 will supersede the previous one in any case. I'll leave it
> up to Ben's pragmatic mind to decide what's best :).
>
> I'm not so sure about a separate module though. All of the new
> LDAP-related dependencies are only required to get ApacheDS running for
> testing. None of them are needed at runtime, so there's no reason why
> they should be required to use Acegi. I'm not familiar enough with Maven
> 2 to know whether it can discern between runtime and build dependencies,
> but presumably it can?
>
> Carlos Sanchez wrote:
> > Then 1.0.0 should have been called M1 or alpha, when you call
> > something release candidate means that if there no bugs the final jar
> > will be exactly the same (but the version name in the manifest).
> > Is not that i don't like the ldap support, but this will be confusing
> > and a potential problem. It could be released with 1.0.0 as a
> > different acegi-security-ldap module, or you can do the next day a 1.1
> > M1 if you want.
> >
> > In fact I'd like to see it in a different module because it will
> > facilitate use of transitive dependencies in your build (not only in
> > maven2, in any system), because ldap support introduces a considerable
> > amount of dependencies that are not required for the other parts of
> > the application.
> >
> > just my 2 cents
> >
> > On 12/22/05, Luke Taylor <[EMAIL PROTECTED]> wrote:
> >> Hi Carlos,
> >>
> >> I think the intention is to have LDAP support in 1.0, and since it is an
> >> extra feature, largely independent of the rest of the codebase it
> >> shouldn't really have any impact on the code in RC1.
> >>
> >> Luke.
> >>
> >> Carlos Sanchez wrote:
> >>> Hi,
> >>>
> >>> I've notice that this change was included after the RC1. This goes
> >>> against the version naming policy, 1.0.0 must be the same as 1.0.0-RC1
> >>> except for critical bug fixes.
> >>>
> >>> It'd be better to create a branch for 1.0.0 from the 1.0.0-RC1 tag and
> >>> set HEAD to 1.1, where you could keep development.
> >>>
> >>> Regards
> >>>
> >>
> >> --
> >>   Luke Taylor.  Monkey Machine Ltd.
> >>   PGP Key ID: 0x57E9523Chttp://www.monkeymachine.ltd.uk
> >>
> >>
> >>
>
> --
>   Luke Taylor.  Monkey Machine Ltd.
>   PGP Key ID: 0x57E9523Chttp://www.monkeymachine.ltd.uk
>
>
>
> ---
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> ___
> Home: http://acegisecurity.org
> Acegisecurity-developer mailing list
> Acegisecurity-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
>


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] LDAP Provider

2005-12-22 Thread Carlos Sanchez
Then 1.0.0 should have been called M1 or alpha, when you call
something release candidate means that if there no bugs the final jar
will be exactly the same (but the version name in the manifest).
Is not that i don't like the ldap support, but this will be confusing
and a potential problem. It could be released with 1.0.0 as a
different acegi-security-ldap module, or you can do the next day a 1.1
M1 if you want.

In fact I'd like to see it in a different module because it will
facilitate use of transitive dependencies in your build (not only in
maven2, in any system), because ldap support introduces a considerable
amount of dependencies that are not required for the other parts of
the application.

just my 2 cents

On 12/22/05, Luke Taylor <[EMAIL PROTECTED]> wrote:
> Hi Carlos,
>
> I think the intention is to have LDAP support in 1.0, and since it is an
> extra feature, largely independent of the rest of the codebase it
> shouldn't really have any impact on the code in RC1.
>
> Luke.
>
> Carlos Sanchez wrote:
> > Hi,
> >
> > I've notice that this change was included after the RC1. This goes
> > against the version naming policy, 1.0.0 must be the same as 1.0.0-RC1
> > except for critical bug fixes.
> >
> > It'd be better to create a branch for 1.0.0 from the 1.0.0-RC1 tag and
> > set HEAD to 1.1, where you could keep development.
> >
> > Regards
> >
>
>
> --
>   Luke Taylor.  Monkey Machine Ltd.
>   PGP Key ID: 0x57E9523Chttp://www.monkeymachine.ltd.uk
>
>
>
> ---
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> ___
> Home: http://acegisecurity.org
> Acegisecurity-developer mailing list
> Acegisecurity-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
>


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] LDAP Provider

2005-12-22 Thread Carlos Sanchez
Hi,

I've notice that this change was included after the RC1. This goes
against the version naming policy, 1.0.0 must be the same as 1.0.0-RC1
except for critical bug fixes.

It'd be better to create a branch for 1.0.0 from the 1.0.0-RC1 tag and
set HEAD to 1.1, where you could keep development.

Regards

On 12/21/05, Luke Taylor <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> Just a short note to say that the new incarnation of the LDAP provider
> is now available if you want to take a look at it. It's still a work in
> progress but I'm keen to get feedback and suggestions so that any
> changes can be nailed down before the 1.0 release.
>
> The code is in org.apache.providers.ldap.
>
> I haven't written anything for the reference guide yet, but will get
> round to it soon. The tests are a good place to start and there is quite
> a bit of Javadoc and a simple LDAP version of the contacts sample app
> (though you'll need a server with the appropriate data for this to work
> at the moment). I'll include an embedded apache DS instance in the app
> later.
>
> cheers,
>
> Luke.
>
> --
>   Luke Taylor.  Monkey Machine Ltd.
>   PGP Key ID: 0x57E9523Chttp://www.monkeymachine.ltd.uk
>
>
>
> ---
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> ___
> Home: http://acegisecurity.org
> Acegisecurity-developer mailing list
> Acegisecurity-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
>


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] CVS update fails

2005-12-06 Thread Carlos Sanchez
I've seen this problem the other day and today is still there


On 12/6/05, Brandon Keepers <[EMAIL PROTECTED]> wrote:
> I've been trying to update my CVS checkout of acegi all morning and
> keep getting the same error:
>
> cvs update: failed to create lock directory for
> `/cvsroot/acegisecurity/acegisecurity/core/src/main/java/org/acegisecurity/userdetails'
> (/cvsroot/acegisecurity/acegisecurity/core/src/main/java/org/acegisecurity/userdetails/#cvs.lock):
> Permission denied
> cvs update: failed to obtain dir lock in repository
> `/cvsroot/acegisecurity/acegisecurity/core/src/main/java/org/acegisecurity/userdetails'
> cvs [update aborted]: read lock failed - giving up
>
> Brandon
>
>
> ---
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_idv37&alloc_id865&opclick
> ___
> Home: http://acegisecurity.org
> Acegisecurity-developer mailing list
> Acegisecurity-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
>


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] 1.0.0 Progress

2005-11-26 Thread Carlos Sanchez
I upgraded the maven jalopy plugin to the latest jalopy jar and I'm
getting exceptions.

On 11/26/05, Ben Alex <[EMAIL PROTECTED]> wrote:
> Mark St.Godard wrote:
> > Hey Ben,
> >
> > Have you had any luck getting the latest Jalopy plugin ?
> >
> > When I go to:
> >
> > http://jalopy.sourceforge.net/jalopy/download.html
> >
> > I get 404s will try again.. could be SF
> >
> I used http://jalopy.sourceforge.net/jalopy-eclipse/downloads.html.
> Alternatively, you could just go to
> http://sourceforge.net/project/showfiles.php?group_id=45216 and access
> them via the SF File Release System.
>
> Cheers
> Ben
>
>
> ---
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> ___
> Home: http://acegisecurity.org
> Acegisecurity-developer mailing list
> Acegisecurity-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
>


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] 1.0.0 Progress

2005-11-24 Thread Carlos Sanchez
I believe this can be solved upgrading the jalopy version
http://jalopy.sourceforge.net/
Let me take a look.

On 11/24/05, Ben Alex <[EMAIL PROTECTED]> wrote:
> Hi everyone
>
> We're making good progress towards releasing 1.0.0 RC 1, the target date
> of which is 4 December 2005 (to coincide with The Spring Experience).
>
> *** Would the community please report any outstanding bugs in JIRA ASAP
> so they are tracked and fixed. Thanks. ***
>
> The outstanding 1.0.0 tasks are in JIRA at
> http://opensource2.atlassian.com/projects/spring/secure/BrowseProject.jspa?id=10040.
> Would developers please take a look and update the status of their
> respective tasks. Please modify the "fix version" of your tasks to
> "unknown" if you won't get time to complete your task before RC 1.
>
> Also regarding SEC-97, is anyone aware of a replacement for Jalopy
> source code formatter? Jalopy fails with Java 1.5 generics, which is an
> issue. We should take advantage of this task to update to a tool that
> supports Java 5.
>
> Best regards
> Ben
>
>
> ---
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> ___
> Home: http://acegisecurity.org
> Acegisecurity-developer mailing list
> Acegisecurity-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
>


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] jcifs dependency in project.xml

2005-11-11 Thread Carlos Sanchez
done, although it wasn't needed because it was in the private acegi repo

On 11/11/05, Matt DeHoust <[EMAIL PROTECTED]> wrote:
> It appears that the groupId in project.xml for jcifs-1.2.6 needs to be
> changed to org.samba.jcifs. This is where I found the dependency on ibiblio.
>
>  Thanks,
>  Matt
>


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
Home: http://acegisecurity.org
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] Vote: Release 0.9.0

2005-11-07 Thread Carlos Sanchez
Hi all,

Some comments:

- Currently acegi depends on apache directory 0.9-SNAPSHOT, which
means this version has to be fixed (never release depending on
SNAPSHOTS as they can change). I'm committing now a project.xml change
to depend on 0.9 (although there're newer versions released).

- whenever a new dependency is needed and is not in ibiblio the best
way is to post a maven upload request
(http://maven.apache.org/guides/mini/guide-ibiblio-upload.html) and
only use the private repo at
http://acegisecurity.sourceforge.net/maven/ to use snapshots and maybe
in the meantime the jar is not in ibiblio.

- about maven2 I'm still working on that, improving the build. Can you
send me the output when you run it with -X

Regards


On 11/7/05, Luke Taylor <[EMAIL PROTECTED]> wrote:
> Hola Carlos,
>
> When I try the build with Maven 2.0 (with a view to switching the
> automated build to M2 eventually), I'm getting a problem with tools.jar
> as a dependency, both running on linux and on OS X (I would have
> expected it on the latter, 'cos it doesn't have one). When building the
> CAS adapter module, I get:
>
> [INFO] Failed to resolve artifact.
>
> GroupId: java
> ArtifactId: tools
> Version: 1.4
>
> Reason: Unable to download the artifact from any repository
>java:tools:1.4:jar
>
> from the specified remote repositories:
>central (http://repo1.maven.org/maven2)
>
> Have you any idea where this is coming from? Are there still problems
> with Maven 2 itself, or are they specific to our Acegi stuff. I'm keen
> to start using it.
>
> cheers,
>
> Luke.
>
> P.S. +1 I'm all for doing the release if no one has any reported problems.
>
>
> Carlos Sanchez wrote:
> > I'm working on that. You'll have news soon.
> >
> > On 11/7/05, Andreas Brenk <[EMAIL PROTECTED]> wrote:
> >> It seems to me the Maven 2 build (SEC-62) is not up-to-date and should
> >> be marked as unresolved.
> >>
> >> Regards,
> >> Andreas
> >>
> >> On 11/7/05, Ben Alex <[EMAIL PROTECTED]> wrote:
> >>> The JIRA changelog is now complete, and I've just updated the reference
> >>> guide to reflect the latest changes:
> >>> http://opensource2.atlassian.com/projects/spring/browse/SEC?report=com.atlassian.jira.plugin.system.project:roadmap-panel
> >>>
> >>> I would like to propose we release 0.9.0 at this point. Please let me
> >>> know if you agree.
> >
> >
> > ---
> > SF.Net email is sponsored by:
> > Tame your development challenges with Apache's Geronimo App Server. Download
> > it for free - -and be entered to win a 42" plasma tv or your very own
> > Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
> > ___
> > Home: http://acegisecurity.sourceforge.net
> > Acegisecurity-developer mailing list
> > Acegisecurity-developer@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
> >
>
> --
>   Luke Taylor.  Monkey Machine Ltd.
>   PGP Key ID: 0x57E9523Chttp://www.monkeymachine.ltd.uk
>
>
>
>
> ---
> SF.Net email is sponsored by:
> Tame your development challenges with Apache's Geronimo App Server. Download
> it for free - -and be entered to win a 42" plasma tv or your very own
> Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
> ___
> Home: http://acegisecurity.sourceforge.net
> Acegisecurity-developer mailing list
> Acegisecurity-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
>


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
Home: http://acegisecurity.sourceforge.net
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] Vote: Release 0.9.0

2005-11-07 Thread Carlos Sanchez
I'm working on that. You'll have news soon.

On 11/7/05, Andreas Brenk <[EMAIL PROTECTED]> wrote:
> It seems to me the Maven 2 build (SEC-62) is not up-to-date and should
> be marked as unresolved.
>
> Regards,
> Andreas
>
> On 11/7/05, Ben Alex <[EMAIL PROTECTED]> wrote:
> > The JIRA changelog is now complete, and I've just updated the reference
> > guide to reflect the latest changes:
> > http://opensource2.atlassian.com/projects/spring/browse/SEC?report=com.atlassian.jira.plugin.system.project:roadmap-panel
> >
> > I would like to propose we release 0.9.0 at this point. Please let me
> > know if you agree.
>


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
Home: http://acegisecurity.sourceforge.net
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] FW: Trouble getting maven test:test goal to run

2005-11-05 Thread Carlos Sanchez
Try running clean first. Seems that you've compiled classes with
clover and maven is picking those.

On 11/5/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Hi all,
> I'm having trouble running the core test:test maven goal to run.
> Any ideas on what I'm doing wrong?
> Thanks,
> Scott
>
> C:\java\eclipse\workspace\acegisecurity\core>maven test:test  __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0.2
>
> Attempting to download apacheds-main-0.9-SNAPSHOT.jar.
> [echo] Using root dir: C:\java\eclipse\workspace\acegisecurity
> build:start:
>
> java:prepare-filesystem:
>
> java:compile:
> [echo] Compiling to
> C:\java\eclipse\workspace\acegisecurity\core/target/classes
>
> java:jar-resources:
>
> test:prepare-filesystem:
>
> test:test-resources:
>
> test:compile:
>
> test:test:
> [junit] Running net.sf.acegisecurity.acl.AclProviderManagerTests
> [CLOVER] FATAL ERROR: Clover could not be initialised. Are you sure you have
> Clover in the runtime classpath? (class java.lang.NoCla
> ssDefFoundError:com_cenqua_clover/CloverVersionInfo)
> [CLOVER] FATAL ERROR: Clover could not be initialised. Are you sure you have
> Clover in the runtime classpath? (class java.lang.NoCla
> ssDefFoundError:com_cenqua_clover/CloverVersionInfo)
> [junit] Tests run: 9, Failures: 0, Errors: 9, Time elapsed: 0.156 sec
> [junit] [ERROR] TEST net.sf.acegisecurity.acl.AclProviderManagerTests
> FAILED
> [junit] Running net.sf.acegisecurity.acl.basic.BasicAclProviderTests
> [CLOVER] FATAL ERROR: Clover could not be initialised. Are you sure you have
> Clover in the runtime classpath? (class java.lang.NoCla
> ssDefFoundError:com_cenqua_clover/CloverVersionInfo)
> [CLOVER] FATAL ERROR: Clover could not be initialised. Are you sure you have
> Clover in the runtime classpath? (class java.lang.NoCla
> ssDefFoundError:com_cenqua_clover/CloverVersionInfo)
> [junit] Tests run: 13, Failures: 0, Errors: 13, Time elapsed: 0.297 sec
> [junit] [ERROR] TEST
> net.sf.acegisecurity.acl.basic.BasicAclProviderTests FAILED
> [junit] Running
> net.sf.acegisecurity.acl.basic.cache.BasicAclEntryHolderTests
> [CLOVER] FATAL ERROR: Clover could not be initialised. Are you sure you have
> Clover in the runtime classpath? (class java.lang.NoCla
> ssDefFoundError:com_cenqua_clover/CloverVersionInfo)
> [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.016 sec
> [junit] [ERROR] TEST
> net.sf.acegisecurity.acl.basic.cache.BasicAclEntryHolderTests FAILED
> [CLOVER] FATAL ERROR: Clover could not be initialised. Are you sure you have
> Clover in the runtime classpath? (class java.lang.NoCla
> ssDefFoundError:com_cenqua_clover/CloverVersionInfo)
>
> BUILD FAILED
> File.. C:\Documents and
> Settings\smccrory\.maven\cache\maven-test-plugin-1.6.2\plugin.jelly
> Element... junit
> Line.. 133
> Column 41
> java.lang.NoClassDefFoundError
> Total time: 4 seconds
> Finished at: Sat Nov 05 14:39:29 EST 2005
>
> C:\java\eclipse\workspace\acegisecurity\core>
>
>
>
> ---
> SF.Net email is sponsored by:
> Tame your development challenges with Apache's Geronimo App Server. Download
> it for free - -and be entered to win a 42" plasma tv or your very own
> Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
> ___
> Home: http://acegisecurity.sourceforge.net
> Acegisecurity-developer mailing list
> Acegisecurity-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
>


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
Home: http://acegisecurity.sourceforge.net
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] Problem checking out from CVS with Maven

2005-11-04 Thread Carlos Sanchez
It works for me in maven 1.1-beta-2. Deprecated properties still work.

On 11/4/05, Ballard, Ken <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Someone I work with pointed out that the instructions for checking out Maven
> [http://www.acegisecurity.org/building.html] don't work. It might just be
> because the SCM plugin has deprecated maven.scm.method,
> maven.scm.cvs.module, maven.scm.method, and maven.scm.cvs.root. I tried to
> use other properties, but I don't have a CVS client (We use SVN and
> StarTeam). I think it would be a quick fix. I'll try to download a CVS
> client when I get a chance and try it with other properties.
>
> Thanks,
> Ken
>
>
> ---
> SF.Net email is sponsored by:
> Tame your development challenges with Apache's Geronimo App Server. Download
> it for free - -and be entered to win a 42" plasma tv or your very own
> Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
> ___
> Home: http://acegisecurity.sourceforge.net
> Acegisecurity-developer mailing list
> Acegisecurity-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
>


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
Home: http://acegisecurity.sourceforge.net
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] Cobertura reports

2005-10-03 Thread Carlos Sanchez
On 10/3/05, Ben Alex <[EMAIL PROTECTED]> wrote:
> Please let the list know when you make the upgrade, as I had some
> difficulty with 1.1 Beta 1 (though note it's now Beta 2).
>
> Any timeline on Maven 2 RC? Is Maven 2 Beta 1 sufficiently stable yet? I
> am really wanting to give it a try. At a stability level, is it even
> worth upgrading Acegi Security to 1.1 Beta 2, or waiting for either a
> newer 2.0 Beta or 1.1 RC? Can they (1.1 and 2) be run side-by-side easily?

I'll commit the changes needed to work with 1.1beta2, but it'll still
be backwards compatible, so there's no problem for those still using
1.0. 1.1beta1 had some problems, but I consider beta2 very stable, and
has lot of improvements. After I commit the changes you can give it a
try and decide if switching or waiting.

I have a basic working m2 configuration, which I can commit also, it's
completely independent from maven 1.x so you can use both at the same
time as m2 goes toward the final release. m2 is absolutely faster, but
it still lacks the functionality of all those maven 1 plugins out
there. m2 is absolutelly worth for compiling and running the tests.

I'll let you know guys when it's ready to use both m1.1 an m2.

>
> Cheers
> Ben
>
>
> ---
> This SF.Net email is sponsored by:
> Power Architecture Resource Center: Free content, downloads, discussions,
> and more. http://solutions.newsforge.com/ibmarch.tmpl
> ___
> Home: http://acegisecurity.sourceforge.net
> Acegisecurity-developer mailing list
> Acegisecurity-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
>


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
Home: http://acegisecurity.sourceforge.net
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


[Acegisecurity-developer] Cobertura reports

2005-09-26 Thread Carlos Sanchez
Hi,

I've uploaded the results of the cobertura report for acegi core
project, if you like we can add them to the generated reports (and
maybe remove commercial clover). One drawback is that afaik it doesn't
allow filtering statements like logging.
http://maven-plugins.sourceforge.net/maven-cobertura-plugin/index.html

http://acegisecurity.sourceforge.net/multiproject/acegi-security/cobertura/index.html
http://acegisecurity.sourceforge.net/multiproject/acegi-security/cobertura/cobertura-check.html

The second one requires maven 1.1, which I plan to support asap
http://opensource2.atlassian.com/projects/spring/browse/SEC-57.

Regards


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
Home: http://acegisecurity.sourceforge.net
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


Re: [Acegisecurity-developer] Security Annotation support (initial)

2005-08-22 Thread Carlos Sanchez
Hi,

I'd really encourage the use of two jars, core and core-tiger, instead
of packaging the tiger classes inside core jar, because the core-tiger
probably depends on core and you don't want core to depend on tiger.
You'll notice the problem of that approach in any tool with transitive
dependency resolution like Maven2, Ivy or any other.

Anyway the solution maybe something like this, check the java.version
property and run maven in the other project. This will require having
the sources for core-tiger. It'd be better adding a dependency to the
core-tiger jar and extract it in classes before making the jar, but
then you propably get circular dependencies, which it's a reson to go
back to my first suggestion.

   
   
   
   Java5
   
   
   

this won't work if you're using another compiler other than the used
to run maven (overriding maven.compile.executable
http://maven.apache.org/reference/plugins/java/properties.html), but I
don't think that's a common case.

Regards

Carlos Sanchez
http://www.jroller.com/page/carlossg

On 8/21/05, Ben Alex <[EMAIL PROTECTED]> wrote:
> Mark St.Godard wrote:
> 
> >I just wanted to make sure I dont check in code that breaks JDK 1.4
> >users from building the CVS HEAD examples, etc.
> >
> >Therefore to sum up:
> >
> >- can we package the core-tiger classes into the single acegi security dist?
> >- where should the new samples (for java5) be located?
> >
> >Thoughts?
> >
> >
> Yesterday I asked whether anyone was using the Commons Attributes
> support. The reason is that when you install commons-attributes-plugin,
> you in effect add a plugin to Maven that will throw exceptions if you
> are using any Java 1.5 features such as annotations and enums.
> 
> http://jakarta.apache.org/commons/attributes/maven_demo.html indicates
> that 2.1 is the latest version of the Commons Attributes plugin, so you
> install using:
> 
> maven plugin:download -DgroupId=commons-attributes-plugin
> -DartifactId=commons-attributes-plugin -Dversion=2.1
> 
> However, if you install the plugin and then use Java 1.5-specific
> features in your build, this is what the Maven build will give you:
> 
> (What happens for an enum):
> Error parsing File .\CounterEnum.java:Encountered "enum" at line 9,
> column 8.
> Was expecting one of:
> "abstract" ...
> "interface" ...
> "public" ...
> "strictfp" ...
> "final" ...
> "class" ...
> 
> (What happens for a generics declaration):
> Error parsing File \RoleDaoHibernate.java:Encountered "<" at line
> 21, column 51.
> Was expecting one of:
> "implements" ...
> "{" ...
> "." ...
> 
> According to http://jakarta.apache.org/commons/attributes/faq.html:
> 
> *Q: What are the future plans for Commons-Attributes?**
> 
> A:* As indicated above, C-A isn't expected to live beyond widespread
> adoption of Java 5.0. But until then, the main area of concern is ease
> of use
> 
> The above issue is therefore only a concern for people wishing to build
> the /samples/attributes sample, as then the plugin is required. I think
> we should therefore disable the /samples/attributes as part of the /docs
> multiproject build, leaving it to users of Commons Attributes to
> manually build (and install the problematic plugin) if they so wish.
> Does anyone have a concern with that?
> 
> Assuming we do the above, I think that having a new sample specifically
> for annotations would be appropriate. We can use the same classes as
> used in the attributes sample, so that people can compare the two
> approaches. Of course, the attributes sample would have in its
> project.properties the 1.5-specific source and compile properties.
> 
> I have no issue with having the 1.5-specific classes in the
> acegi-security-xxx.jar. Achieving that will need some /core/maven.xml
> jar:jar pre-goal customisation. Two approaches would be to run the
> /core-tiger build if 1.5 is detected and then copy the files across to
> /core/target/classes. Alternatively, just copy the
> /core-tiger/target/classes if they exist to /core/target/classes and
> expect users to first build core-tiger (such that the
> /core-tiger/target/classes exists). The latter approach is easier, but
> I'm sure the former is achievable with Maven as well.
> 
> Cheers
> Ben
> 
> 
> ---
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Dev

Re: [Acegisecurity-developer] IMPORTANT: Project management procedures

2005-07-28 Thread Carlos Sanchez
+1

Regards

Carlos Sanchez

On 7/28/05, Ben Alex <[EMAIL PROTECTED]> wrote:
> Scott McCrory wrote:
> 
> >On Mon, 25 Jul 2005 12:17:29 +1000, Ben Alex wrote
> >
> >
> >>Hi everyone
> >>
> >>Now that we've got 14 developers with CVS rights, and we've recently
> >>introduced JIRA, I wish to propose some project management {...}
> >>
> >>
> >
> >These are good and I'd recommend converting it into a new developer's guide
> >or orientation artifact that can be referenced on the Agegi site.
> >
> >
> >
> Thanks Scott.
> 
> Did anyone else have any feedback? I received some off-list support for
> the proposals, but I'd like to encourage some more discussion before we
> standardise on anything. Even a +1 if you're in agreement would be good
> (non-developers are invited to vote or provide feedback as well).
> 
> Cheers
> Ben
> 
> 
> ---
> SF.Net email is Sponsored by the Better Software Conference & EXPO September
> 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> ___
> Home: http://acegisecurity.sourceforge.net
> Acegisecurity-developer mailing list
> Acegisecurity-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
>


---
SF.Net email is Sponsored by the Better Software Conference & EXPO September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
Home: http://acegisecurity.sourceforge.net
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


RE: [Acegisecurity-developer] Reducing the number of filters needed in web.xml

2005-01-30 Thread Carlos Sanchez
Using my proposed syntax each filter configuration can be separated in 
different files and reused, furthermore there are many bean
definitions that can be bundled with acegi out of the box.

Spring is about using POJOs, avoiding complex hierarchies and interface 
implementations as it's done with EJB. It's a difference
between using Spring as a tool to help development or developing for Spring, 
which avoids reuse.

> -Original Message-
> From: bryan ( [EMAIL PROTECTED]) <[EMAIL PROTECTED]>
> Date: Wed, 26 Jan 2005 15:37:11 +
> Subject: Re: [Acegisecurity-developer] Reducing the number of 
> filters needed in web.xml
> To: acegisecurity-developer@lists.sourceforge.net
> 
> 
> .. a *lot* more verbose.
> 
> We already use the syntax that I suggested for the security 
> roles and it is perfectly adequate.
> 
> I find that an extremely convoluted solution. Remember that 
> people also have to configure another 20 or so XML files for 
> the average web app these days.
> 
> XML is not a magic hammer, we don't want to end up with 
> another STRUTS at the end of this.
> 
> --b
> 
> 
> On Tue, 25 Jan 2005 23:28:31 +0100, Carlos Sanchez 
> <[EMAIL PROTECTED]> wrote:
> > To sum up,
> >
> > I'll create a class called 
> net.sf.acegisecurity.FilterChain, with a property called filters.
> >
> > About the syntax, I looked at , that would suit here, 
> but Spring 
> > application context don't allow beans as keys, maybe a lack 
> of functionality?
> >
> > If we use this one we lose validation, so another option could be:
> >
> >  class="net.sf.acegisecurity.FilterMapping">
> > /*
> > 
> >
> > 
> >  > local="channelProcessingFilter"/>
> > 
> >
> >  parent="filterMapping">
> >  > local="authenticationProcessingFilter"/>
> > 
> >
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >
> > More verbose, sure, but allows validation and avoids 
> parsing and it's unlikely to change from one app to another.
> > If you are using XML you should avoid parsing text, that's 
> the goal of XML. The problem is that Spring DTD is a bit verbose.
> >
> > On Mon, 24 Jan 2005 11:15:03 +1100, Ben Alex 
> <[EMAIL PROTECTED]> wrote:
> > > bryan ( [EMAIL PROTECTED]) wrote:
> > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >channelProcessingFilter=/*
> > > >authenticationProcessingFilter=/*
> > > >basicProcessingFilter=/*
> > > >sessionIntegrationFilter=/*
> > > >securityEnforcementFilter=/*
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > +1, especially using the syntax shown above as it's nice 
> and intuitive.
> > >
> > >
> > > ---
> > > This SF.Net email is sponsored by: IntelliVIEW -- Interactive 
> > > Reporting Tool for open source databases. Create drag-&-drop 
> > > reports. Save time by over 75%! Publish reports on the 
> web. Export to DOC, XLS, RTF, etc.
> > > Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> > > ___
> > > Home: http://acegisecurity.sourceforge.net
> > > Acegisecurity-developer mailing list 
> > > Acegisecurity-developer@lists.sourceforge.net
> > > 
> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
> > >
> >
> > ---
> > This SF.Net email is sponsored by: IntelliVIEW -- Interactive 
> > Reporting Tool for open source databases. Create 
> drag-&-drop reports. 
> > Save time by over 75%! Publish reports on the web. Export 
> to DOC, XLS, RTF, etc.
> > Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> > ___
> > Home: http://acegisecurity.sourceforge.net
> > Acegisecurity-developer mailing list
> > Acegisecurity-developer@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
> >
> 
> ---
> This SF.Net email is sponsored by: IntelliVIEW -- Interact

RE: [Acegisecurity-developer] Acegi jars at ibiblio

2005-01-25 Thread Carlos Sanchez
The notice files are not uploaded, only one file.

> -Original Message-
> From: Ben Alex <[EMAIL PROTECTED]>
> Date: Mon, 24 Jan 2005 11:18:27 +1100
> Subject: Re: [Acegisecurity-developer] Acegi jars at ibiblio
> To: acegisecurity-developer@lists.sourceforge.net
> 
> 
> Carlos Sanchez wrote:
> 
> >Hi,
> >
> >I've uploaded all acegi artifacts at
> http://acegisecurity.sourceforge.net/maven/acegisecurity/ 
> (jars, poms and licenses) to ibiblio.
> >
> >Now they're available http://www.ibiblio.org/maven/acegisecurity
> >
> >
> >
> Carlos, just re the licenses, I'm not sure of what's normal 
> but I think we should have the notice.txt file in the 
> licenses directory as well, given it's referred to by the 
> license.txt file. I coded some postGoals to add it to the 
> JARs themselves, but given there's a licenses directory we 
> probably should populate it accordingly.
> 
> Thanks
> Ben
> 
> 
> ---
> This SF.Net email is sponsored by: IntelliVIEW -- Interactive 
> Reporting Tool for open source databases. Create drag-&-drop 
> reports. Save time by over 75%! Publish reports on the web. 
> Export to DOC, XLS, RTF, etc.
> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> ___
> Home: http://acegisecurity.sourceforge.net
> Acegisecurity-developer mailing list
> Acegisecurity-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
> 




---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
Home: http://acegisecurity.sourceforge.net
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


RE: [Acegisecurity-developer] Reducing the number of filters needed in web.xml

2005-01-25 Thread Carlos Sanchez
To sum up,

I'll create a class called net.sf.acegisecurity.FilterChain, with a property 
called filters.

About the syntax, I looked at , that would suit here, but Spring 
application context don't allow beans as keys, maybe a lack of
functionality?

If we use this one we lose validation, so another option could be:


/*




















More verbose, sure, but allows validation and avoids parsing and it's unlikely 
to change from one app to another.
If you are using XML you should avoid parsing text, that's the goal of XML. The 
problem is that Spring DTD is a bit verbose.


On Mon, 24 Jan 2005 11:15:03 +1100, Ben Alex <[EMAIL PROTECTED]> wrote:
> bryan ( [EMAIL PROTECTED]) wrote:
> 
> >
> >
> >
> >
> >
> >channelProcessingFilter=/*
> >authenticationProcessingFilter=/*
> >basicProcessingFilter=/*
> >sessionIntegrationFilter=/*
> >securityEnforcementFilter=/*
> >
> >
> >
> >
> >
> >
> >
> >
> +1, especially using the syntax shown above as it's nice and intuitive.
> 
> 
> ---
> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> Tool for open source databases. Create drag-&-drop reports. Save time
> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> ___
> Home: http://acegisecurity.sourceforge.net
> Acegisecurity-developer mailing list
> Acegisecurity-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
> 




---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
Home: http://acegisecurity.sourceforge.net
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


[Acegisecurity-developer] Acegi jars at ibiblio

2005-01-23 Thread Carlos Sanchez
Hi,

I've uploaded all acegi artifacts at 
http://acegisecurity.sourceforge.net/maven/acegisecurity/ (jars, poms and 
licenses) to ibiblio.

Now they're available http://www.ibiblio.org/maven/acegisecurity

Regards

Carlos Sanchez
A Coruña, Spain
http://www.jroller.com/page/carlossg




---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
Home: http://acegisecurity.sourceforge.net
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


[Acegisecurity-developer] Reducing the number of filters needed in web.xml

2005-01-23 Thread Carlos Sanchez
Hi,

I think this was already discussed but I wasn't able to find it.

I'd like to reduce the number of filters in web.xml to just one, say


  Acegi Filter
  net.sf.acegisecurity.util.FilterToBeanProxy
  
targetClass
net.sf.acegisecurity.FilterChain
  


And configure the chain of filters in the application context, something like


  

  
  
  
  
  

  
  

  /*
  /*
  /*
  /*
  /*

  

Any thoughts?

Regards

Carlos Sanchez
A Coruña, Spain
http://www.jroller.com/page/carlossg




---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
Home: http://acegisecurity.sourceforge.net
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


[Acegisecurity-developer] Maven site deploy

2005-01-15 Thread Carlos Sanchez
Hi,

Now it's possible to deploy each subproject separately, using site:deploy. If 
only a subproject is modified there's no need to
regenerate all the docs. This is also useful if using a continuous integration 
build tool, e.g. CruiseControl.

The doc project generates the main pages of the site and for those reports (as 
dashboard) that need data from other subprojects be
sure to have the files generated by a previous call to "maven site" in each 
subproject. Now it's possible to generate the site
without using multiproject and thus avoiding memory problems.

Regards

Carlos Sanchez
A Coruña, Spain
http://www.jroller.com/page/carlossg




---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
Home: http://acegisecurity.sourceforge.net
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


RE: [Acegisecurity-developer] Preparing for 0.7.0

2004-12-29 Thread Carlos Sanchez
Hi all,

The docbook stuff should be ready now. I'm trying to release the maven sdocbook 
plugin, so we can remove the SNAPSHOT dependency, in
the meantime I've created a dated version so it doesn't get downloaded every 
time.

Regards

Carlos Sanchez
A Coruña, Spain
http://www.jroller.com/page/carlossg


> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] 
> On Behalf Of Scott McCrory
> Sent: Wednesday, December 29, 2004 11:48 PM
> To: acegisecurity-developer@lists.sourceforge.net
> Subject: Re: [Acegisecurity-developer] Preparing for 0.7.0
> 
> Ben,
>Just curious - what's your approach towards an eventual 
> 1.0 release?  I ask because technical managers, architecture 
> review boards, etc. can misinterpret sub-1.0 versions as 
> unstable, whereas even Acegi 0.6 most certainly is not!
>Thanks in advance,
>Scott
> 
> 
> ---
> The SF.Net email is sponsored by: Beat the post-holiday blues 
> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
> It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
> ___
> Home: http://acegisecurity.sourceforge.net
> Acegisecurity-developer mailing list
> Acegisecurity-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
> 




---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
Home: http://acegisecurity.sourceforge.net
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


[Acegisecurity-developer] RE: Maven Build

2004-11-28 Thread Carlos Sanchez
Hi,

Seems that you run multiproject:site from root and it's not building the 
correct site (check the one at sf). My mistake, it has to
be run from doc. Could you deploy the site to sf automatically?

Another typo in my previous mail to acegi-developer is that you'll need  
-Dmaven.username=your_username in maven 1.0.1, instead of
-Dusername

About the memory I had published a entry in my weblog about how to increase it, 
if you need.

I'm committing a change, moving common reports to the doc subproject.

Note that reports in subprojects aren't added to parent reports, instead 
override them.

Regards

Carlos Sanchez
A Coruña, Spain
http://www.jroller.com/page/carlossg

> -Original Message-
> From: Luke Taylor [mailto:[EMAIL PROTECTED] 
> Sent: Sunday, November 28, 2004 6:28 PM
> To: Carlos Sanchez
> Subject: Re: Maven Build
> 
> Hi Carlos,
> 
> Congratulations on successfully reworking the build. I 
> managed to get it running on monkeymachine.co.uk:
> 
> http://monkeymachine.co.uk/acegi/maven-reports.html
> 
> I had to disable the statcvs plugin though because I was 
> getting an OutOfMemoryError. I think it would probably be 
> best to run statcvs once for the entire codebase and disable 
> it for the subprojects - perhaps likewise for the changelog 
> report, as obtaining cvs logs from Sourceforge is pretty 
> inefficient. Also the number of commits is sufficiently low 
> that a separate report for each subproject probably isn't necessary.
> 
> What do you think? In the past, I remember the only way of 
> doing this was to specify exactly which reports were required 
> in each subproject's project.xml file, rather than have them 
> inherit from the top level one.
> 
> cheers,
> 
> Luke.
> 
> 
> -- 
>   Luke Taylor.  Monkey Machine Ltd.
>   PGP Key ID: 0x57E9523Chttp://www.monkeymachine.ltd.uk
> 
> 
> 
> 




---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
___
Acegisecurity-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


[Acegisecurity-developer] Building with Maven

2004-11-28 Thread Carlos Sanchez
Hi,

The jars and wars can be built and copied to the local repo running "maven 
multiproject:install" from the root or doc folder.

To deploy to http://acegisecurity.sourceforge.net/maven, try running "maven 
multiproject:deploy". You'll need to set the following
properties in build.properties in the  root acegi folder or 
$HOME/build.properties
maven.repo.acegi.username=
maven.repo.acegi.privatekey=
maven.repo.acegi.passphrase= 

The acegi site can be built from the doc folder with "maven multiproject:site" 
and deployed to sf with "maven site:sshdeploy" or at
the same time with "maven multiproject:site site:sshdeploy". Note that the site 
plugin doesn't use the same java based ssh client as
the artifact deploy plugin, and you need a ssh client installed, and a ssh 
agent so you aren't asked for the password.

It can be useful to specify -Dmaven.test.failure.ignore=true so the site is 
built although tests fail. The junit reports will show
the errors.


There's a bug in maven 1.0.1 thay may prevent the correct building of Acegi
http://jira.codehaus.org/browse/MAVEN-1501

You may need to run maven passing some parameters in the command line:
maven.repo.remote: The first time will be needed, so jars are downloaded from 
the remote repositories
username: if you're a developer, needed in some reports (as cvs ones)

So you may need to run maven with
-Dmaven.repo.remote=http://www.ibiblio.org/maven,http://acegisecurity.sourceforge.net/maven,http://maven-plugins.sourceforge.net/rep
ository -Dusername=your_username


If I forget something, please tell me.

Regards

Carlos Sanchez
A Coruña, Spain
http://www.jroller.com/page/carlossg




---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
___
Acegisecurity-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


[Acegisecurity-developer] RE: Maven and acegi docbook

2004-11-14 Thread Carlos Sanchez
I'm moving docs now, I'll take a look to the stylesheet later this week.

I agree with your multiproject suggestion.

Regards

Carlos Sanchez
A Coruña, Spain
http://www.jroller.com/page/carlossg



> -Original Message-
> From: Ben Alex [mailto:[EMAIL PROTECTED] 
> Sent: Sunday, November 14, 2004 9:06 PM
> To: [EMAIL PROTECTED]; Carlos Sanchez
> Subject: Re: Maven and acegi docbook
> 
> Carlos Sanchez wrote:
> 
> >Hi,
> >
> >What do you think about moving docs to a new subproject? this way 
> >people building the core don't need to download docbook zip 
> nor jimi by hand.
> >
> >
> >  
> >
> Hi Carlos
> 
> Good idea, go for it. Had a chance to look at that stylesheet issue?
> 
> On a related note, what subprojects are we going to include 
> in multiproject:artifact? I feel that goal is mostly for 
> developers so it should include core, samples, adapters and 
> docs. Most people wanting to do a quick change to the code 
> would probably just use jar:jar from the core directory. Your 
> thoughts?
> 
> Ben
> 
> 
> 



---
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
___
Acegisecurity-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


[Acegisecurity-developer] Write a rule overriding a less specific one, allowing any user to call a specific url

2004-07-18 Thread Carlos Sanchez
Hi,

My question is: can I write a rule in filter security interceptor so an URL
doesn't need to have a role (needed to override a less specific one)?

e.g. in the following bean I want that all *.do except populateDatabase.do
need ROLE_USER.
populateDatabase.do can be called by any user although he hadn't logged in
before.





 

CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON
PATTERN_TYPE_APACHE_ANT
/secure/**=ROLE_ADMIN
/populateDatabase.do=SOMETHING HERE
/**/*.do=ROLE_USER




Regards

Carlos Sanchez
A Coruña, Spain

Oness Project
http://oness.sourceforge.net




---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idG21&alloc_id040&op=click
___
Acegisecurity-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


RE: [Acegisecurity-developer] is there support for Hibernate?

2004-06-30 Thread Carlos Sanchez
Hi,

That's exactly what you have to do. I've already implemented something that
can help you and will be included in http://oness.sourceforge.net. In the
meantime you can try something similar to this:

public class UserHibernateDao
extends HibernateDaoSupport
implements AuthenticationDao {


public net.sf.acegisecurity.providers.dao.User loadUserByUsername(
String name)
throws UsernameNotFoundException, DataAccessException {

User user;
try {
user = (User) getHibernateTemplate().load(User.class, name);

/* the following is needed if using lazy loading */
//user =
//(User) getHibernateTemplate()
//.find(
//"from User as user left join fetch
user.authorities where user.name = ?",
//name)
//.get(0);

} catch (HibernateObjectRetrievalFailureException e) {
throw new UsernameNotFoundException("User not found");
}

Set auths = user.getAuthorities();
if (auths.size() == 0) {
throw new UsernameNotFoundException("User has no
GrantedAuthority");
}

GrantedAuthority[] arrayAuths = new GrantedAuthority[auths.size()];
Iterator iter = auths.iterator();
int i = 0;
while (iter.hasNext()) {
Authority element = (Authority) iter.next();
arrayAuths[i++] = new GrantedAuthorityImpl(element.getName());
}

return new net.sf.acegisecurity.providers.dao.User(
user.getName(),
user.getPassword(),
user.isEnabled(),
    arrayAuths);
}
}


Regards

Carlos Sanchez
A Coruña, Spain

Oness Project
http://oness.sourceforge.net
 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] 
> On Behalf Of Indra Gunawan
> Sent: Wednesday, June 30, 2004 8:58 AM
> To: '[EMAIL PROTECTED]'
> Subject: [Acegisecurity-developer] is there support for Hibernate?
> 
> Hi all,
> 
> I want to implement the security authentication using 
> Hibernate? But seems that I can't find one class that support 
> it should I extends from HibernateDaoSupport class of 
> Spring framework and implements AuthenticationDao ? or do I 
> miss the support class ?
> 
> TIA
> 
> Indra
> 
> 
> ---
> This SF.Net email sponsored by Black Hat Briefings & Training.
> Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
> digital self defense, top technical experts, no vendor 
> pitches, unmatched networking opportunities. Visit 
> www.blackhat.com ___
> Acegisecurity-developer mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
> 
> 




---
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
___
Acegisecurity-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


RE: [Acegisecurity-developer] Maven Build

2004-06-16 Thread Carlos Sanchez
Hi,

The change in the two commons-attributes jar version to "unknown"
> - SNAPSHOT
> + unknown
is not correct and will prevent the upload to the repository on ibiblio. You
have to choose a version number or SNAPSHOT.

About the directory layout I suggest you to take a look to 
http://maven.apache.org/reference/dirlayout.html 

Regards

Carlos Sanchez
A Coruña, Spain

Oness Project
http://oness.sourceforge.net


> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] 
> On Behalf Of Luke Taylor
> Sent: Wednesday, June 16, 2004 3:40 AM
> To: [EMAIL PROTECTED]
> Subject: [Acegisecurity-developer] Maven Build
> 
> Here it is:
> 
> http://monkeymachine.co.uk/acegi/maven-reports.html
> 
> I've got it set to build on a daily basis at the moment which 
> is probably enough.
> 
> I had to make a few changes to the maven files to get the 
> site to work. 
> Maven is happier if there is an xdocs directory in the project too.
> 
> cvs diff -u gives:
> 
> ? xdocs
> Index: project.properties
> ===
> RCS file: /cvsroot/acegisecurity/acegisecurity/project.properties,v
> retrieving revision 1.9
> diff -u -r1.9 project.properties
> --- project.properties8 Jun 2004 23:46:41 -   1.9
> +++ project.properties16 Jun 2004 01:30:37 -
> @@ -110,3 +110,5 @@
>   maven.jar.org.mortbay.jetty-extracted = 
> ${basedir}/lib/extracted/jetty/org.mortbay.jetty-extracted.jar
>   maven.jar.resin-extracted =
> ${basedir}/lib/extracted/resin/resin-extracted.jar
> 
> +
> +maven.site.deploy.method = fs
> Index: project.xml
> ===
> RCS file: /cvsroot/acegisecurity/acegisecurity/project.xml,v
> retrieving revision 1.1
> diff -u -r1.1 project.xml
> --- project.xml   8 Jun 2004 23:46:41 -   1.1
> +++ project.xml   16 Jun 2004 01:30:37 -
> @@ -10,6 +10,45 @@
>  Acegi Security System for 
> Spring
>  Acegi Security System for Spring
> 
> +   http://sourceforge.net/projects/acegisecurity
> +   /srv/www/htdocs/acegi
> +
> +
> +   
> + 
> scm:cvs:pserver:[EMAIL PROTECTED]:/cvs
root/acegisecurity:acegisecurity
> +  
> + 
> http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/acegisecur
ity/acegisecurity
> +   
> +
> +
> +   
> +  
> + Ben Alex
> + benalex
> + benalex at users.sourceforge.net
> + 
> +Project Admin'
> +Developer
> + 
> +  
> +  
> + Francois Beausoleil
> + fbos
> + fbos at users.sourceforge.net
> + 
> +Developer
> + 
> +  
> +  
> + Colin Sampaleanu
> + colins
> + colinml1 at exis.com
> + 
> +Developer
> + 
> +  
> +   
> +
>  
> 
> 
> @@ -96,7 +135,7 @@
> 
>commons-attributes
>commons-attributes-api
> - SNAPSHOT
> + unknown
>http://jakarta.apache.org/commons
>
>   true
> @@ -106,7 +145,7 @@
> 
>commons-attributes
>commons-attributes-compiler
> - SNAPSHOT
> + unknown
>http://jakarta.apache.org/commons
> 
> 
> @@ -245,7 +284,7 @@
> 
>  
> ${basedir}/src
> -  
> ${basedir}/tests
> +  
> ${basedir}/test
> 
> 
> 
> @@ -278,7 +317,11 @@
>  
> 
>  
> +  maven-changelog-plugin
> +  maven-developer-activity-plugin
> +  maven-file-activity-plugin
> maven-checkstyle-plugin
> +  
> maven-javadoc-plugin
> maven-jdepend-plugin
> maven-junit-report-plugin
> @@ -288,7 +331,7 @@
> maven-tasklist-plugin
> maven-simian-plugin
> maven-faq-plugin
> -  maven-jcoverage-plugin
> +  
> maven-clover-plugin
>  
> 
> 
> 
> 
> -- 
>   Luke Taylor.  Monkey Machine Ltd.
>   PGP Key ID: 0x57E9523Chttp://www.monkeymachine.ltd.uk
> 
> 
> 
> 
> ---
> This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
> Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
> Conference, June 28 - July 1 at the Moscone Center in San 
> Francisco, CA
> REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority 
> Code NWMGYKND
> __

RE: [Acegisecurity-developer] Can I use Acegi with an application that uses both Spring and Struts?

2004-06-11 Thread Carlos Sanchez
You can, I do ;)


Carlos Sanchez
A Coruña, Spain

Oness Project
http://oness.sourceforge.net
 




From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Alex Ruiz
Sent: Thursday, June 10, 2004 10:38 PM
To: [EMAIL PROTECTED]
Subject: [Acegisecurity-developer] Can I use Acegi with an
application that uses both Spring and Struts?



Hello everyone,

I have an application that uses Struts as the web framework and
Spring for IoC container, Hibernate support and Transaction handling.  It is
possible to use Acegi with this application or the application has to use
Spring as the web framework too?

 

Thank you very much in advance,

Alex Ruiz





---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
Acegisecurity-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


RE: [Acegisecurity-developer] Maven Build in CVS

2004-06-09 Thread Carlos Sanchez
 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] 
> On Behalf Of Ben Alex
> Sent: Wednesday, June 09, 2004 1:52 AM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: [Acegisecurity-developer] Maven Build in CVS
> 
> Thanks to Carlos Sanchez for providing an initial Maven build 
> file. I've just checked it into CVS along with some required 
> changes to library names.
> 
> Would others running from CVS please check if this works. As 
> previously stated, I haven't used Maven before. It seems to 
> build the main JAR correctly, and I guess that's the main 
> requirement for being added to iBiblio.

It's not required to build the jar with maven, you have to provide a
project.xml with at least dependencies, id, name, currentVersion and
groupId.

But if you use maven everything is easier ;) just check "maven
create-upload-bundle"

There is a common directory layout that I've seen in almost every maven
project and you should consider althought is not mandatory. This improves
readability of maven projects.
src/java for java classes
src/conf for resources
src/test for test classes and test resources

In project.properties there are lots of properties not needed by maven. Also
those related to the build can be moved to build.properties (as debug=on)

> 
> What is the best practise on which libraries we should be 
> keeping in CVS now that we have a Maven build file?

When you have tested that everything works with maven I suggest to remove
those jars available at ibiblio (keep only those that I've sent you)

Also I have guessed some version numbers, but if everything works that
should be ok ;)

> 
> Comments/feedback appreciated.
> 
> Carlos, are you on the acegisecurity-developer list?

Yes

> 
> Luke, have you had a chance to look at running builds for 
> Acegi Security alongside Spring as yet?
> 
> Thanks
> Ben
> 
> 
> 
> ---
> This SF.Net email is sponsored by: GNOME Foundation Hackers 
> Unite!  GUADEC: The world's #1 Open Source Desktop Event.
> GNOME Users and Developers European Conference, 28-30th June 
> in Norway http://2004/guadec.org 
> ___
> Acegisecurity-developer mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
> 
> 




---
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
___
Acegisecurity-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer