fixes packaging to work without JS
This commit is contained in:
parent
24a362c277
commit
c9a94334c4
|
@ -1,5 +1,6 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
<launchConfiguration type="org.eclipse.m2e.Maven2LaunchConfigurationType">
|
<launchConfiguration type="org.eclipse.m2e.Maven2LaunchConfigurationType">
|
||||||
|
<intAttribute key="M2_COLORS" value="0"/>
|
||||||
<booleanAttribute key="M2_DEBUG_OUTPUT" value="false"/>
|
<booleanAttribute key="M2_DEBUG_OUTPUT" value="false"/>
|
||||||
<stringAttribute key="M2_GOALS" value="package"/>
|
<stringAttribute key="M2_GOALS" value="package"/>
|
||||||
<booleanAttribute key="M2_NON_RECURSIVE" value="false"/>
|
<booleanAttribute key="M2_NON_RECURSIVE" value="false"/>
|
||||||
|
@ -12,10 +13,11 @@
|
||||||
<booleanAttribute key="M2_UPDATE_SNAPSHOTS" value="false"/>
|
<booleanAttribute key="M2_UPDATE_SNAPSHOTS" value="false"/>
|
||||||
<stringAttribute key="M2_USER_SETTINGS" value=""/>
|
<stringAttribute key="M2_USER_SETTINGS" value=""/>
|
||||||
<booleanAttribute key="M2_WORKSPACE_RESOLUTION" value="true"/>
|
<booleanAttribute key="M2_WORKSPACE_RESOLUTION" value="true"/>
|
||||||
|
<booleanAttribute key="org.eclipse.debug.core.ATTR_FORCE_SYSTEM_CONSOLE_ENCODING" value="false"/>
|
||||||
<booleanAttribute key="org.eclipse.jdt.launching.ATTR_ATTR_USE_ARGFILE" value="false"/>
|
<booleanAttribute key="org.eclipse.jdt.launching.ATTR_ATTR_USE_ARGFILE" value="false"/>
|
||||||
<booleanAttribute key="org.eclipse.jdt.launching.ATTR_SHOW_CODEDETAILS_IN_EXCEPTION_MESSAGES" value="true"/>
|
<booleanAttribute key="org.eclipse.jdt.launching.ATTR_SHOW_CODEDETAILS_IN_EXCEPTION_MESSAGES" value="true"/>
|
||||||
<booleanAttribute key="org.eclipse.jdt.launching.ATTR_USE_CLASSPATH_ONLY_JAR" value="false"/>
|
<booleanAttribute key="org.eclipse.jdt.launching.ATTR_USE_CLASSPATH_ONLY_JAR" value="false"/>
|
||||||
<booleanAttribute key="org.eclipse.jdt.launching.ATTR_USE_START_ON_FIRST_THREAD" value="true"/>
|
<booleanAttribute key="org.eclipse.jdt.launching.ATTR_USE_START_ON_FIRST_THREAD" value="true"/>
|
||||||
<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11/"/>
|
<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17/"/>
|
||||||
<stringAttribute key="org.eclipse.jdt.launching.WORKING_DIRECTORY" value="${project_loc:com.minres.scviewer.parent}"/>
|
<stringAttribute key="org.eclipse.jdt.launching.WORKING_DIRECTORY" value="${project_loc:com.minres.scviewer.parent}"/>
|
||||||
</launchConfiguration>
|
</launchConfiguration>
|
||||||
|
|
|
@ -1,30 +1,9 @@
|
||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<project name="project">
|
<project name="project">
|
||||||
|
|
||||||
<target name="getMajorMinorVersion">
|
<!-- site.label The name/title/label of the created composite site unqualifiedVersion
|
||||||
<script language="javascript">
|
The version without any qualifier replacement buildQualifier The build qualifier -->
|
||||||
<![CDATA[
|
<target name="compute.child.repository.data">
|
||||||
|
|
||||||
// getting the value
|
|
||||||
buildnumber = project.getProperty("unqualifiedVersion");
|
|
||||||
index = buildnumber.lastIndexOf(".");
|
|
||||||
counter = buildnumber.substring(0, index);
|
|
||||||
project.setProperty("majorMinorVersion",counter);
|
|
||||||
|
|
||||||
]]>
|
|
||||||
</script>
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<target name="test_getMajorMinor" depends="getMajorMinorVersion">
|
|
||||||
<echo message="majorMinorVersion: ${majorMinorVersion}"/>
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<!--
|
|
||||||
site.label The name/title/label of the created composite site
|
|
||||||
unqualifiedVersion The version without any qualifier replacement
|
|
||||||
buildQualifier The build qualifier
|
|
||||||
-->
|
|
||||||
<target name="compute.child.repository.data" depends="getMajorMinorVersion">
|
|
||||||
<property name="full.version" value="${unqualifiedVersion}" />
|
<property name="full.version" value="${unqualifiedVersion}" />
|
||||||
|
|
||||||
<property name="software.download.area" location="${user.home}/p2.repositories" />
|
<property name="software.download.area" location="${user.home}/p2.repositories" />
|
||||||
|
|
|
@ -64,7 +64,7 @@
|
||||||
<version>${tycho-version}</version>
|
<version>${tycho-version}</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<!-- IMPORTANT: DO NOT split the arg line -->
|
<!-- IMPORTANT: DO NOT split the arg line -->
|
||||||
<appArgLine>-application org.eclipse.ant.core.antRunner -buildfile packaging-p2-composite.ant p2.composite.add -Dsite.label="SCViewer Software Repository" -Dproject.build.directory=${project.build.directory} -DunqualifiedVersion=${unqualifiedVersion} -Dsoftware.download.area="${software.download.area}/SCViewer-GHP/repository"</appArgLine>
|
<appArgLine>-application org.eclipse.ant.core.antRunner -buildfile packaging-p2-composite.ant p2.composite.add -Dsite.label="SCViewer Software Repository" -Dproject.build.directory=${project.build.directory} -DmajorMinorVersion=${parsedVersion.majorVersion}.${parsedVersion.minorVersion} -DunqualifiedVersion=${unqualifiedVersion} -Dsoftware.download.area="${software.download.area}/SCViewer-GHP/repository"</appArgLine>
|
||||||
<repositories>
|
<repositories>
|
||||||
<repository>
|
<repository>
|
||||||
<id>2021-12</id>
|
<id>2021-12</id>
|
||||||
|
|
Loading…
Reference in New Issue