You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2014/03/15 00:58:17 UTC

[Bug 56267] New: Ant does not work with Tomcat7 parallel deployment

https://issues.apache.org/bugzilla/show_bug.cgi?id=56267

            Bug ID: 56267
           Summary: Ant does not work with Tomcat7 parallel deployment
           Product: Ant
           Version: 1.9.2
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
          Assignee: notifications@ant.apache.org
          Reporter: mgeich5+apachebug@gmail.com

When trying to perfom a deploy operation with a file fileName##versionNum as
specified in the Tomcat7 parallel deployment info, Ant is not able to find the
correct file. Everything works fine when doing a simple deploy (file without
the ## caracters).

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 56267] Ant does not work with Tomcat7 parallel deployment

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56267

mgeich5+apachebug@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #3 from mgeich5+apachebug@gmail.com ---
Hi guys, thanks for the help. I am using "file:" and with %23%23 it worked, ant
finds the file. Now the problem is that I can't deploy a specific version. This
option does not seems to be in the task. I will now try to find a solution for
this.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 56267] Ant does not work with Tomcat7 parallel deployment

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56267

Stefan Bodewig <bo...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #1 from Stefan Bodewig <bo...@apache.org> ---
I think you are talking about a task that is part of the Tomcat distribution
and not part of Ant itself.  You better report this with the Tomcat community
as I doubt anybody here will know how to help.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 56267] Ant does not work with Tomcat7 parallel deployment

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56267

--- Comment #2 from Antoine Levy-Lambert <an...@apache.org> ---
Do you prefix the name of the file with file: ? if it is prefixed by file: then
it is a URL. Maybe in this case the ## needs to be escaped as %23%23 . The #
character is nothing special in XML but could well be special in URLs.

I saw the sources of this deployment task here :

http://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk/java/org/apache/catalina/ant/DeployTask.java

You can also reassign the bug report to Tomcat 7 which is also in Bugzilla.

-- 
You are receiving this mail because:
You are the assignee for the bug.