You need to do "clean package install"

Thanks
-Scott

-Scott Battaglia
PGP Public Key Id: 0x383733AA
LinkedIn: http://www.linkedin.com/in/scottbattaglia


On Mon, Mar 9, 2009 at 2:53 PM, Johan Reinalda <[email protected]
> wrote:

>  Also,
>
> when in the top folder (called trunk for me, from a clean svn checkout), I
> do
> mvn clean package, I get the following build errors. Again, related to
> springs frame work, but I do see that being loaded earlier:
>
> Ideas, what I am I doing wrong here >
>
> Johan
>
> ---------------
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building JA-SIG CAS LDAP Support
> [INFO]    task-segment: [package]
> [INFO]
> ------------------------------------------------------------------------
> Downloading:
> http://developer.ja-sig.org/maven2/org/springframework/ldap/spring-ldap/1.2.1/spring-ldap-1.2.1.pom
> Downloading:
> http://repo1.maven.org/maven2/org/springframework/ldap/spring-ldap/1.2.1/spring-ldap-1.2.1.pom
> 2K downloaded
> Downloading:
> http://developer.ja-sig.org/maven2/org/springframework/ldap/spring-ldap-tiger/1.2.1/spring-ldap-tiger-1.2.1.pom
> Downloading:
> http://repo1.maven.org/maven2/org/springframework/ldap/spring-ldap-tiger/1.2.1/spring-ldap-tiger-1.2.1.pom
> 1K downloaded
> Downloading:
> http://developer.ja-sig.org/maven2/org/springframework/ldap/spring-ldap/1.2.1/spring-ldap-1.2.1.jar
> Downloading:
> http://repo1.maven.org/maven2/org/springframework/ldap/spring-ldap/1.2.1/spring-ldap-1.2.1.jar
> 190K downloaded
> Downloading:
> http://developer.ja-sig.org/maven2/org/springframework/ldap/spring-ldap-tiger/1.2.1/spring-ldap-tiger-1.2.1.jar
> Downloading:
> http://repo1.maven.org/maven2/org/springframework/ldap/spring-ldap-tiger/1.2.1/spring-ldap-tiger-1.2.1.jar
> 3K downloaded
> [INFO] [enforcer:enforce {execution: enforce-versions}]
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] Compiling 14 source files to
> /usr/local/packages/cas-svn/trunk/cas-server-support-ldap/target/classes
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Compilation failure
>
> /usr/local/packages/cas-svn/trunk/cas-server-support-ldap/src/main/java/org/jasig/cas/adaptors/ldap/BindLdapAuthenticationHandler.java:[12,36]
> package org.springframework.ldap.core does not exist
>
> /usr/local/packages/cas-svn/trunk/cas-server-support-ldap/src/main/java/org/jasig/cas/adaptors/ldap/BindLdapAuthenticationHandler.java:[13,36]
> package org.springframework.ldap.core does not exist
>
> /usr/local/packages/cas-svn/trunk/cas-server-support-ldap/src/main/java/org/jasig/cas/adaptors/ldap/AbstractLdapUsernamePasswordAuthenticationHandler.java:[12,36]
> package org.springframework.ldap.core does not exist
>
> /usr/local/packages/cas-svn/trunk/cas-server-support-ldap/src/main/java/org/jasig/cas/adaptors/ldap/AbstractLdapUsernamePasswordAuthenticationHandler.java:[27,12]
> cannot find symbol
> symbol  : class LdapTemplate
> location: class
> org.jasig.cas.adaptors.ldap.AbstractLdapUsernamePasswordAuthenticationHandler
>
> and *lots* more errors follow this line...
>
>
>
> ----- Original Message -----
> *From:* Scott Battaglia <[email protected]>
> *To:* [email protected]
> *Sent:* Monday, March 09, 2009 9:09 AM
> *Subject:* Re: [cas-user] Credentials from LDAP To Principal &
>
> Just a note that I realized that I had never updated the pom.xml's in SVN
> to reference 3.3.2-SNAPSHOT.  They were referencing 3.3.1 still, which may
> have caused some confusion.
>
> -Scott
>
>
> On Mon, Mar 9, 2009 at 12:00 PM, Johan Reinalda <
> [email protected]> wrote:
>
>> Marvin,
>>
>> yes, I am very interested in helping. We have a lot of apps in our
>> environment already working, and it looks like we will be implementing
>> production at some point, so it is in our interest to contribute to the
>> greater good!
>>
>> Please keep in mind that we are learing java as fast as we can (we are a
>> php/asp shop mostly), so the more details the better.
>>
>> 1. Run the cas-server-support-ldap unit tests, to do this, you will
>>>
>> Will get to work on that.
>>
>> 2. Run mvn clean package from the parent project directory
>>>
>> This I did run prior to the last tests last friday afternoon.
>>
>> Johan
>>
>> ----- Original Message ----- From: "Marvin Addison" <
>> [email protected]>
>> To: <[email protected]>
>> Sent: Monday, March 09, 2009 7:58 AM
>> Subject: Re: [cas-user] Credentials from LDAP To Principal &
>>
>>
>>  Johan, we would really like to help you resolve your problem as it is
>>> sounds like the same problem for which an open Jira issue already
>>> exists.  Would you be willing to help us to help you?  Two items
>>> follow that could give us confidence that a recent fix to
>>> CredentialsToLDAPAttributePrincipalResolver is in fact working as
>>> intended.
>>>
>>> 1. Run the cas-server-support-ldap unit tests, to do this, you will
>>> need to create a ldap.properties file for your environment.  The
>>> ldap.properties.sample may be used as a template.
>>>
>>> 2. Run mvn clean package from the parent project directory
>>> (cas-server) to ensure that all submodules, ldap in particular, are
>>> rebuilt prior to to WAR creation.
>>>
>>> Thanks,
>>> Marvin
>>>
>>> --
>>> You are currently subscribed to [email protected] as:
>>> [email protected]
>>> To unsubscribe, change settings or access archives, see
>>> http://www.ja-sig.org/wiki/display/JSG/cas-user
>>>
>>
>>
>> --
>> You are currently subscribed to [email protected] as:
>> [email protected]
>> To unsubscribe, change settings or access archives, see
>> http://www.ja-sig.org/wiki/display/JSG/cas-user
>>
>
> --
> You are currently subscribed to [email protected] as: 
> [email protected]
> To unsubscribe, change settings or access archives, see 
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>
>
> --
> You are currently subscribed to [email protected] as: 
> [email protected]
> To unsubscribe, change settings or access archives, see 
> http://www.ja-sig.org/wiki/display/JSG/cas-user
>
>

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to