Skip to content
Permalink
Browse files
removed the hardcoded version from test script for jboss-wildfly
the wildfly maven plugin installs wildfly which apparently uses
some version ranges which can change over time. the test script
needs to find the place where the plugin installs wildfly instead
of hardcoded location.
  • Loading branch information
mkristian committed Nov 26, 2014
1 parent 35d5d13 commit 815e2e75abd9a25b644668f8ce32f941d1a3c8f2
Showing with 4 additions and 4 deletions.
  1. +0 −1 .travis.yml
  2. +4 −3 maven/jruby/src/it/j2ee_wildfly/pom.rb
@@ -62,7 +62,6 @@ matrix:
- env: PHASE='-Prake -Dtask=spec:profiler'
- env: PHASE='-Pjruby-jars,test -Dinvoker.test=extended'
- env: PHASE='-Pmain,test -Dinvoker.test=extended'
- env: PHASE='-Pj2ee'

branches:
only:
@@ -43,9 +43,10 @@
# download files during the tests
execute 'download', :phase => 'integration-test' do
require 'open-uri'
FileUtils.cp( 'target/j2ee_wildfly.war', 'target/wildfly-run/wildfly-8.1.0.Final/standalone/deployments/packed.war' )
FileUtils.cp_r( 'target/j2ee_wildfly', 'target/wildfly-run/wildfly-8.1.0.Final/standalone/deployments/unpacked.war' )
FileUtils.touch( 'target/wildfly-run/wildfly-8.1.0.Final/standalone/deployments/unpacked.war.dodeploy' )
dir = Dir[ 'target/wildfly-run/*' ].first
FileUtils.cp( 'target/j2ee_wildfly.war', dir + '/standalone/deployments/packed.war' )
FileUtils.cp_r( 'target/j2ee_wildfly', dir + '/standalone/deployments/unpacked.war' )
FileUtils.touch( dir + '/standalone/deployments/unpacked.war.dodeploy' )

# packed application
count = 10

0 comments on commit 815e2e7

Please sign in to comment.