Skip to content

Commit

Permalink
removed the hardcoded version from test script for jboss-wildfly
Browse files Browse the repository at this point in the history
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.
mkristian committed Nov 26, 2014
1 parent 35d5d13 commit 815e2e7
Showing 2 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -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:
7 changes: 4 additions & 3 deletions maven/jruby/src/it/j2ee_wildfly/pom.rb
Original file line number Diff line number Diff line change
@@ -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.