From dev-return-34705-apmail-directory-dev-archive=directory.apache.org@directory.apache.org Mon Aug 09 08:37:25 2010 Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 64588 invoked from network); 9 Aug 2010 08:37:25 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 9 Aug 2010 08:37:25 -0000 Received: (qmail 32793 invoked by uid 500); 9 Aug 2010 08:37:25 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 32590 invoked by uid 500); 9 Aug 2010 08:37:22 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 32583 invoked by uid 99); 9 Aug 2010 08:37:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Aug 2010 08:37:21 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of pajbam@gmail.com designates 74.125.82.44 as permitted sender) Received: from [74.125.82.44] (HELO mail-ww0-f44.google.com) (74.125.82.44) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Aug 2010 08:37:15 +0000 Received: by wwj40 with SMTP id 40so11293307wwj.1 for ; Mon, 09 Aug 2010 01:36:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:from:mime-version :content-type:subject:date:in-reply-to:to:references:message-id :x-mailer; bh=F7SP5oDtHWdbkJihAhx1K1QTWebQ+n5+uvYwN45jbUo=; b=xufFne8VsfDxzWrO/YnnCj8UpuL1HkmXv9+mRJB4z8fuvnFQoCmlsVjPemWwjDBAJ5 lYEdrvQO/3YFnbiftMz9NzryGPvJ/FP5JjjIZVThuC1D2MyUyBny033xLJbGkMpWiT6+ bQoUbKyz9K6etFdWX/aC4T04cPGrtwrFuibdw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:mime-version:content-type:subject:date:in-reply-to:to :references:message-id:x-mailer; b=eM7QmhfsMIJitUKuVpuzNbGj/8si9C/k6MrrUAOlKNnjUXwqALf6MBKW4H5kS3EJLy 0dXKAr+2v0t+ZX0xzENJ48UEGpAbB6j2pCI5ark7fcpQCVIr8JNmeFMcXQKACpbONbCX ImPRKeL12IgRNX3tmOtgUyv1ozI+/BsGbQB08= Received: by 10.227.32.140 with SMTP id c12mr13039896wbd.6.1281343009649; Mon, 09 Aug 2010 01:36:49 -0700 (PDT) Received: from [10.0.1.3] (def92-4-82-225-58-213.fbx.proxad.net [82.225.58.213]) by mx.google.com with ESMTPS id i25sm4146740wbi.4.2010.08.09.01.36.47 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 09 Aug 2010 01:36:48 -0700 (PDT) Sender: Pierre-Arnaud Marcelot From: Pierre-Arnaud Marcelot Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: multipart/alternative; boundary=Apple-Mail-1-240611814 Subject: Re: svn commit: r982679 - in /directory/studio/trunk: ./ org.apache.commons.codec/ org.apache.commons.collections/ Date: Mon, 9 Aug 2010 10:36:46 +0200 In-Reply-To: <4C5B204F.2020700@apache.org> To: "Apache Directory Developers List" References: <20100805162735.3D7B82388A1C@eris.apache.org> <8888417262540795511@unknownmsgid> <4C5B204F.2020700@apache.org> Message-Id: X-Mailer: Apple Mail (2.1081) --Apple-Mail-1-240611814 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 Hi Felix, Indeed, you're right, there's probably something we could do with the = studio-plugin. :) I think we would need to add additional parameters for the purpose of = these specific plugins (jar libraries rebrandred as eclipse plugins). Basically, the '.classpath' file needs to be updated and this line: has to be replaced by this one: Notice that the 'kind' is different (from 'src' to 'lib') and that the = classes need to be 'exported'. A list of 'libClasspathEntries' will probably need to be added to the = configuration of the studio-plugin. I will first try to have all the needed plugins working with a = '.classpath' stored in SVN and see if the app still works with the = removal of the 'jars' plugin. Then, I'll (try to) modify the studio-plugin to update the '.classpath' = file accordingly (I might need your help ;) ). Thanks, Pierre-Arnaud On 5 ao=FBt 2010, at 22:34, Felix Knecht wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 >=20 >=20 >> At the moment, the only solution I found is to keep the .classpath = and >> .project files in SVN and don't generate them with Maven. >> This plugin need something special in their .classpath that I can't >> generate with Maven to be able to be run in Eclipse. >=20 > IIRC these files (.classpath and .project) are both create/adapted by > the studio-plugin when running mvn studio:eclipse. So if needed we > should be able to adapt the studio-plugin? >=20 > Regards > Felix > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.16 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ >=20 > iEYEARECAAYFAkxbIE8ACgkQ2lZVCB08qHEa3ACg7RvxACLZs13b5Jmj+s0D9PEA > oWcAoMryDGh4JmHc/favkq4swuMDB3rV > =3DQ1nO > -----END PGP SIGNATURE----- --Apple-Mail-1-240611814 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1 Hi = Felix,

Indeed, you're right, there's probably = something we could do with the studio-plugin. = :)

I think we would need to add additional = parameters for the purpose of these specific plugins (jar libraries = rebrandred as eclipse plugins).

Basically, the = '.classpath' file needs to be updated and this line:
<classpathentry excluding=3D"**/*.java" path=3D"src/main/resources" kind=3D"src"/>
has to be replaced = by this one:
<classpathentry = kind=3D"lib" path=3D"src/main/resources" = exported=3D"true"/>

Notice that the = 'kind' is different (from 'src' to 'lib') and that the classes need to = be 'exported'.

A list of 'libClasspathEntries' = will probably need to be added to the configuration of the = studio-plugin.

I will first try to have all the = needed plugins working with a '.classpath' stored in SVN and see if the = app still works with the removal of the 'jars' plugin.
Then, = I'll (try to) modify the studio-plugin to update the '.classpath' file = accordingly (I might need your help ;) = ).

Thanks,
Pierre-Arnaud

=
On 5 ao=FBt 2010, at 22:34, Felix Knecht wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: = SHA1


At the moment, the only = solution I found is to keep the .classpath = and
.project files in SVN and = don't generate them with Maven.
This plugin need something special in their .classpath = that I can't
generate with = Maven to be able to be run in Eclipse.

IIRC these = files (.classpath and .project) are both create/adapted by
the = studio-plugin when running mvn studio:eclipse. So if needed we
should = be able to adapt the = studio-plugin?

Regards
Felix
-----BEGIN PGP = SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using = GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkxbIE8ACgkQ2lZVCB08qHEa3ACg7RvxACLZs13b5Jmj+s0D9PEA
oWcA= oMryDGh4JmHc/favkq4swuMDB3rV
=3DQ1nO
-----END PGP = SIGNATURE-----

= --Apple-Mail-1-240611814--