[jbosstools-issues] [JBoss JIRA] (JBIDE-23161) Update bundled and website schema with wf10.1 schema

Rob Stryker (JIRA) issues at jboss.org
Tue Sep 13 18:44:00 EDT 2016


Rob Stryker created JBIDE-23161:
-----------------------------------

             Summary: 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


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/org.jboss.tools.as.catalog/schema 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 https://github.com/robstryker/jboss.org.schema
 git clone https://github.com/jbosstools/jbosstools-server
 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
  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"

{code}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list