ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 35464] - Add a dry run mode
Date Wed, 22 Jun 2005 21:40:11 GMT
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=35464>.
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=35464





------- Additional Comments From stevel@apache.org  2005-06-22 23:40 -------
the way I work in a big project, we have one common file (common.xml), that
contains the base targets for everything. 

child projects <import> this, and override targets only if they need to do
something different. 

This isnt perfect, common.xml is a bit scary now, but it means we can have 10+
projects all in sync. To add new targets is easy too.

for file sharing, we have targets to put versioned files into the m2 repository
tree, and other build files can pull them out, with .properties files driving
version control. this gives us a unified way of dealing with our own artifacts
as well as remote things. 

here is the target from one project, for example

  <target name="m2-files" depends="m2-tasks">
    <m2-libraries pathID="m2.classpath">
      <dependency groupID="org.ggf"
        artifactID="cddlm"
        version="${cddlm.version}"/>
      <dependency groupID="commons-lang"
        artifactID="commons-lang"
        version="${commons-lang.version}"/>
      <dependency groupID="commons-logging"
        artifactID="commons-logging-api"
        version="${commons-logging.version}"/>
      <dependency groupID="log4j"
        artifactID="log4j"
        version="${log4j.version}"/>
      <dependency groupID="org.smartfrog"
        artifactID="sf-xml"
        version="${Version}"/>
      <dependency groupID="xom"
        artifactID="xom"
        version="${xom.version}"/>
      <dependency groupID="xalan"
        artifactID="xalan"
        version="${xalan.version}"/>
    </m2-libraries>
  </target>

regarding clearcase, it scares me. when it works, it is wonderful, but when it
goes wrong, you are truly hosed. And mostly works well on it, but if something
like your clean target keeps failing, reboot your box and try again before
filing a bug that <delete> doesnt work. Also note that the filesystem is
slightly case sensitive, even on windows. 

-- 
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


Mime
View raw message