Preference "No. of versions in history:" looks like not working.
How does it work?
public static String getHistoryRecord() { return ClearCasePlugin .getDefault() .getPluginPreferences() .getString( IClearCasePreferenceConstants.CLEARCASE_PRIMARY_GROUP); ^^^^^^^^^^^^^^^^^^^^^^^^ }
I guess that above code is bad.
But I'm sorry if I have mistaken.
I have noticed it as well and I have already provided a patch with a fix for this problem.
https://sourceforge.net/p/eclipse-ccase/discussion/167189/thread/5e267bb2/
Jan
That's great!
Thank you for telling me.
And I'll wait for new version.
Hi,
with the commit [72986b] in the develop branch the history limit works as expected, both with numbers, e.g. "7:" or by date, e.g. ":2018-01-01".
Tom
Related
Commit: [72986b]
Hi,
Can you merge into master so we can make a delivery?
//mike
<meta content="width=device-width" name="viewport">
<meta content="text/vnd.ui.insecure+html;charset=utf-8" http-equiv="Content-Type">
Related
Bugs:
#401Hi Tom,
If you have the possibility to verify them you can merge both into master.
Would that be possible?
//mike
I don't recall how many changes that it is on the branch. I have not set it up yet. Could you check the difference?
//mike
Ps. Thanks for your help.
<meta content="width=device-width" name="viewport">
<meta content="text/vnd.ui.insecure+html;charset=utf-8" http-equiv="Content-Type">
Related
Bugs:
#401Hi Mike,
I merged the develop branch into master (commit 8f3916), for the eclipse-ccase project only (for clearcase I have no access rights, I assume?).
Please try to get the tests running. Tomorrow I will check the build of the master branch in my CC installation.
CU, Tom
Hi
I added you to clearcase-java too.
I will check tests.
br,
//mike
Good Morning, I merged the clearcase develop branch to master too (no changes by me, I think).
cu, Tom
Hi Mike.
Now I was able to run the junit for the clearcase for java project!
So I suppose in my eclipse-case eclipse project this 3rdparty link to easymock-3.0(like in clearacse project) etc. is missing.
Do you have a hint, how I get it into the eclipse-ccase project?
br, tom
Eclipse Compiler for Java(TM) v20200828-0941, 3.23.0, Copyright IBM Corp 2000, 2020. All rights reserved.
import org.easymock.EasyMock;
^^^^^^^^^^^^
The import org.easymock cannot be resolved
Hi,
I did the same and got some failures ( see attached picture).
Hi again :-)
Two things:
//mike
I coudn't adapte the test, as they are not runing here.
2.1.) Maybe I did it wrong. I used the Import/Git/Projects from Git (with smart import).
I should have used the General/Existing Projects into workspace instead? I wasn't aware that the eclipse .project files are part of the repo.
I think I will open a second workspace, with import existing project wizard.
3.2.) plugin.xml - Export Wizard
did new clones, import from existing projects into workspace,
plugin.xml - export wizard, same errors in eclipseccase.test and .ui.test.
couldnt resolve easymock..
couldn't resolve Powermock..
Eclipse RCP 2020-09-R
the successful junit of clearcase_for_java. on master with commit 2f652b.
one of the 2 failing test logs.
Now it found the missing packages. I had to check them in Java Build Path.
When starting the test it now complains about
java.lang.TypeNotPresentException: Type org.powermock.modules.junit4.PowerMockRunner not present
Hi,
Could it be you are missing, powermock-easymock-junit-1.4.10?
//mike
Hi,
it is included in the git repo:
/Users/tom/git/eclipse-ccase-new/eclipse-ccase-code/net.sourceforge.eclipseccase/lib
tom@Thomass-MBP lib % tree ..
zsh: command not found: tree
tom@Thomass-MBP lib % ls -lr
total 0
drwxr-xr-x 8 tom staff 256 6 Okt 12:33 powermock-easymock-junit-1.4.10
tom@Thomass-MBP lib % ls -lR
total 0
drwxr-xr-x 8 tom staff 256 6 Okt 12:33 powermock-easymock-junit-1.4.10
./powermock-easymock-junit-1.4.10:
total 3544
-rw-r--r-- 1 tom staff 322362 6 Okt 12:33 cglib-nodep-2.2.jar
-rw-r--r-- 1 tom staff 114128 6 Okt 12:33 easymock-3.0.jar
-rw-r--r-- 1 tom staff 648253 6 Okt 12:33 javassist-3.15.0-GA.jar
-rw-r--r-- 1 tom staff 237344 6 Okt 12:33 junit-4.8.2.jar
-rw-r--r-- 1 tom staff 36046 6 Okt 12:33 objenesis-1.2.jar
-rw-r--r-- 1 tom staff 450002 6 Okt 12:33 powermock-easymock-1.4.10-full.jar
tom@Thomass-MBP lib %
But somewhere in my eclipse project the link is missing to that directory.
cu, tom
Hi Tom!
How have things been going. Any progress?
//mike
Hi Mike,
no progress with the 2 test suites. Also my son, who is more into it, couldn't solve the errors about missing powermock while starting the tests.
I will try with the commit for 2.2.40 in an extra eclipse workspace, to get the tests running.
But any help is appreciated. Must be something in the eclipse configuration for running tests.
As the static code analyser doesn't complain about the test sources, its not a problem in the source files.
br, Tom
Hi Mike,
now that I'm able to run the tests, with an actual version of powermock/easymock, I will solve some of the failing tests (NullPointerException).
I'll keep you informed, when its finished.
br, Tom