You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Alex Boisvert (JIRA)" <ji...@apache.org> on 2009/03/05 22:51:56 UTC
[jira] Created: (BUILDR-263) package(:war).merge not working
correctly with exclude()
package(:war).merge not working correctly with exclude()
--------------------------------------------------------
Key: BUILDR-263
URL: https://issues.apache.org/jira/browse/BUILDR-263
Project: Buildr
Issue Type: Bug
Affects Versions: 1.3.3
Reporter: Alex Boisvert
Fix For: 1.3.4
Here's a Buildfile with embedded tests to demonstrate the issue:
repositories.remote << "http://www.ibiblio.org/maven2/"
repositories.remote << "http://www.intalio.org/public/maven2/"
AXIS2_WAR = "org.apache.axis2:axis2-webapp:war:1.3"
define "merge" do
project.version = "0.1"
project.group = "foo"
package(:war).merge(artifact(AXIS2_WAR)).exclude("WEB-INF/*").exclude("META-INF/*").exclude("axis2-web/index.jsp")
check package(:war), 'should contain axis2-web directory' do
it.should contain('axis2-web/*')
end
check package(:war).path('WEB-INF'), 'should not contain WEB-INF' do
it.should_not contain('**/*')
end
check package(:war).path('WEB-INF'), 'WEF-INF should not contain axis2-war/index.jsp' do
it.should_not contain('axis2-war/index.jsp')
end
end
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (BUILDR-263) package(:war).merge not working
correctly with exclude()
Posted by "Alex Boisvert (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Boisvert updated BUILDR-263:
---------------------------------
Attachment: Buildfile
> package(:war).merge not working correctly with exclude()
> --------------------------------------------------------
>
> Key: BUILDR-263
> URL: https://issues.apache.org/jira/browse/BUILDR-263
> Project: Buildr
> Issue Type: Bug
> Affects Versions: 1.3.3
> Reporter: Alex Boisvert
> Fix For: 1.3.4
>
> Attachments: Buildfile
>
>
> Here's a Buildfile with embedded tests to demonstrate the issue:
> repositories.remote << "http://www.ibiblio.org/maven2/"
> repositories.remote << "http://www.intalio.org/public/maven2/"
> AXIS2_WAR = "org.apache.axis2:axis2-webapp:war:1.3"
> define "merge" do
> project.version = "0.1"
> project.group = "foo"
> package(:war).merge(artifact(AXIS2_WAR)).exclude("WEB-INF/*").exclude("META-INF/*").exclude("axis2-web/index.jsp")
> check package(:war), 'should contain axis2-web directory' do
> it.should contain('axis2-web/*')
> end
> check package(:war).path('WEB-INF'), 'should not contain WEB-INF' do
> it.should_not contain('**/*')
> end
> check package(:war).path('WEB-INF'), 'WEF-INF should not contain axis2-war/index.jsp' do
> it.should_not contain('axis2-war/index.jsp')
> end
> end
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (BUILDR-263) package(:war).merge not working
correctly with exclude()
Posted by "Assaf Arkin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Assaf Arkin resolved BUILDR-263.
--------------------------------
Resolution: Fixed
SVN fix will resolve this.
> package(:war).merge not working correctly with exclude()
> --------------------------------------------------------
>
> Key: BUILDR-263
> URL: https://issues.apache.org/jira/browse/BUILDR-263
> Project: Buildr
> Issue Type: Bug
> Affects Versions: 1.3.3
> Reporter: Alex Boisvert
> Fix For: 1.3.4
>
> Attachments: Buildfile
>
>
> Here's a Buildfile with embedded tests to demonstrate the issue:
> repositories.remote << "http://www.ibiblio.org/maven2/"
> repositories.remote << "http://www.intalio.org/public/maven2/"
> AXIS2_WAR = "org.apache.axis2:axis2-webapp:war:1.3"
> define "merge" do
> project.version = "0.1"
> project.group = "foo"
> package(:war).merge(artifact(AXIS2_WAR)).exclude("WEB-INF/*").exclude("META-INF/*").exclude("axis2-web/index.jsp")
> check package(:war), 'should contain axis2-web directory' do
> it.should contain('axis2-web/*')
> end
> check package(:war).path('WEB-INF'), 'should not contain WEB-INF' do
> it.should_not contain('**/*')
> end
> check package(:war).path('WEB-INF'), 'WEF-INF should not contain axis2-war/index.jsp' do
> it.should_not contain('axis2-war/index.jsp')
> end
> end
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.