Manuel utilisateur du plugin Eclipse
Version 2.0, April 2019
Maintained by: Christophe Saint-Marcel (Velossity), Astor Bizard (Caseine), Nicolas Catusse (Grenoble-INP), Lee Yee (Université Grenoble Alpes,
intern, version 1.0)
Note: This is the user manual of the Eclipse plugin. The use of this plugin requires it to be installed. To install it, please read the installation manual.
VPL ID and Token
Before carrying on with programming exercises on Eclipse, you need to be familiar with two things : VPL ID and Token.
A Token is a string of characters identifying a user on Caseine.
To find your Token, please visit your preferences, and click [Security keys].
Find the line "VPL web service", your Token is the key on this line.
A VPL ID is the identifier for a programming exercise on Caseine.
To find the VPL ID of your exercise, visit its page on caseine.org, and check the URL bar. You should find something like "id=XXXX". This XXXX is the VPL ID of the exercise (8207 in our example).
Start an exercise : create a Caseine Project
Once you have your token and VPL ID, open Eclipse.
Click [File > New > Project…]. You should get the following window.
Note: If you don't find "Caseine Wizards", try [File > New > Other…].
Develop "Caseine Wizards" and select "Caseine Project", then click [Next >]. You should get the following window:
Enter your VPL ID and Token.
• If you wish to start the exercise from its initial state, check the "Initial Project" box. If you wish to retrieve previous work made on this exercise, uncheck the box.
• If you are a student of GI-INP, check the "Include GI Libraries" box. If you forget this step, it will be possible to include the libraries later on.
Note: Your token is automatically saved in Eclipse preferences after this step. You won't have to enter it again. You can change it later on in [Window > Preferences > Caseine > User security key].
Click [Next >]. You should get to the Eclipse New Project window. You can configure the project as you want. You can also leave default values and carry on by clicking [Finish].
The project you just created should appear in the Package Explorer. Caseine Project have the icon :
Get to work!
You can now work on your exercise from the Eclipse IDE!
When you create a Caseine Proejct, Eclipse offers to open the Caseine Perspective. It consists of a standard Eclipse perspective, with some additionnal elements:
● On the right ("CaseInE View"): the "Description" tab displays the exercise description. The "Result" tab will contain the evaluation result (we will come back to it soon!).
● At the bottom ("Caseine Comments") : this tab contains a recap of the Caseine comments left by your teacher in your files.
● At the top left (two buttons) : we will describe them below!
Note: It is possible to manually open the Caseine Perspective in [Window > Perspective > Open Perspective > Other...].
Save your exercise on Caseine
Once you have started doing your exercise, you can save your changes on Caseine. To do so, select your project (in the Package Explorer), then click the [Push] button (with the Cow icon). You can achieve the same by right-clicking the project and selecting [CaseInE > Push].
Evaluate your exercise
Note: The [Evaluate] button includes a [Push] beforehand.
You get the result of the evaluation in the tab "Caseine View > Result".
It contains the grade you obtained, along with evaluation details on automatic tests.
A green test shows a passed test, a blue or red cross a failed test.
You can click a failed test to get detailed information about this test.
Retrieve files from Caseine
The most obersvants may have seen the [Pull] and [Reset] options in the Caseine menu.
These options are used to retrieve files from Caseine for an exercise.
- [Pull] retrieves files you already submitted on Caseine (with a [Push] or within Caseine).
- [Reset] retrieves original files and resets your exercise to its initial state.
Warning: Both these options overwrite your local files. Beware modifications loss!
Last modified: Tuesday, 21 April 2020, 11:23 AM