[jboss-jira] [JBoss JIRA] (AS7-6350) Remove hard-coded paths to AS distribution

Ondrej Zizka (JIRA) jira-events at lists.jboss.org
Tue Jan 22 18:48:21 EST 2013


    [ https://issues.jboss.org/browse/AS7-6350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12749602#comment-12749602 ] 

Ondrej Zizka commented on AS7-6350:
-----------------------------------

{code}
ondra at lenovo:~/work/AS/ozizka-git$ git grep /jboss-as-
arquillian/container-embedded/pom.xml:          <jboss.home>${project.basedir}/../../build/target/jboss-as-${jboss.as.release.version}</jboss.home>
arquillian/container-managed-domain/pom.xml:        <jboss.home>${project.basedir}/../../build/target/jboss-as-${jboss.as.release.version}</jboss.home>
arquillian/container-managed/pom.xml:        <jboss.home>${project.basedir}/../../build/target/jboss-as-${jboss.as.release.version}</jboss.home>
arquillian/testng-integration/pom.xml:        <jboss.home>${project.basedir}/../../build/target/jboss-as-${jboss.as.release.version}</jboss.home>
build-modular/build-modular-config.xml: <property name="server.input.dir" value="${basedir}/../build/target/jboss-as-${jboss.as.release.version}" />
build-modular/build-modular-config.xml: <property name="server.output.dir" value="target/jboss-as-${modular.config.name}-${jboss.as.release.version}" />
build-modular/pom.xml:                                          <property name="server.output.dir" value="target/jboss-as-${modular.config.name}-${jboss.as.release.version}" />
build/build-configs.xml:    <property name="output.dir" value="target/jboss-as-${jboss.as.release.version}"/>
build/build.xml:    <property name="output.dir" value="target/jboss-as-${jboss.as.release.version}"/>
build/javadoc/README.txt:  target/jboss-as-build-7.1.2.Final-SNAPSHOT-javadoc.jar
build/javadoc/extractPackageGroupsByModules.sh:AS_BUILT_DIR=`ls -1 -d $PROJECT_ROOT_DIR/build/target/jboss-as-* | tail -1`  # Latest built AS in target/
build/javadoc/extractPackageGroupsByModules.sh:      #for JAR in `find $PROJECT_ROOT_DIR/build/target/jboss-as-7.1.3.Beta1/modules/$MOD_PATH/main -name *.jar`; do
build/javadoc/extractPublicApiArtifactsList.sh:  AS_DIR=`ls -1d build/target/jboss-as-*`
build/lib.xml:    <property name="output.dir" value="target/jboss-as-${jboss.as.release.version}"/>
build/pom.xml:                                        ${project.build.directory}/jboss-as-${jboss.as.release.version}/docs/licenses
build/pom.xml:                                        ${project.build.directory}/jboss-as-${jboss.as.release.version}/docs/licenses/licenses.xml
build/src/main/resources/bin/init.d/jboss-as-domain.sh:# pidfile: /var/run/jboss-as/jboss-as-domain.pid
build/src/main/resources/bin/init.d/jboss-as-domain.sh:  JBOSS_PIDFILE=/var/run/jboss-as/jboss-as-domain.pid
build/src/main/resources/bin/init.d/jboss-as-standalone.sh:# pidfile: /var/run/jboss-as/jboss-as-standalone.pid
build/src/main/resources/bin/init.d/jboss-as-standalone.sh:  JBOSS_PIDFILE=/var/run/jboss-as/jboss-as-standalone.pid
testsuite/compat/pom.xml:        <jboss.dist>${jbossas.project.dir}/build/target/jboss-as-${jboss.as.release.version}</jboss.dist>
testsuite/domain/pom.xml:        <jboss.dist>${project.basedir}/../../build/target/jboss-as-${jboss.as.release.version}</jboss.dist>
testsuite/integration/basic/pom.xml:  -Djboss.home=${workspace_loc:jboss-as-build}/target/jboss-as-7.2.0.Alpha1-SNAPSHOT 
testsuite/integration/osgi/pom.xml:  -Djboss.home=${workspace_loc:jboss-as-build}/target/jboss-as-7.2.0.Alpha1-SNAPSHOT 
testsuite/integration/pom.xml:        <jboss.dist>${jbossas.project.dir}/build/target/jboss-as-${jboss.as.release.version}</jboss.dist>
testsuite/integration/smoke/pom.xml:  -Djboss.home=${workspace_loc:jboss-as-build}/target/jboss-as-7.2.0.Alpha1-SNAPSHOT 
testsuite/mixed-domain/pom.xml:        <jboss.dist>${project.basedir}/../../build/target/jboss-as-${jboss.as.release.version}</jboss.dist>
testsuite/pom.xml:        <jboss.dist>${project.basedir}/../build/target/jboss-as-${jboss.as.release.version}</jboss.dist>
testsuite/pom.xml:                                                    <fileset dir="../jdr/jboss-as-jdr/src/main/java"><include name="**/*.java"/></fileset>
{code}

                
> Remove hard-coded paths to AS distribution
> ------------------------------------------
>
>                 Key: AS7-6350
>                 URL: https://issues.jboss.org/browse/AS7-6350
>             Project: Application Server 7
>          Issue Type: Enhancement
>          Components: Build System, Test Suite
>            Reporter: Paul Gier
>            Assignee: Ondrej Zizka
>             Fix For: 7.2.0.Alpha1
>
>
> There are currently a lot of places in the arquillian and testsuite modules which contain a hard-coded path to the location of the AS distribution (build/target/jbossas).  This makes it difficult to change this path when re-branding the AS.
> It would be good if these could be configured to use a single POM property such as jboss.home and/or jboss.dist so that the path can be updated in a single place.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list