Hi Hugh,

One more time, thanks for these notes that I'll include on the development
wiki. Did you succeed to solve your issue ?

Kind regards,
-- 
Sebastien BAHLOUL
IAM / Security specialist
Ldap Synchronization Connector : http://lsc-project.org
Blog : http://sbahloul.wordpress.com/



2012/5/2 Hugh Kelley <[email protected]>

> Gladly.  It's unfortunate that I can't get IAM running because it does
> seem to be more feature-rich.  However, I kept experiencing years-old
> issues like this one, 
> http://code.google.com/p/q4e/issues/detail?id=178<http://code.google.com/p/q4e/issues/detail?id=178%20>,
> and just couldn't get it all working (though my Eclipse and Maven
> experience is admittedly limited).
>
> I think these steps can be further simplified (and I will run through them
> once more in an attempt to do so), but here are some additional notes in
> very raw form:
>
>    - M2_REPO environment variable set and full Maven local installation
>    (as opposed to the IDE embedded version)
>    - Existing Eclipse Helios setup with m2e (not IAM).    Embedded Maven
>    in IDE set use the same global settings.xml file as standalone Maven
>    - Download from LSC SVN and import into existing project (bypasses
>    Maven archetype settings).
>    - Once downloaded, open a shell and CD to project folder with the
>    pom.xml file and compile  -     mvn compile
>    - Check the dependency tree -    mvn
>    -Declipse.workspace=C:\_Active\Eclipse-workspaces\LSC-Helios2\lsc-core-2.0
>    dependency:tree
>    - Open Eclipse.   The project should now have a "References Libraries"
>    library with your Maven repository jars and should build without errors.
>
> Hugh
>
>
> On Wed, May 2, 2012 at 8:23 AM, Sébastien Bahloul <
> [email protected]> wrote:
>
>> Thanks for these notes. I've updated the wiki accordingly.
>>
>> Regards,
>> --
>> Sebastien BAHLOUL
>> IAM / Security specialist
>> Ldap Synchronization Connector : http://lsc-project.org
>> Blog : http://sbahloul.wordpress.com/
>>
>>
>>
>>
>> 2012/4/26 Hugh Kelley <[email protected]>
>>
>>> Sébastien,  when I used that version (and the following installed
>>> items), Maven worked but the SVN client would not load.   I have
>>> reinstalled the SVN client (including a few of the optional components -
>>> see below) and it seems to be working fine now.  The only build error I'm
>>> seeing now is this.
>>>
>>>        The method marshal(Object, Result) in the type Marshaller is not
>>> applicable for the arguments (Lsc, File)
>>>        org.lsc.configuration.JaxbXmlConfigurationHelper.java    line
>>> 201
>>>
>>> Any ideas?
>>>
>>> I would also propose (it looks like I don't have rights to edit the
>>> wiki) adding a few items to the "Getting the Source Code" section of this
>>> page,
>>> http://lsc-project.org/wiki/documentation/2.0/development/ideintegrationfor 
>>> the benefit of rookies like me.
>>>
>>> Getting the source code
>>>
>>> You have two options to obtain the LSC-sample source code:
>>>
>>>    1. Download a release or a daily snapshot from the download 
>>> area<http://lsc-project.org/wiki/download>.
>>>    Untar the archive in your workspace directory for example.
>>>    2. Take the SVN version (if you want to check for new features,
>>>    etc…):
>>>    1. We recommend using the Subclipse <http://subclipse.tigris.org/>SVN 
>>> plugin for Eclipse. Installation instructions are available on
>>>       their website <http://subclipse.tigris.org/install.html> (it's
>>>       the same way you installed the Maven 2 plugin)
>>>       2. Create a new project from SVN: go to *File* → *New* → *Project…
>>>       *
>>>       3. Scroll down to *SVN* and select *Checkout Projects from SVN*,
>>>       then click on *Next*
>>>       4. Select *Create a new repository location* and click on *Next*
>>>       5. In the *URL* field enter the SVN repository location: *
>>>       https://lsc-project.org/svn/* and click on *Next*
>>>       6. Scroll down and select the *lsc/branches/v2.0/* project and
>>>       click on *Finish*
>>>       7. When prompted, import into the existing project.
>>>       8. In the Eclipse, right-click on the project and select Maven
>>>       dependency management.
>>>       9. Wait while Maven will downloads packages (several hours).
>>>       10. Attempt a build.
>>>
>>>
>>> To summarize, my Eclipse looks like this
>>>
>>> Eclipse IDE for Java Developers
>>> Version: Helios Service Release 2
>>> Build id: 20110218-0911
>>>
>>> Installation Details - Installed Software
>>>   Eclipse IAM    0.11.0.201001181900
>>> org.eclipse.iam.feature.feature.group
>>>     Apache Maven    2.1.0.659801e
>>> org.apache.maven.feature.feature.group
>>>   Eclipse IDE for Java Developers    1.3.2.20110218-0812
>>> epp.package.java
>>>     Eclipse Platform    3.6.2.M20110210-1200    org.eclipse.platform.ide
>>>     EPP Java Package    1.3.2.20110218-0812
>>> org.eclipse.epp.package.java.feature.feature.group
>>>   Subclipse (Required)    1.8.8
>>> org.tigris.subversion.subclipse.feature.group
>>>   Subversion Client Adapter (Required)    1.8.2
>>> org.tigris.subversion.clientadapter.feature.feature.group
>>>   Subversion JavaHL Native Library Adapter    1.7.4.1
>>> org.tigris.subversion.clientadapter.javahl.feature.feature.group
>>>
>>>
>>>
>>> On Thu, Apr 26, 2012 at 8:10 AM, Sébastien Bahloul <
>>> [email protected]> wrote:
>>>
>>>> Hi Hugh,
>>>>
>>>> Sorry to not answering you before. Have you tried with m2e or q4e Maven
>>>> plugin ? I use successfully Eclipse Helios Service Release 2 installation
>>>> with Eclipse.org m2e plugin (version 1.0.100.20110804-1717) and Tigris
>>>> Subversion Client Adapter 1.8.0
>>>>
>>>> You can enforce the src/main/java as source directory to be able to add
>>>> a new class but without maven plugin you won't be able to use it as a true
>>>> IDE (missing dependencies).
>>>>
>>>> Regards,
>>>> Le 25 avr. 2012 18:37, "Hugh Kelley" <[email protected]> a écrit :
>>>>
>>>>>  So far, I'm unable to get a "working" (which I'll define further
>>>>> down) Eclipse environment.  I'm not entirely new to Eclipse but admittedly
>>>>> my familiarity level is very low.
>>>>>
>>>>> I am following the instructions here,
>>>>> http://lsc-project.org/wiki/documentation/2.0/development/ideintegration
>>>>> and am able to download the project, though I chose /lsc/branches/v2.0/
>>>>> rather than lsc-sample since the latter appeared to be empty and the 
>>>>> former
>>>>> sounded more like what I wanted.
>>>>>
>>>>> The project itself seem to load into Eclipse just fine.   The issues
>>>>> comes in when I try to add a class to the org.lsc.service package (or any
>>>>> other).
>>>>>
>>>>> *  When I right-click on the "service" folder and create a new class,
>>>>> the Source folder and Package dialogs shows no entries.
>>>>> *  When I try to select SimpleJndiSrcService as the Superclass it is
>>>>> not an option
>>>>>
>>>>> I've installed the Maven bits, but when I try to right-click on the
>>>>> project and choose "Convert to Maven" it tells me that the "chosen
>>>>> operation is currently unavailable".   I'm not even sure if I should be
>>>>> able to do that, but I was speculating that the faulty project settings
>>>>> might be related to Maven issues.
>>>>>
>>>>> In short, could someone please point me in the right direction?
>>>>>
>>>>> Hugh
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________________________
>>>>> Ldap Synchronization Connector (LSC) - http://lsc-project.org
>>>>>
>>>>> lsc-dev mailing list
>>>>> [email protected]
>>>>> http://lists.lsc-project.org/listinfo/lsc-dev
>>>>>
>>>>>
>>>
>>> _______________________________________________________________
>>> Ldap Synchronization Connector (LSC) - http://lsc-project.org
>>>
>>> lsc-dev mailing list
>>> [email protected]
>>> http://lists.lsc-project.org/listinfo/lsc-dev
>>>
>>>
>>
>
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-dev mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-dev

Reply via email to