Changeset 7 for trunk/de.ugoe.cs.swe.exercises
- Timestamp:
- 10/19/09 13:29:46 (15 years ago)
- Location:
- trunk/de.ugoe.cs.swe.exercises
- Files:
-
- 3 added
- 2 deleted
- 5 edited
- 4 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/de.ugoe.cs.swe.exercises/META-INF/MANIFEST.MF
r3 r7 3 3 Bundle-Name: Exercises 4 4 Bundle-SymbolicName: de.ugoe.cs.swe.exercises;singleton:=true 5 Bundle-Version: 1.0.0.qualifier5 Bundle-Version: 0.5.0.qualifier 6 6 Bundle-Activator: de.ugoe.cs.swe.exercises.Activator 7 7 Require-Bundle: org.eclipse.ui, … … 21 21 lib/svnkit.jar, 22 22 lib/trilead.jar 23 Bundle-Vendor: Software Engineering for Distributed Systems Group, Uni Goettingen -
trunk/de.ugoe.cs.swe.exercises/exercises.product
r4 r7 2 2 <?pde version="3.5"?> 3 3 4 <product name="Exercises" uid="de.ugoe.cs.swe.exercises.product" id="de.ugoe.cs.swe.exercises.product" application="de.ugoe.cs.swe.exercises.application" useFeatures="false" includeLaunchers="true">4 <product name="Exercises" uid="de.ugoe.cs.swe.exercises.product" id="de.ugoe.cs.swe.exercises.product" application="de.ugoe.cs.swe.exercises.application" version="0.5.0.qualifier" useFeatures="false" includeLaunchers="true"> 5 5 6 6 <aboutInfo> 7 <image path=" /de.ugoe.cs.swe.exercise/about.png"/>7 <image path="icons/about.png"/> 8 8 <text> 9 Another great product brought to you by: 10 The Exercise Manager Team 11 12 Please report any found bugs to /dev/null 9 Exercises 13 10 </text> 14 11 </aboutInfo> … … 22 19 </launcherArgs> 23 20 24 <windowImages i16=" /de.ugoe.cs.swe.exercise/icons/edit-copy16.png" i48="/de.ugoe.cs.swe.exercise/icons/edit-copy48.png"/>21 <windowImages i16="icons/alt_window_16.gif" i32="icons/alt_window_32.gif"/> 25 22 26 23 <splash 27 location="de.ugoe.cs.swe.exercise "24 location="de.ugoe.cs.swe.exercises" 28 25 startupProgressRect="10,375,580,15" 29 26 startupMessageRect="10,360,580,20" 30 27 startupForegroundColor="000000" /> 31 <launcher >28 <launcher name="exercises"> 32 29 <solaris/> 33 <win useIco=" false">30 <win useIco="true"> 34 31 <bmp/> 35 32 </win> 36 33 </launcher> 37 34 35 38 36 <vm> 39 37 </vm> 38 39 <license> 40 <url>http://www.eclipse.org/legal/epl-v10.html</url> 41 <text> 42 *Eclipse Public License - v 1.0* 43 44 THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE 45 PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF 46 THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. 47 48 *1. DEFINITIONS* 49 50 "Contribution" means: 51 52 a) in the case of the initial Contributor, the initial code and 53 documentation distributed under this Agreement, and 54 b) in the case of each subsequent Contributor: 55 56 i) changes to the Program, and 57 58 ii) additions to the Program; 59 60 where such changes and/or additions to the Program originate from and 61 are distributed by that particular Contributor. A Contribution 62 'originates' from a Contributor if it was added to the Program by such 63 Contributor itself or anyone acting on such Contributor's behalf. 64 Contributions do not include additions to the Program which: (i) are 65 separate modules of software distributed in conjunction with the Program 66 under their own license agreement, and (ii) are not derivative works of 67 the Program. 68 69 "Contributor" means any person or entity that distributes the Program. 70 71 "Licensed Patents " mean patent claims licensable by a Contributor which 72 are necessarily infringed by the use or sale of its Contribution alone 73 or when combined with the Program. 74 75 "Program" means the Contributions distributed in accordance with this 76 Agreement. 77 78 "Recipient" means anyone who receives the Program under this Agreement, 79 including all Contributors. 80 81 *2. GRANT OF RIGHTS* 82 83 a) Subject to the terms of this Agreement, each Contributor hereby 84 grants Recipient a non-exclusive, worldwide, royalty-free copyright 85 license to reproduce, prepare derivative works of, publicly display, 86 publicly perform, distribute and sublicense the Contribution of such 87 Contributor, if any, and such derivative works, in source code and 88 object code form. 89 90 b) Subject to the terms of this Agreement, each Contributor hereby 91 grants Recipient a non-exclusive, worldwide, royalty-free patent license 92 under Licensed Patents to make, use, sell, offer to sell, import and 93 otherwise transfer the Contribution of such Contributor, if any, in 94 source code and object code form. This patent license shall apply to the 95 combination of the Contribution and the Program if, at the time the 96 Contribution is added by the Contributor, such addition of the 97 Contribution causes such combination to be covered by the Licensed 98 Patents. The patent license shall not apply to any other combinations 99 which include the Contribution. No hardware per se is licensed hereunder. 100 101 c) Recipient understands that although each Contributor grants the 102 licenses to its Contributions set forth herein, no assurances are 103 provided by any Contributor that the Program does not infringe the 104 patent or other intellectual property rights of any other entity. Each 105 Contributor disclaims any liability to Recipient for claims brought by 106 any other entity based on infringement of intellectual property rights 107 or otherwise. As a condition to exercising the rights and licenses 108 granted hereunder, each Recipient hereby assumes sole responsibility to 109 secure any other intellectual property rights needed, if any. For 110 example, if a third party patent license is required to allow Recipient 111 to distribute the Program, it is Recipient's responsibility to acquire 112 that license before distributing the Program. 113 114 d) Each Contributor represents that to its knowledge it has sufficient 115 copyright rights in its Contribution, if any, to grant the copyright 116 license set forth in this Agreement. 117 118 *3. REQUIREMENTS* 119 120 A Contributor may choose to distribute the Program in object code form 121 under its own license agreement, provided that: 122 123 a) it complies with the terms and conditions of this Agreement; and 124 125 b) its license agreement: 126 127 i) effectively disclaims on behalf of all Contributors all warranties 128 and conditions, express and implied, including warranties or conditions 129 of title and non-infringement, and implied warranties or conditions of 130 merchantability and fitness for a particular purpose; 131 132 ii) effectively excludes on behalf of all Contributors all liability for 133 damages, including direct, indirect, special, incidental and 134 consequential damages, such as lost profits; 135 136 iii) states that any provisions which differ from this Agreement are 137 offered by that Contributor alone and not by any other party; and 138 139 iv) states that source code for the Program is available from such 140 Contributor, and informs licensees how to obtain it in a reasonable 141 manner on or through a medium customarily used for software exchange. 142 143 When the Program is made available in source code form: 144 145 a) it must be made available under this Agreement; and 146 147 b) a copy of this Agreement must be included with each copy of the Program. 148 149 Contributors may not remove or alter any copyright notices contained 150 within the Program. 151 152 Each Contributor must identify itself as the originator of its 153 Contribution, if any, in a manner that reasonably allows subsequent 154 Recipients to identify the originator of the Contribution. 155 156 *4. COMMERCIAL DISTRIBUTION* 157 158 Commercial distributors of software may accept certain responsibilities 159 with respect to end users, business partners and the like. While this 160 license is intended to facilitate the commercial use of the Program, the 161 Contributor who includes the Program in a commercial product offering 162 should do so in a manner which does not create potential liability for 163 other Contributors. Therefore, if a Contributor includes the Program in 164 a commercial product offering, such Contributor ("Commercial 165 Contributor") hereby agrees to defend and indemnify every other 166 Contributor ("Indemnified Contributor") against any losses, damages and 167 costs (collectively "Losses") arising from claims, lawsuits and other 168 legal actions brought by a third party against the Indemnified 169 Contributor to the extent caused by the acts or omissions of such 170 Commercial Contributor in connection with its distribution of the 171 Program in a commercial product offering. The obligations in this 172 section do not apply to any claims or Losses relating to any actual or 173 alleged intellectual property infringement. In order to qualify, an 174 Indemnified Contributor must: a) promptly notify the Commercial 175 Contributor in writing of such claim, and b) allow the Commercial 176 Contributor to control, and cooperate with the Commercial Contributor 177 in, the defense and any related settlement negotiations. The Indemnified 178 Contributor may participate in any such claim at its own expense. 179 180 For example, a Contributor might include the Program in a commercial 181 product offering, Product X. That Contributor is then a Commercial 182 Contributor. If that Commercial Contributor then makes performance 183 claims, or offers warranties related to Product X, those performance 184 claims and warranties are such Commercial Contributor's responsibility 185 alone. Under this section, the Commercial Contributor would have to 186 defend claims against the other Contributors related to those 187 performance claims and warranties, and if a court requires any other 188 Contributor to pay any damages as a result, the Commercial Contributor 189 must pay those damages. 190 191 *5. NO WARRANTY* 192 193 EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED 194 ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, 195 EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES 196 OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR 197 A PARTICULAR PURPOSE. Each Recipient is solely responsible for 198 determining the appropriateness of using and distributing the Program 199 and assumes all risks associated with its exercise of rights under this 200 Agreement , including but not limited to the risks and costs of program 201 errors, compliance with applicable laws, damage to or loss of data, 202 programs or equipment, and unavailability or interruption of operations. 203 204 *6. DISCLAIMER OF LIABILITY* 205 206 EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR 207 ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, 208 INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING 209 WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF 210 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 211 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR 212 DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED 213 HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 214 215 *7. GENERAL* 216 217 If any provision of this Agreement is invalid or unenforceable under 218 applicable law, it shall not affect the validity or enforceability of 219 the remainder of the terms of this Agreement, and without further action 220 by the parties hereto, such provision shall be reformed to the minimum 221 extent necessary to make such provision valid and enforceable. 222 223 If Recipient institutes patent litigation against any entity (including 224 a cross-claim or counterclaim in a lawsuit) alleging that the Program 225 itself (excluding combinations of the Program with other software or 226 hardware) infringes such Recipient's patent(s), then such Recipient's 227 rights granted under Section 2(b) shall terminate as of the date such 228 litigation is filed. 229 230 All Recipient's rights under this Agreement shall terminate if it fails 231 to comply with any of the material terms or conditions of this Agreement 232 and does not cure such failure in a reasonable period of time after 233 becoming aware of such noncompliance. If all Recipient's rights under 234 this Agreement terminate, Recipient agrees to cease use and distribution 235 of the Program as soon as reasonably practicable. However, Recipient's 236 obligations under this Agreement and any licenses granted by Recipient 237 relating to the Program shall continue and survive. 238 239 Everyone is permitted to copy and distribute copies of this Agreement, 240 but in order to avoid inconsistency the Agreement is copyrighted and may 241 only be modified in the following manner. The Agreement Steward reserves 242 the right to publish new versions (including revisions) of this 243 Agreement from time to time. No one other than the Agreement Steward has 244 the right to modify this Agreement. The Eclipse Foundation is the 245 initial Agreement Steward. The Eclipse Foundation may assign the 246 responsibility to serve as the Agreement Steward to a suitable separate 247 entity. Each new version of the Agreement will be given a distinguishing 248 version number. The Program (including Contributions) may always be 249 distributed subject to the version of the Agreement under which it was 250 received. In addition, after a new version of the Agreement is 251 published, Contributor may elect to distribute the Program (including 252 its Contributions) under the new version. Except as expressly stated in 253 Sections 2(a) and 2(b) above, Recipient receives no rights or licenses 254 to the intellectual property of any Contributor under this Agreement, 255 whether expressly, by implication, estoppel or otherwise. All rights in 256 the Program not expressly granted under this Agreement are reserved. 257 258 This Agreement is governed by the laws of the State of New York and the 259 intellectual property laws of the United States of America. No party to 260 this Agreement will bring a legal action under this Agreement more than 261 one year after the cause of action arose. Each party waives its rights 262 to a jury trial in any resulting litigation. 263 </text> 264 </license> 40 265 41 266 <plugins> -
trunk/de.ugoe.cs.swe.exercises/plugin.xml
r3 r7 130 130 <property 131 131 name="windowImages" 132 value=" /de.ugoe.cs.swe.exercise/icons/edit-copy16.png,/de.ugoe.cs.swe.exercise/icons/edit-copy48.png">132 value="icons/alt_window_16.gif,icons/alt_window_32.gif"> 133 133 </property> 134 134 <property … … 142 142 <property 143 143 name="aboutImage" 144 value=" /de.ugoe.cs.swe.exercise/about.png">144 value="icons/about.png"> 145 145 </property> 146 146 <property 147 147 name="aboutText" 148 value=" Another great product brought to you by:
The Exercise Manager Team

Please report any found bugs to /dev/null">148 value="Exercises"> 149 149 </property> 150 150 </product> -
trunk/de.ugoe.cs.swe.exercises/src/de/ugoe/cs/swe/exercises/ApplicationWorkbenchWindowAdvisor.java
r3 r7 25 25 configurer.setShowCoolBar(false); 26 26 configurer.setShowStatusLine(false); 27 configurer.setTitle("The Exercise Manager");28 27 } 29 28 } -
trunk/de.ugoe.cs.swe.exercises/src/de/ugoe/cs/swe/exercises/exercisesheet/PdfGenerator.java
r3 r7 102 102 } 103 103 104 String templatePath = ExerciseSVN.SVNpath; 105 templatePath = templatePath.replace('\\','/'); 106 107 String deliveryDate = "todo..."; 108 104 109 template = template.replaceAll("(\\W)LECTURE(\\W)", "$1" 105 110 + Matcher.quoteReplacement(event.toString()) + "$2"); … … 113 118 template = template.replaceAll("(\\W)EXERCISES(\\W)", "$1" 114 119 + Matcher.quoteReplacement(exercisesString) + "$2"); 120 template = template.replaceAll("(\\W)TEMPLATEPATH(\\W)", "$1" 121 + Matcher.quoteReplacement(templatePath) + "$2"); 122 template = template.replaceAll("(\\W)DELIVERYDATE(\\W)", "$1" 123 + Matcher.quoteReplacement(deliveryDate) + "$2"); 115 124 116 125 FileOutputStream ofstream = new FileOutputStream(latexFile);
Note: See TracChangeset
for help on using the changeset viewer.