You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2007/09/17 01:17:24 UTC

DO NOT REPLY [Bug 43404] New: - [depends] be able to (partially) disable/control the dependency graph calling ant

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43404>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43404

           Summary: [depends] be able to (partially) disable/control the
                    dependency graph calling ant
           Product: Ant
           Version: 1.7.0
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: dev@ant.apache.org
        ReportedBy: dev.tom.menzel@gmx.net


use case:
the dependency graph is fairly long and consumes quite some time to execute all
steps.
especially when testing it occurs that not all tasks in the chain need to be run.

it seems that others the same problem solving it with rather clumsy workarounds.

http://mail-archives.apache.org/mod_mbox/ant-user/200703.mbox/%3C00a501c76ac6$34e043d0$3a20a8c0@isabelteam.be%3E

command line options to handle this would be great, like:
--skip <target list>
RESULT: execution is normal except for those targets in the list. these are
skipped, meaning that their tasks arent executed, but their dependencies are
stilled honored and followed up.

--stopat <target list>
RESULT: when the dependency graph is created it wont follow any dependencies of
the named targets.

--nodepends <target list>
RESULT: only the given targets would be executed in the given order

--newtarget <target list>
RESULT: creates a new empty target with the given targets as the depends value.
the idea be hind this is: although you can execute several targets from the
command line in one go, the dependency graph is fully executed for each, causing
unneeded duplicate execution due to overlap

i realize that with a good build file design this options are not needed as
much, but you are not always in control of the build file or dont have the time
to rewrite/change it.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


DO NOT REPLY [Bug 43404] - [depends] be able to (partially) disable/control the dependency graph calling ant

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43404>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43404


gudnabrsam@yahoo.com changed:

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




------- Additional Comments From gudnabrsam@yahoo.com  2007-09-25 07:21 -------
You'd probably want to do this by implementing a custom Executor (defined in package 
org.apache.tools.ant .  You could use Ant properties to drive the various settings you've suggested.  In fact  
your --nodepends suggestion is already provided in the form of the IgnoreDependenciesExecutor, and -
newtarget in the SingleCheckExecutor.  These are provided in org.apache.tools.ant.helper .  Use the 
ant.executor.class property to specify the executor to use.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


DO NOT REPLY [Bug 43404] - [depends] be able to (partially) disable/control the dependency graph calling ant

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43404>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43404


dev.tom.menzel@gmx.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
         OS/Version|other                       |All
           Priority|P2                          |P3
           Platform|Other                       |All




------- Additional Comments From dev.tom.menzel@gmx.net  2007-09-16 16:18 -------
fixed bug props

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org