Commit graph

30 commits

Author SHA1 Message Date
tonio
2961d62242 Update devel/apache-ant to 1.8.0
Fix PR pkg/42990

* Lexically scoped local properties, i.e. properties that are only defined
  inside a target, sequential block or similar environment.
* <import> can now import from any file- or URL-providing resource - this
  includes <javaresource>.
* Various improvements to the directory scanning code that help with symbolic
  link cycles (as can be found on MacOS X Java installations for example) and
  improve scanning performance. For big directory trees the improvement is
  dramatic.
* The way developers can extend Ant's property expansion algorithm has been
  rewritten (breaking the older API) to be easier to use and be more powerful.
  a new top level element extension-point allows build files to be extended
  with custom targets more easily
* At the same time the if and unless attributes have been rewritten to do the
  expected thing if applied to a property expansion (i.e. if="${foo}" will mean
  "yes, do it" if ${foo} expands to true, in Ant 1.7.1 it would mean "no"
  unless a property named "true" existed). This adds "testing conditions" as a
  new use-case to property expansion.
* Ant now requires Java 1.4 or later
* new task include provides an alternative to <import> that should be preferred
  when you don't want to override any targets
* numerous bug fixes and improvements as documented in Bugzilla and in WHATSNEW
2010-04-13 21:05:41 +00:00
joerg
0268c554bd Remove @dirrm entries from PLISTs 2009-06-14 17:38:38 +00:00
christos
7ac5dd9a82 welcome to 1.7.1 2009-01-19 00:38:17 +00:00
adrianp
88183e8509 It's not much use specifying a path to a java wrapper that may not exist.
Test for the wrapper and if it does not exist fall back to auto-detection
PKGREVISION++
2008-10-25 17:43:33 +00:00
joerg
a8a3c01339 Explicitly add pax dependency in those Makefiles that use it (or have
patches to add it). Drop pax from the default USE_TOOLS list.
Make bsdtar the default for those places that wanted gtar to extract
long links etc, as bsdtar can be built of the tree.
2008-05-25 21:42:20 +00:00
jlam
4c8382aec0 Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
2008-03-03 17:45:33 +00:00
rillig
ad2e591ad7 Fixed some pkglint warnings and some other stylistic things that are not
yet in pkglint.
2007-02-15 14:20:54 +00:00
tonio
1890b10f76 Update devel/apache-ant to 1.7.0
Changes that could break older environments:
-------------------------------------------

* Initial support for JDK 6 (JSR 223) scripting.
  <*script*> tasks will now use javax.scripting if BSF is
  not available, or if explicitly requested by using
  a "manager" attribute.
* The -noproxy option which was in the previous 1.7 alpha and beta
  releases has been removed. It is the default behavior and not needed.
* Removed launcher classes from nodeps jar.
* <classconstants> filter reader uses ISO-8859-1 encoding to read
  the java class file. Bugzilla report 33604.
* Defer reference process. Bugzilla 36955, 34458, 37688.
  This may break build files in which a reference was set in a target which was
  never executed. Historically, Ant would set the reference early on, during parse
  time, so the datatype would be defined. Now it requires the reference to have
  been in a bit of the build file which was actually executed. If you get
  an error about an undefined reference, locate the reference and move it somewhere
  where it is used, or fix the depends attribute of the target in question to
  depend on the target which defines the reference/datatype.
* <script> and <scriptdef> now set the current thread context.
* Unrestrict the dbvendor names in the websphere element of the ejbjar task.
* <env> nested element in <java>, <exec> and others is now case-insensitive
  for windows OS. Bugzilla Report 28874.
* Removed support for xalan1 completely. Users of Xalan1 for Ant builds will
  have to stay at ant 1.6.5 or upgrade to xalan2.
* Use org.apache.log4j.Logger instead of org.apache.log4j.Category.
  Category has been deprecated for ~2 years and has been removed from
  the log4j code.  Logger was introduced in log4j 1.2 so users of
  log4j 1.1 and log4j 1.0 need to upgrade to a newer version of log4j.
* build.sysclasspath now also affects the bootclasspath handling of
  spawned Java VMs.  If you set build.sysclasspath to anything other
  than "ignore" (or leave it unset, since "ignore" is the default when
  it comes to bootclasspath handling), then the bootclasspath of the
  VM running Ant will be added to the bootclasspath you've specified.
* The <java fork="false"> now as per default installs a security manager
  using the default permissions. This is now independent of the
  failonerror attribute.
* <signjar> now notices when the jar and signedjar are equal, and switches
  to the same dependency logic as when signedjar is omitted. This may break
  something that depended upon signing in this situation. However, since
  invoking the JDK jarsigner program with -signedjar set to the source jar
  actually crashes the JVM on our (Java1.5) systems, we don't think any
  build files which actually worked will be affected by the change.
* <signjar> used to ignore a nested fileset when a jar was also provided as an
  attribute, printing a warning message; now it signs files in the fileset.
* An improved method of handling timestamp granularity differences between
  client and server was added to the <ftp> task.  FTP servers typically
  have HH:mm timestamps whereas local filesystems have HH:mm:ss timestamps.
  Previously, this required tweaking with the timediffmillis attribute
  which also was used to handle timezone differences.  Now, there is a new
  timestampgranularity attribute.  The default value for get operations is 0
  since the user has the more powerful preservelastmodified attribute to work
  with.  Since this is not available on put operations the default value
  adds a minute to the server timestamp in order to account for this,
  Scripts which previously used timediffmillis to do this compensation may
  need to be rewritten.  timediffmillis has now been deprecated.
* On Java1.5+, Ant automatically sets the system property
  java.net.useSystemProxies to true, which gives it automatic use of the local
  IE (Windows) or Gnome2 (Unix/Linux) proxy settings. This may break any build
  file that somehow relied on content outside the firewall being unreachable:
  use the -noproxy command-line option to disable this new feature.
  Note that the Java1.5 proxy configuration system still does not
  appear to work reliably on Windows or Linux.
* Support for the XSL:P XML parser has been removed.
* Visual Age for Java optional tasks removed.
* Testlet (test) optional task removed.
* Icontract optional task removed.
* Metamata (maudit, mmetrics, and mparse tasks) removed.
* Sitraka (jpcoverage, jpcovmerge, jpcovreport) tasks suppressed.
* <fixcrlf> used \r (Mac) line endings on OS X, whose proper line separator
  is \n (Unix).
* <scp> now optionally supports the sftp protocol, you may need a
  newer jsch.jar.
* Ant launcher program prints errors to stderr, and exits with a 2 exit code
  value if, for any reason, it cannot actually start Ant proper. This will only
  affect programs/scripts that called the launcher and which did not want to
  receive an error if Ant itself would not start
* All .NET tasks are now deprecated in favor of the new .NET Antlib:
  http://ant.apache.org/antlibs/dotnet/index.html
2007-01-16 11:03:38 +00:00
tv
520c2adc7a Ant hasn't depended on crimson in a very long time -- it has a built-in
Xerces copy in the distribution.  Remove DEPENDS and bump PKGREVISION.
2006-04-26 15:02:19 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
tonio
b647b44b7f Removing useless file, the ant package now patches the original script 2005-09-08 17:48:26 +00:00
tonio
38ecf2e429 Update apache-ant to 1.6.5
Remove the files/ant script, by patching the bin/ant script, as ant people
worked on it.
I'm taking maintainership for this one

Fix PR 29038 and PR 29338, apache-ant now can use plugins
Fix PR 30332 (update to 1.6.5)

Approved by jwise@
2005-09-03 22:59:25 +00:00
jlam
81edaaa606 Create directories before installing files into them. 2005-06-16 06:57:37 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
jwise
3e02ab3b21 Having never had anything to do with this package, correct a
MAINTAINER=jwise@netbsd.org

which appears to have been copied wholesale from the apache-ant15 package.
2005-04-11 15:11:27 +00:00
agc
4a3d2f7ce2 Add RMD160 digests. 2005-02-23 22:24:08 +00:00
jlam
5e5ac5cef9 USE_BUILDLINK3 is a yes/no variable. 2004-11-13 21:28:27 +00:00
recht
02a2b8253c update to apache-ant-1.6.2
Ant 1.6.2 fixes a large number of bugs and adds a number of features which
were asked for by users on Bugzilla.

Important changes (for a complete list see the included WHATSNEW document):

Changes that could break older environments:
--------------------------------------------

* The import task used the canonical version of a file path. This
  has been changed to use the absolute path. Bugzilla 28505.

* ant-xalan2.jar has been removed since the only class contained in it
  didn't depend on Xalan-J 2 at all.  Its sole dependency has always
  been TraX and so it has been merged into ant-trax.jar.

* All exceptions thrown by tasks are now wrapped in a buildexception
  giving the location in the buildfile of the task.

* Nested elements for namespaced tasks and types may belong to the
  Ant default namespace as well as the task's or type's namespace.

* <junitreport> will very likely no longer work with Xalan-J 1.

  Note that Xalan-J 1 has been deprecated for a very long time and we
  highly recommend that you upgrade.

  If you really need to continue using Xalan-J 1, please copy the
  junit-frames-xalan1.xsl from the distribution's etc directory as
  junit-frames.xsl into a new directory and use the task's styledir
  attribute to point to.  This is the last version of the XSLT
  stylesheet that is expected to be compatible with Xalan-J 1.
2004-08-04 08:49:09 +00:00
abs
3970a47643 Switch to buildlink3 2004-06-28 11:43:53 +00:00
tv
bf2291dfdd Excuse me, I burped. That's:
USE_JAVA=run
USE_JAVA2=yes

What a doozy.
2004-04-16 15:54:15 +00:00
tv
f8cd6d7b81 Ant 1.6 needs Java2 (and set it to "run"). 2004-04-16 15:41:39 +00:00
abs
ffe4c59733 Updated apache-ant to 1.6.1:
Many changes since 1.5.4, most notable is that apache-ant now requires
	JDK 1.2 or later. For 1.1 use the apache-ant15 package.
2004-04-01 14:35:17 +00:00
jlam
a4fbec96a6 Don't use PKGNAME when setting WRKSRC; use PKGNAME_NOREV instead. 2004-03-30 18:32:32 +00:00
tv
68a39412ef Use the binary distro, not the source distro, so that all taskdefs are
supplied automatically.  (Apache themselves do not recommend building Ant
from source as it will miss a lot of important stuff in most cases.)

This fixes pkg/22034.
2004-03-29 17:28:33 +00:00
agc
dc52048e01 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:07:06 +00:00
jlam
5ab07363d5 Use EXTRACT_CMD_OPTS.zip to customize the flags passed to the unzip
program.
2003-11-22 23:55:15 +00:00
jdolecek
ae08964657 Update apache-ant to latest available 1.5.4 (1.5.3.1 is no longer available).
Also switch over to tar.bz2 archive.

Changes since 1.5.3:

Fixed bugs:
-----------

* The Visual Age for Java tasks didn't work (at least for versions 3.0
  and higher).  Bugzilla Report 10016.

* URL-encoding in <vaj*port> didn't work properly.

* VAJRemoteUtil called getAbsolutePath instead of getPath
  causing problems when using a Windows VAJ server from a UNIX server.
  Bugzilla Report 20457.

* VAJImport task failed with NullPointerException when using DirectoryScanner.
  Bugzilla Report 22080.

Other changes:
--------------

* Shipped XML parser is now Xerces 2.5.0

* <javah> will invoke oldjavah on JDK 1.4.2.  Bugzilla Report 18667.

* The VAJ tasks now support a haltonfailure attribute to conditionally
  keep building even if they fail.

* It is now possible to use the latest (versioned or unversioned) edition
  in <vajload> by using special wildcard characters.  Also fixes
  Bugzilla Report 2236.
2003-09-07 09:17:28 +00:00
jschauma
f626523111 Put these packages into a new pseudo-category called 'java'. 2003-08-23 15:09:51 +00:00
grant
91f00f1cbc s/netbsd.org/NetBSD.org/ 2003-07-17 21:21:03 +00:00
jschauma
944d01fdb1 Update "ant" to 1.5.3-1. The program was, up until version 1.5.1 known
as "jakarta-ant", and is now known as "apache-ant".  Changes since 1.4.1
are too many to list here.
2003-06-03 17:00:08 +00:00