Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mylyn » password for JUnit test
password for JUnit test [message #600915] Fri, 12 March 2010 00:10 Go to next message
Raistlin is currently offline Raistlin
Messages: 4
Registered: March 2010
Junior Member
Hi,

I downloaded the Mylyn source code and tried to run a JUnit test for org.eclipse.mylyn.jira.tests

I followed the instructions on
http://wiki.eclipse.org/index.php/Mylyn/Contributor_Referenc e#JUnit_tests

I created the credentials.properties under org.eclipse.mylyn.context.tests with
user: mailto:test@mylyn.eclipse.org
pass:

I got the following error with the password values I tried:
org.eclipse.mylyn.internal.jira.core.service.JiraAuthenticat ionException: Invalid user name or password

Can I ask what is the password here? I don't understand what is the "<project's name lowercase>test" here. Can you give me an example?

Thanks
Lin
Re: password for JUnit test [message #600922 is a reply to message #600915] Fri, 12 March 2010 02:12 Go to previous message
Steffen Pingel is currently offline Steffen Pingel
Messages: 706
Registered: July 2009
Senior Member
You should have the following lines in the credentials.properties:

user: test@mylyn.eclipse.org
pass: <project's name lowercase>test

Substitute <project's name lowercase> with mylyn.

Steffen


Raistlin wrote:

> Hi,
>
> I downloaded the Mylyn source code and tried to run a JUnit test for
> org.eclipse.mylyn.jira.tests
>
> I followed the instructions on
> http://wiki.eclipse.org/index.php/Mylyn/Contributor_Referenc e#JUnit_tests
>
> I created the credentials.properties under org.eclipse.mylyn.context.tests
> with user: mailto:test@mylyn.eclipse.org
> pass:
>
> I got the following error with the password values I tried:
> org.eclipse.mylyn.internal.jira.core.service.JiraAuthenticat
> ionException: Invalid user name or password
>
> Can I ask what is the password here? I don't understand what is the
> "<project's name lowercase>test" here. Can you give me an example?
>
> Thanks
> Lin

--
Steffen Pingel
Committer, http://eclipse.org/mylyn
Senior Developer, http://tasktop.com
Previous Topic:Eclipse freezes while "loading org.eclipse.mylyn.tasks.ui"
Next Topic:password for JUnit test
Goto Forum:
  


Current Time: Sat Apr 19 11:48:02 EDT 2014

Powered by FUDForum. Page generated in 0.01764 seconds