ClueMapper TracEnv and Eclipse-Mylin-Connector

1 view
Skip to first unread message

Michael

unread,
Mar 25, 2009, 9:23:01 AM3/25/09
to Cluemapper-dev
Hi,

has anyone could connect to a ClueMapper-Trac-Project by Eclipse-Mylin-
Connector??

I tried it but without success!?

Thanks,
Michael

Rocky Burt

unread,
Mar 26, 2009, 1:42:56 PM3/26/09
to cluemap...@googlegroups.com

I've personally never used any sort of connection with Eclipse and Trac (even outside of ClueMapper).  I would be interested in hearing your experiences (ie problems) though.

- Rocky

Michael

unread,
Mar 27, 2009, 9:18:54 AM3/27/09
to Cluemapper-dev
Here are some currently results from my tests:

it seams to me, that eclipse cannot login, so that it cannot use the
RPC plugin :(! The Mylin-Connector tries to login with following URL:

/pm/p/testproject/login/xmlrpc

ClueMapper does not handle this stuff!!!! Maybe there are some changes
needed in clue.secure.auth,
but I does not understand the reopze.who stuff as well :(!

On Mar 26, 6:42 pm, Rocky Burt <ro...@serverzen.com> wrote:
> I've personally never used any sort of connection with Eclipse and Trac
> (even outside of ClueMapper).  I would be interested in hearing your
> experiences (ie problems) though.
>
> - Rocky
>
> On Wed, Mar 25, 2009 at 10:53 AM, Michael <
>

Michael

unread,
Apr 9, 2009, 4:37:44 PM4/9/09
to Cluemapper-dev
Hi,

I could successfully connect to ClueMapper-Trac-Environment with
Eclipse-Mylyn ;)! It is a liitle bit crazy (but it works!):

First I am running ClueMapper behind Apache 2.2.11 with normal
RewriteRule. I have also mod_python available to run Trac with
mod_python! Now we MUST run Trac with mod_python to have success with
Mylyn! Thats why i added following Rules to Apache-Conf:

RewriteCond %{HTTP_USER_AGENT} ^Mylyn.*
RewriteRule ^/pm/p - [L]
<Location /pm/p>
SetHandler mod_python
PythonInterpreter main_interpreter
PythonHandler trac.web.modpython_frontend
PythonOption TracEnvParentDir /archiv/intranet/services/
tracenvs
PythonOption TracUriRoot /pm/p/
</Location>
<LocationMatch "/pm/p/[^/]+/login">
Order deny,allow
Allow from all
AuthType Basic
AuthName "Trac"
AuthBasicProvider ldap
AuthLDAPURL "ldap://xxxxxx:389/OU=xxx,DC=yyy,DC=de?
sAMAccountName?sub?(objectClass=*)"
# Active Directory requires an authentication DN to access
records
AuthLDAPBindDN CN=adreader,OU=special,OU=xxx,DC=yyy,DC=de
AuthLDAPBindPassword "....."
require valid-user
</LocationMatch>

OK this is the Apacha part, where we map the ClueMapper Trac-
Environments with TracModPython and authenticate the users with our
ActiveDirectory! Oh I forgot: I have done little hacks on ClueMapper
to authenticate the users against the same ActiveDirectroy, so that
the users from Apache and ClueMapper allways the same ;)!

Now we must do some little changes in our TracEnv to enable it for
Mylyn:

1. Set following settings for TracAccountManager-Plugin (.../admin/
general/plugin):
AccountManagerAdminPage ON
AccountManager ON
SessionStore off
AbstractPasswordFileStore off
HtDigestStore off
HtPasswdStore off
HttpAuthStore ON
AccountChangeListener off
AccountChangeNotificationAdminPanel off
HtDigestHashMethod off
HtPasswdHashMethod off
SvnServePasswordStore off
AccountModule ON
EmailVerificationModule off
LoginModule ON
RegistrationModule off

2. Now the TracAccountManager-Configuration Link shall be available
on Admin site! Here we have only to set the HttpAuthStore
<tt>auth_url</tt> to "http://yourserver/pm/p/projectname/login/
xmlrpc" (!!!This URL must be match with the Mylyn calling URL, where
the /login/xmlrpc will be appended to the Server-Url of Task
Repository Properties!!!). In the Task Repository Settings for Mylyn
you need to set the Access-Type to "XML-RPC Plugin (Rev. 1950)".

Now you should be able to connect with Mylyn ;)!

Here are my version settings from the Trac-About page:

Trac: 0.11.4
Python: 2.5.4 (r254:67916, Mar 19 2009, 14:58:42) [GCC 4.1.2
20070626 (Red Hat 4.1.2-14)]
setuptools: 0.6c9
SQLite: 3.6.11
pysqlite: 2.5.5
Genshi: 0.5.1
Pygments: 1.0
Subversion: 1.5.6 (r36142)
jQuery: 1.2.6
ClueMapper: 0.9 from subversion 0.9 branch

On Mar 25, 3:23 pm, Michael <michael.lin...@informatik.tu-chemnitz.de>
wrote:
Reply all
Reply to author
Forward
0 new messages