Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
strategy:
fail-fast: false
matrix:
java: [ 21, 25 ]
java: [ 25 ]
os: [ ubuntu-latest, windows-latest, macos-latest ]
target: [ 2024-12, 2026-03, canary ]
target: [ 2024-12, 2026-09, canary ]
runs-on: ${{ matrix.os }}
name: OS ${{ matrix.os }} Target ${{ matrix.target }} Java ${{ matrix.java }} build and verify
steps:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,7 @@ public static IConfigurationElement load(IConfigurationElement parent, URL url)
spf.setValidating(false);

try {
spf.setFeature("http://apache.org/xml/features/disallow-doctype-decl", true);
SAXParser parser = spf.newSAXParser();

ConstraintsContentHandler handler = new ConstraintsContentHandler(parent.getDeclaringExtension(), url);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ <h2><a name="refs">References</a></h2>
</li>
<li><a href="../references/extension-points/org_eclipse_emf_validation_constraintProviders.html"><code>org.eclipse.emf.validation.constraintProviders</code></a> extension point.</li>
<li><a href="../references/extension-points/org_eclipse_emf_validation_constraintParsers.html"><code>org.eclipse.emf.validation.constraintParsers</code></a> extension point.</li>
<li><a target="_blank" href="http://www.omg.org/cgi-bin/doc?formal/2006-05-01">OCL 2.0</a> specification.</li>
<li><a target="_blank" href="https://www.omg.org/spec/OCL/2.0/">OCL 2.0</a> specification.</li>
</ul>
</p>
<p class="small">[<a href="#top">back to top</a>]</p>
Expand Down Expand Up @@ -170,7 +170,7 @@ <h2><a name="batch">Specifying a Batch Mode OCL Constraint</a></h2>
The one exception is the message string, which for OCL constraints can specify
the <code>{0}</code> placeholder one or more times to be replaced by the label
for the element that was validated (see the
<code><a href="http://java.sun.com/j2se/1.4.2/docs/api/java/text/MessageFormat.html">MessageFormat</a></code>
<code><a href="https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/text/MessageFormat.html">MessageFormat</a></code>
API for details). Usually, the label will look something like
"Writer Isaac Asimov"; this can be customized via the
<code><a href="/help/topic/org.eclipse.emf.doc/references/javadoc/org/eclipse/emf/edit/provider/IItemLabelProvider.html">IItemLabelProvider</a></code>
Expand Down
6 changes: 3 additions & 3 deletions releng/org.eclipse.emf.validation.releng/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@

<!-- this is the parent POM from which all modules inherit common settings -->
<properties>
<tycho.version>5.0.3</tycho.version>
<tycho.version>5.0.4</tycho.version>
<cbi-plugins.version>1.5.2</cbi-plugins.version>
<cyclonedx.version>2.9.2</cyclonedx.version>
<cyclonedx.version>2.9.3</cyclonedx.version>
<maven.test.failure.ignore>false</maven.test.failure.ignore>
<platform>2024-12</platform>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down Expand Up @@ -78,7 +78,7 @@
<artifactId>target-platform-configuration</artifactId>
<version>${tycho.version}</version>
<configuration>
<executionEnvironment>JavaSE-21</executionEnvironment>
<executionEnvironment>JavaSE-25</executionEnvironment>
<!-- add target file content to target platform -->
<target>
<artifact>
Expand Down
2 changes: 1 addition & 1 deletion releng/org.eclipse.emf.validation.releng/promotion/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ SPDX-License-Identifier: EPL-2.0
<artifactId>tycho-eclipse-plugin</artifactId>
<version>${tycho.version}</version>
<configuration>
<executionEnvironment>JavaSE-21</executionEnvironment>
<executionEnvironment>JavaSE-25</executionEnvironment>
<dependencies>
<dependency>
<artifactId>org.eclipse.justj.p2</artifactId>
Expand Down
6 changes: 3 additions & 3 deletions releng/org.eclipse.emf.validation.target/2026-06.target
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@
<location includeMode="planner" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="false" type="InstallableUnit">
<unit id="org.eclipse.sdk.ide" version="0.0.0"/>
<unit id="org.eclipse.platform.ide" version="0.0.0"/>
<repository id="Eclipse-4.40" location="https://download.eclipse.org/eclipse/updates/4.40-I-builds"/>
<repository id="Eclipse-4.40" location="https://download.eclipse.org/eclipse/updates/4.40"/>
</location>
<location includeMode="planner" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="false" type="InstallableUnit">
<unit id="org.eclipse.emf.edit.feature.group" version="0.0.0"/>
<unit id="org.eclipse.emf.examples.feature.group" version="0.0.0"/>
<unit id="org.eclipse.emf.sdk.feature.group" version="0.0.0"/>
<unit id="org.eclipse.emf.ecore.edit.feature.group" version="0.0.0"/>
<repository id="EMF-2.46" location="https://download.eclipse.org/modeling/emf/emf/builds/milestone/latest"/>
<repository id="EMF-2.46" location="https://download.eclipse.org/modeling/emf/emf/builds/release/2.46.0"/>
</location>
<location includeMode="planner" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="false" type="InstallableUnit">
<unit id="org.eclipse.ocl.feature.group" version="0.0.0"/>
<repository id="OCL-6.23" location="https://download.eclipse.org/modeling/mdt/ocl/builds/milestone/latest"/>
<repository id="OCL-6.24" location="https://download.eclipse.org/modeling/mdt/ocl/builds/release/6.24.0"/>
</location>
</locations>
</target>
26 changes: 26 additions & 0 deletions releng/org.eclipse.emf.validation.target/2026-09.target
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?pde?>
<target name="emf-validation-2026-09" sequenceNumber="1660142140">
<locations>
<location includeMode="planner" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="false" type="InstallableUnit">
<unit id="org.eclipse.license.feature.group" version="0.0.0"/>
<repository id="Eclipse-Shared-License" location="https://download.eclipse.org/cbi/updates/license"/>
</location>
<location includeMode="planner" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="false" type="InstallableUnit">
<unit id="org.eclipse.sdk.ide" version="0.0.0"/>
<unit id="org.eclipse.platform.ide" version="0.0.0"/>
<repository id="Eclipse-4.41" location="https://download.eclipse.org/eclipse/updates/4.41"/>
</location>
<location includeMode="planner" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="false" type="InstallableUnit">
<unit id="org.eclipse.emf.edit.feature.group" version="0.0.0"/>
<unit id="org.eclipse.emf.examples.feature.group" version="0.0.0"/>
<unit id="org.eclipse.emf.sdk.feature.group" version="0.0.0"/>
<unit id="org.eclipse.emf.ecore.edit.feature.group" version="0.0.0"/>
<repository id="EMF-2.47" location="https://download.eclipse.org/modeling/emf/emf/builds/release/2.47.0"/>
</location>
<location includeMode="planner" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="false" type="InstallableUnit">
<unit id="org.eclipse.ocl.feature.group" version="0.0.0"/>
<repository id="OCL-6.24" location="https://download.eclipse.org/modeling/mdt/ocl/builds/release/6.24.0"/>
</location>
</locations>
</target>
26 changes: 26 additions & 0 deletions releng/org.eclipse.emf.validation.target/2026-12.target
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?pde?>
<target name="emf-validation-2026-12" sequenceNumber="1660142140">
<locations>
<location includeMode="planner" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="false" type="InstallableUnit">
<unit id="org.eclipse.license.feature.group" version="0.0.0"/>
<repository id="Eclipse-Shared-License" location="https://download.eclipse.org/cbi/updates/license"/>
</location>
<location includeMode="planner" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="false" type="InstallableUnit">
<unit id="org.eclipse.sdk.ide" version="0.0.0"/>
<unit id="org.eclipse.platform.ide" version="0.0.0"/>
<repository id="Eclipse" location="https://download.eclipse.org/eclipse/updates/4.42-I-builds"/>
</location>
<location includeMode="planner" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="false" type="InstallableUnit">
<unit id="org.eclipse.emf.edit.feature.group" version="0.0.0"/>
<unit id="org.eclipse.emf.examples.feature.group" version="0.0.0"/>
<unit id="org.eclipse.emf.sdk.feature.group" version="0.0.0"/>
<unit id="org.eclipse.emf.ecore.edit.feature.group" version="0.0.0"/>
<repository id="EMF" location="https://download.eclipse.org/modeling/emf/emf/builds/milestone/latest"/>
</location>
<location includeMode="planner" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="false" type="InstallableUnit">
<unit id="org.eclipse.ocl.feature.group" version="0.0.0"/>
<repository id="OCL" location="https://download.eclipse.org/modeling/mdt/ocl/builds/milestone/latest"/>
</location>
</locations>
</target>
Loading