[
https://jira.nuxeo.com/browse/NXBT-270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=108988#comment-108988
]
Sun Tan commented on NXBT-270:
------------------------------
My itest.xml would look like
{code}
<project name="nuxeo-cmf-tests" default="run-selenium-tests"
xmlns:nx="urn:nuxeo-build" xmlns:artifact="urn:nuxeo-artifact">
<taskdef resource="org/nuxeo/build/antlib.xml" uri="urn:nuxeo-build" />
<taskdef resource="org/nuxeo/build/artifact/antlib.xml"
uri="urn:nuxeo-artifact" />
<taskdef resource="net/sf/antcontrib/antlib.xml" />
<property name="suites" value="suite" />
<property name="classifier" value="tomcat" />
<property name="groupId" value="com.project.nuxeo" />
<property name="artifactId" value="my-project-distribution" />
<property name="out.dir" value="${maven.project.build.directory}" />
<unzip dest="${out.dir}/" overwrite="false">
<artifact:resolveFile key="org.nuxeo:nuxeo-ftest::zip" />
</unzip>
<import file="${out.dir}/nuxeo-ftest.xml" />
<target name="run-selenium-tests" depends="run-selenium" />
</project>
{code}
> Using nuxeo ftest,for prepare-tomcat and prepare jboss target, distribution
> shouldn't be hard coded
> ---------------------------------------------------------------------------------------------------
>
> Key: NXBT-270
> URL: https://jira.nuxeo.com/browse/NXBT-270
> Project: Nuxeo ECM Build/Test Environment
> Issue Type: Improvement
> Components: nuxeo-ftest
> Affects Versions: NXFT-1.7
> Reporter: Sun Tan
> Assignee: Sun Tan
>
> At the moment:
> <artifact:resolveFile
> key="org.nuxeo.ecm.distribution:nuxeo-distribution-jboss:${nuxeo.distribution.version}:zip"
> classifier="nuxeo-dm" />
> and
> <artifact:resolveFile
> key="org.nuxeo.ecm.distribution:nuxeo-distribution-tomcat:${nuxeo.distribution.version}:zip"
> classifier="nuxeo-dm" />
> We should have a way to use another distribution for instance:
> <import file="${out.dir}/nuxeo-ftest.xml" />
> <property name="prepare-tomcat.groupId" value="org.nuxeo.cm" />
> <property name="prepare-tomcat.artifactId"
> value="nuxeo-case-management-distribution" />
> <property name="prepare-tomcat.version" value="1.7-SNAPSHOT" />
> <property name="prepare-tomcat.classifier" value="tomcat-corr" />
> <target name="prepare-environment" depends="prepare-tomcat,wizard-on" />
> That would override values in prepare tomcat
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets