|
76 | 76 | <artifactId>tycho-packaging-plugin</artifactId> |
77 | 77 | <configuration> |
78 | 78 | <timestampProvider>fragment-host</timestampProvider> |
| 79 | + <archive> |
| 80 | + <manifestEntries> |
| 81 | + <Eclipse-Version>${releaseNumberSDK}</Eclipse-Version> |
| 82 | + </manifestEntries> |
| 83 | + </archive> |
79 | 84 | </configuration> |
80 | 85 | </plugin> |
81 | 86 | </plugins> |
|
148 | 153 | </target> |
149 | 154 | </configuration> |
150 | 155 | </execution> |
| 156 | + <execution> |
| 157 | + <id>prepare-translation-files</id> |
| 158 | + <phase>process-classes</phase> |
| 159 | + <goals> |
| 160 | + <goal>run</goal> |
| 161 | + </goals> |
| 162 | + <configuration> |
| 163 | + <target> |
| 164 | + <!-- Prepare translationfiles for inclusion by renaming '*._properties' to '*.properties' --> |
| 165 | + <move todir="${project.build.outputDirectory}" failonerror="true" preservelastmodified="true"> |
| 166 | + <fileset dir="${project.build.outputDirectory}" includes="**/*._properties"/> |
| 167 | + <mapper type="glob" from="*._properties" to="*.properties" /> |
| 168 | + </move> |
| 169 | + </target> |
| 170 | + </configuration> |
| 171 | + </execution> |
151 | 172 | <execution> |
152 | 173 | <id>package-swt-download-zip</id> |
153 | 174 | <phase>package</phase> |
|
158 | 179 | <target> |
159 | 180 | <property name="temp.folder" value="${project.build.directory}/swtdownload-temp" /> |
160 | 181 | <mkdir dir="${temp.folder}/swtdownload/" /> |
161 | | - <!-- Prepare translationfiles for inclusion --> |
162 | | - <copy todir="${temp.folder}/@dot.src" failonerror="true" overwrite="true"> |
163 | | - <fileset dir="${swtMainProject}/Eclipse SWT/common/" includes="**/*._properties"/> |
164 | | - <mapper type="glob" from="*._properties" to="*.properties" /> |
165 | | - </copy> |
166 | 182 | <!-- Prepare nested swt.jar and src.jar --> |
167 | 183 | <property name="mavenBuiltJarName" value="${project.build.directory}/org.eclipse.swt.${ws}.${os}.${arch}-${project.version}" /> |
168 | 184 | <copy file="${mavenBuiltJarName}.jar" tofile="${temp.folder}/swtdownload/swt.jar"/> |
169 | | - <jar jarfile="${temp.folder}/swtdownload/swt.jar" update="true" basedir="${temp.folder}/@dot.src"> |
170 | | - <manifest> |
171 | | - <attribute name="Eclipse-Version" value="${releaseNumberSDK}"/> |
172 | | - </manifest> |
173 | | - </jar> |
174 | 185 | <zip zipfile="${temp.folder}/swtdownload/src.zip" duplicate="preserve"> |
175 | 186 | <zipfileset src="${mavenBuiltJarName}-sources.jar" includes="**/*.sh" filemode="755"/> |
176 | 187 | <zipfileset src="${mavenBuiltJarName}-sources.jar" excludes="META-INF/**,OSGI-INF/**" /> |
177 | | - <fileset dir="${temp.folder}/@dot.src"/> |
178 | 188 | </zip> |
179 | 189 | <!--Assemple nested SWT-zip --> |
180 | 190 | <zip zipfile="${project.build.directory}/swt-${buildid}-${ws}-${os}-${arch}.zip"> |
|
0 commit comments