]
Martin Malina closed JBIDE-23161.
---------------------------------
I can see the updates, but I'm not really sure how to verify that it's all
correct, so I made a follow up jira for that: JBIDE-23311
Closing this.
Update bundled and website schema with wf10.1 schema
----------------------------------------------------
Key: JBIDE-23161
URL:
https://issues.jboss.org/browse/JBIDE-23161
Project: Tools (JBoss Tools)
Issue Type: Task
Components: server
Affects Versions: 4.4.2.AM1
Reporter: Rob Stryker
Assignee: Rob Stryker
Fix For: 4.4.2.AM1
WildFly 10.1 is released, so two tasks need to be done.
1) Make a pull request to
https://github.com/robstryker/jboss.org.schema with schema
changes
2) Make a pull request to
https://github.com/jbosstools/jbosstools-server/tree/master/as/plugins/or...
with schema changes
{code}
# Check out repos and DL new app server
wget
http://download.jboss.org/wildfly/10.1.0.Final/wildfly-10.1.0.Final.zip
unzip wildfly-10.1.0.Final.zip
git clone git@github.com:robstryker/jboss.org.schema.git
git clone git@github.com:jbosstools/jbosstools-server.git
tmpdir=`pwd`
echo $tmpdir
# Build the catalog plugin
cd jbosstools-server/as/plugins/org.jboss.tools.as.catalog/
mvn clean verify -DskipTests
cd target/classes/
echo "$tmpdir/wildfly-10.1.0.Final/docs/schema"
# Copy new or modified schema into the jboss.org.schema repo
java org.jboss.tools.as.catalog.internal.CopyReleasedSchemaToJBossOrg \
"$tmpdir/wildfly-10.1.0.Final/docs/schema" \
"$tmpdir/jboss.org.schema/schema_htdocs" jbossas
# Copy new or modified schema into the catalog schema folder
java org.jboss.tools.as.catalog.internal.CopyReleasedSchemaToJBossOrg \
"$tmpdir/wildfly-10.1.0.Final/docs/schema" \
"$tmpdir/jbosstools-server/as/plugins/org.jboss.tools.as.catalog/schema"
xsd
# Commit the changes to jboss.org.schema repo
cd $tmpdir/jboss.org.schema/schema_htdocs
git checkout -b wildfly101schema
git add -A
git commit -a -m "Update schema from WildFly 10.1.0 Final"
# TODO ACTION REQUIRED, push to your own repo and initiate pull request
cd $tmpdir/jbosstools-server/as/plugins/org.jboss.tools.as.catalog/target/classes/
git checkout -b wildfly101schema
# Update plugin.xml for catalog
java
-Dplugin.root.dir=$tmpdir/jbosstools-server/as/plugins/org.jboss.tools.as.catalog/ \
-Doutput.mode=generateCatalog\
org.jboss.tools.as.catalog.internal.GeneratePluginXmlCatalog >
$tmpdir/jbosstools-server/as/plugins/org.jboss.tools.as.catalog/plugin.xml
git add -A
git commit -a -m "Update schema from WildFly 10.1.0 Final"
#TODO ACTION REQUIRED, push to your own repo and initiate a PR
# run a build to verify it works
cd $tmpdir/jbosstools-server
mvn clean install -DskipTests
# Now run CatalogValidationTest manually
{code}