[jira] Resolved: (IVY-953) Ivy should set the ${basedir} property
[ https://issues.apache.org/jira/browse/IVY-953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nicolas Lalevée resolved IVY-953. - Resolution: Fixed > Ivy should set the ${basedir} property > -- > > Key: IVY-953 > URL: https://issues.apache.org/jira/browse/IVY-953 > Project: Ivy > Issue Type: Improvement > Components: Core >Affects Versions: 2.0-RC1 >Reporter: Maarten Coene >Assignee: Nicolas Lalevée > Fix For: 2.0-RC2 > > > IvyDE doesn't specify the ${basedir} property when resolving the dependencies. > This means that it's not possible to resolve jar files in a [project]/lib > directory. > For instance, the following resolver doesn't work: > {code} > >pattern="${ivy.project.dir}/lib/[artifact](-[revision]).[ext]" /> > > {code} > Maarten -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
svn commit: r707070 - /ant/ivy/core/trunk/test/java/org/apache/ivy/core/settings/XmlSettingsParserTest.java
Author: hibou Date: Wed Oct 22 06:38:40 2008 New Revision: 707070 URL: http://svn.apache.org/viewvc?rev=707070&view=rev Log: IVY-953: make the tests run on every plateform Modified: ant/ivy/core/trunk/test/java/org/apache/ivy/core/settings/XmlSettingsParserTest.java Modified: ant/ivy/core/trunk/test/java/org/apache/ivy/core/settings/XmlSettingsParserTest.java URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/test/java/org/apache/ivy/core/settings/XmlSettingsParserTest.java?rev=707070&r1=707069&r2=707070&view=diff == --- ant/ivy/core/trunk/test/java/org/apache/ivy/core/settings/XmlSettingsParserTest.java (original) +++ ant/ivy/core/trunk/test/java/org/apache/ivy/core/settings/XmlSettingsParserTest.java Wed Oct 22 06:38:40 2008 @@ -574,15 +574,15 @@ public void testBaseDirVariables() throws Exception { IvySettings settings = new IvySettings(); -settings.setBaseDir(new File("/test/base/dir")); -assertEquals("/test/base/dir", settings.getVariable("basedir")); -assertEquals("/test/base/dir", settings.getVariable("ivy.basedir")); +settings.setBaseDir(new File("test/base/dir")); +assertEquals(new File("test/base/dir").getAbsolutePath(), settings.getVariable("basedir")); +assertEquals(new File("test/base/dir").getAbsolutePath(), settings.getVariable("ivy.basedir")); settings = new IvySettings(); -settings.setVariable("basedir", "/other/base/dir"); -settings.setBaseDir(new File("/test/base/dir")); -assertEquals("/other/base/dir", settings.getVariable("basedir")); -assertEquals("/test/base/dir", settings.getVariable("ivy.basedir")); +settings.setVariable("basedir", new File("other/base/dir").getAbsolutePath()); +settings.setBaseDir(new File("test/base/dir")); +assertEquals(new File("other/base/dir").getAbsolutePath(), settings.getVariable("basedir")); +assertEquals(new File("test/base/dir").getAbsolutePath(), settings.getVariable("ivy.basedir")); } public static class MyOutputter implements ReportOutputter {
DO NOT REPLY [Bug 46063] New: MailLogger does not work correctly with SSL
https://issues.apache.org/bugzilla/show_bug.cgi?id=46063 Summary: MailLogger does not work correctly with SSL Product: Ant Version: 1.7.1 Platform: PC OS/Version: Windows XP Status: NEW Severity: major Priority: P3 Component: Optional Tasks AssignedTo: notifications@ant.apache.org ReportedBy: [EMAIL PROTECTED] MailLogger cannot connect properly to a mail server that requires the use of TLS/SSL. It also fails to enable the STARTTLS command, which would allow the mail server to ask the client to switch to SSL. As a result of this, it isn't possible to use MailLogger with Gmail, and I'm sure this bug would also affect a number of other popular email services. To replicate the problem: MailLogger.mailhost=smtp.gmail.com MailLogger.mailport=465 MailLogger.ssl=true MailLogger.user= MailLogger.password= MailLogger.from= MailLogger.success.to= MailLogger.failure.to= Please note that bug 44009 will cause a NullPointerException when you specify a username and password, so it will be necessary to correct this first. I think it's possible that SSL support, which must have worked at one time, has been broken by some change in JavaMail. I'm using JavaMail 1.4.1 (which is the most recent release), and JavaBeans Activation Framework 1.1.1 (also the most recent release). I was able to fix the problem by modifying the send() method of MimeMailer. Near the end of this method, you'll find the following line: Transport.send(msg); This method doesn't seem to work with SSL. That may well be a bug in JavaMail, but it's easy to work around it by substituting the following code: // Send the message using SMTP, or SMTPS if the host uses SSL Transport transport = sesh.getTransport(SSL ? "smtps" : "smtp"); transport.connect(host, user, password); transport.sendMessage(msg, msg.getAllRecipients()); While I was working on MimeMailer, I also added the following just before the code that initializes sesh with a new JavaMail session: // Enable STARTTLS to allow the host to initiate a switch to SSL props.put("mail.smtp.starttls.enable", "true"); Enabling STARTTLS would make it possible for MailLogger to work with a mail server that will accept an unencrypted connection, but requires a client to switch over to SSL once the connection has been established. Gmail does this. It sends a STARTTLS command if you connect to it using the standard SMTP port 25. So you should be able to test this using the following settings: MailLogger.mailhost=smtp.gmail.com MailLogger.mailport=25 MailLogger.ssl=false MailLogger.user= MailLogger.password= MailLogger.from= MailLogger.success.to= MailLogger.failure.to= It's possible that you might also want to add a new MailLogger configuration property to enable/disable the use of STARTTLS, but IMHO it should be enabled by default. That would help keep people from running into SSL-related problems. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.
DO NOT REPLY [Bug 46057] default.properties: some entries are in the wrong group
https://issues.apache.org/bugzilla/show_bug.cgi?id=46057 --- Comment #1 from Matt Benson <[EMAIL PROTECTED]> 2008-10-22 07:32:47 PST --- What leads you to believe these tasks are in the optional tasks group? The implementing Java classes are all in package org.apache.tools.ant.taskdefs, and the manual pages are all under the Core Tasks group. Color me confused. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.
DO NOT REPLY [Bug 46057] default.properties: some entries are in the wrong group
https://issues.apache.org/bugzilla/show_bug.cgi?id=46057 --- Comment #2 from Robert Flaherty <[EMAIL PROTECTED]> 2008-10-22 08:52:24 PST --- In default.properties: # standard ant tasks ... # optional tasks ... apt=org.apache.tools.ant.taskdefs.Apt echoxml=org.apache.tools.ant.taskdefs.EchoXML makeurl=org.apache.tools.ant.taskdefs.MakeUrl resourcecount=org.apache.tools.ant.taskdefs.ResourceCount I was referring to moving those entries up. Again I know its' picky, I was just in there looking up the impl class for a task, and noticed them. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.
DO NOT REPLY [Bug 40522] [Patch] Fix coreloader so that it works
https://issues.apache.org/bugzilla/show_bug.cgi?id=40522 Robert Flaherty <[EMAIL PROTECTED]> changed: What|Removed |Added CC||[EMAIL PROTECTED] -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.
DO NOT REPLY [Bug 28228] task
https://issues.apache.org/bugzilla/show_bug.cgi?id=28228 Robert Flaherty <[EMAIL PROTECTED]> changed: What|Removed |Added CC||[EMAIL PROTECTED] -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.
svn commit: r707124 - /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/defaults.properties
Author: mbenson Date: Wed Oct 22 09:32:56 2008 New Revision: 707124 URL: http://svn.apache.org/viewvc?rev=707124&view=rev Log: BZ 46057 Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/defaults.properties Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/defaults.properties URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/defaults.properties?rev=707124&r1=707123&r2=707124&view=diff == --- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/defaults.properties (original) +++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/defaults.properties Wed Oct 22 09:32:56 2008 @@ -19,6 +19,7 @@ antstructure=org.apache.tools.ant.taskdefs.AntStructure antversion=org.apache.tools.ant.taskdefs.condition.AntVersion apply=org.apache.tools.ant.taskdefs.Transform +apt=org.apache.tools.ant.taskdefs.Apt available=org.apache.tools.ant.taskdefs.Available basename=org.apache.tools.ant.taskdefs.Basename buildnumber=org.apache.tools.ant.taskdefs.BuildNumber @@ -43,10 +44,13 @@ dirname=org.apache.tools.ant.taskdefs.Dirname ear=org.apache.tools.ant.taskdefs.Ear echo=org.apache.tools.ant.taskdefs.Echo +echoproperties=org.apache.tools.ant.taskdefs.optional.EchoProperties +echoxml=org.apache.tools.ant.taskdefs.EchoXML exec=org.apache.tools.ant.taskdefs.ExecTask fail=org.apache.tools.ant.taskdefs.Exit filter=org.apache.tools.ant.taskdefs.Filter fixcrlf=org.apache.tools.ant.taskdefs.FixCRLF +funtest=org.apache.tools.ant.taskdefs.optional.testing.Funtest genkey=org.apache.tools.ant.taskdefs.GenerateKey get=org.apache.tools.ant.taskdefs.Get gunzip=org.apache.tools.ant.taskdefs.GUnzip @@ -64,6 +68,7 @@ local=org.apache.tools.ant.taskdefs.Local macrodef=org.apache.tools.ant.taskdefs.MacroDef mail=org.apache.tools.ant.taskdefs.email.EmailTask +makeurl=org.apache.tools.ant.taskdefs.MakeUrl manifest=org.apache.tools.ant.taskdefs.ManifestTask manifestclasspath=org.apache.tools.ant.taskdefs.ManifestClassPath mkdir=org.apache.tools.ant.taskdefs.Mkdir @@ -77,6 +82,7 @@ propertyhelper=org.apache.tools.ant.taskdefs.PropertyHelperTask record=org.apache.tools.ant.taskdefs.Recorder replace=org.apache.tools.ant.taskdefs.Replace +resourcecount=org.apache.tools.ant.taskdefs.ResourceCount retry=org.apache.tools.ant.taskdefs.Retry rmic=org.apache.tools.ant.taskdefs.Rmic sequential=org.apache.tools.ant.taskdefs.Sequential @@ -106,7 +112,6 @@ # optional tasks antlr=org.apache.tools.ant.taskdefs.optional.ANTLR -apt=org.apache.tools.ant.taskdefs.Apt attrib=org.apache.tools.ant.taskdefs.optional.windows.Attrib blgenclient=org.apache.tools.ant.taskdefs.optional.ejb.BorlandGenerateClient cab=org.apache.tools.ant.taskdefs.optional.Cab @@ -132,12 +137,9 @@ chown=org.apache.tools.ant.taskdefs.optional.unix.Chown ddcreator=org.apache.tools.ant.taskdefs.optional.ejb.DDCreator depend=org.apache.tools.ant.taskdefs.optional.depend.Depend -echoproperties=org.apache.tools.ant.taskdefs.optional.EchoProperties -echoxml=org.apache.tools.ant.taskdefs.EchoXML ejbc=org.apache.tools.ant.taskdefs.optional.ejb.Ejbc ejbjar=org.apache.tools.ant.taskdefs.optional.ejb.EjbJar ftp=org.apache.tools.ant.taskdefs.optional.net.FTP -funtest=org.apache.tools.ant.taskdefs.optional.testing.Funtest image=org.apache.tools.ant.taskdefs.optional.image.Image iplanet-ejbc=org.apache.tools.ant.taskdefs.optional.ejb.IPlanetEjbcTask jarlib-available=org.apache.tools.ant.taskdefs.optional.extension.JarLibAvailableTask @@ -151,7 +153,6 @@ jjtree=org.apache.tools.ant.taskdefs.optional.javacc.JJTree junit=org.apache.tools.ant.taskdefs.optional.junit.JUnitTask junitreport=org.apache.tools.ant.taskdefs.optional.junit.XMLResultAggregator -makeurl=org.apache.tools.ant.taskdefs.MakeUrl native2ascii=org.apache.tools.ant.taskdefs.optional.Native2Ascii netrexxc=org.apache.tools.ant.taskdefs.optional.NetRexxC p4add=org.apache.tools.ant.taskdefs.optional.perforce.P4Add @@ -172,7 +173,6 @@ propertyfile=org.apache.tools.ant.taskdefs.optional.PropertyFile pvcs=org.apache.tools.ant.taskdefs.optional.pvcs.Pvcs replaceregexp=org.apache.tools.ant.taskdefs.optional.ReplaceRegExp -resourcecount=org.apache.tools.ant.taskdefs.ResourceCount rexec=org.apache.tools.ant.taskdefs.optional.net.RExecTask rpm=org.apache.tools.ant.taskdefs.optional.Rpm schemavalidate=org.apache.tools.ant.taskdefs.optional.SchemaValidate
DO NOT REPLY [Bug 46057] default.properties: some entries are in the wrong group
https://issues.apache.org/bugzilla/show_bug.cgi?id=46057 Matt Benson <[EMAIL PROTECTED]> changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Comment #3 from Matt Benson <[EMAIL PROTECTED]> 2008-10-22 09:33:09 PST --- svn rev 707124 -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.
svn commit: r707168 - in /ant/ivy/core/branches/2.0.x: CHANGES.txt src/java/org/apache/ivy/core/settings/IvySettings.java test/java/org/apache/ivy/core/settings/XmlSettingsParserTest.java
Author: maartenc Date: Wed Oct 22 12:27:08 2008 New Revision: 707168 URL: http://svn.apache.org/viewvc?rev=707168&view=rev Log: Merged code changes for IVY-953 into 2.0.x branch Modified: ant/ivy/core/branches/2.0.x/CHANGES.txt ant/ivy/core/branches/2.0.x/src/java/org/apache/ivy/core/settings/IvySettings.java ant/ivy/core/branches/2.0.x/test/java/org/apache/ivy/core/settings/XmlSettingsParserTest.java Modified: ant/ivy/core/branches/2.0.x/CHANGES.txt URL: http://svn.apache.org/viewvc/ant/ivy/core/branches/2.0.x/CHANGES.txt?rev=707168&r1=707167&r2=707168&view=diff == --- ant/ivy/core/branches/2.0.x/CHANGES.txt (original) +++ ant/ivy/core/branches/2.0.x/CHANGES.txt Wed Oct 22 12:27:08 2008 @@ -89,6 +89,7 @@ - IMPROVEMENT: Error messages on use of relative paths can be cyrptic (IVY-909) - IMPROVEMENT: Maven accepts illegal XML for its pom's, Ivy not (IVY-921) +- IMPROVEMENT: Ivy should set the ${basedir} property (IVY-953) - FIX: NullPointerException in AbstractPatternsBasedResolver when organization is null (IVY-928) - FIX: NullPointerException when Ivy cannot locate pom parent (IVY-927) Modified: ant/ivy/core/branches/2.0.x/src/java/org/apache/ivy/core/settings/IvySettings.java URL: http://svn.apache.org/viewvc/ant/ivy/core/branches/2.0.x/src/java/org/apache/ivy/core/settings/IvySettings.java?rev=707168&r1=707167&r2=707168&view=diff == --- ant/ivy/core/branches/2.0.x/src/java/org/apache/ivy/core/settings/IvySettings.java (original) +++ ant/ivy/core/branches/2.0.x/src/java/org/apache/ivy/core/settings/IvySettings.java Wed Oct 22 12:27:08 2008 @@ -756,6 +756,7 @@ public void setBaseDir(File baseDir) { this.baseDir = baseDir.getAbsoluteFile(); setVariable("ivy.basedir", this.baseDir.getAbsolutePath()); +setVariable("basedir", this.baseDir.getAbsolutePath(), false); } public File getBaseDir() { Modified: ant/ivy/core/branches/2.0.x/test/java/org/apache/ivy/core/settings/XmlSettingsParserTest.java URL: http://svn.apache.org/viewvc/ant/ivy/core/branches/2.0.x/test/java/org/apache/ivy/core/settings/XmlSettingsParserTest.java?rev=707168&r1=707167&r2=707168&view=diff == --- ant/ivy/core/branches/2.0.x/test/java/org/apache/ivy/core/settings/XmlSettingsParserTest.java (original) +++ ant/ivy/core/branches/2.0.x/test/java/org/apache/ivy/core/settings/XmlSettingsParserTest.java Wed Oct 22 12:27:08 2008 @@ -572,6 +572,19 @@ assertEquals(new File(basedir, "packager/cache"), packager.getResourceCache()); } +public void testBaseDirVariables() throws Exception { +IvySettings settings = new IvySettings(); +settings.setBaseDir(new File("test/base/dir")); +assertEquals(new File("test/base/dir").getAbsolutePath(), settings.getVariable("basedir")); +assertEquals(new File("test/base/dir").getAbsolutePath(), settings.getVariable("ivy.basedir")); + +settings = new IvySettings(); +settings.setVariable("basedir", new File("other/base/dir").getAbsolutePath()); +settings.setBaseDir(new File("test/base/dir")); +assertEquals(new File("other/base/dir").getAbsolutePath(), settings.getVariable("basedir")); +assertEquals(new File("test/base/dir").getAbsolutePath(), settings.getVariable("ivy.basedir")); +} + public static class MyOutputter implements ReportOutputter { public void output( ResolveReport report, ResolutionCacheManager cacheMgr, ResolveOptions options) {
svn commit: r707171 - /ant/ivy/core/branches/2.0.0-rc2/
Author: maartenc Date: Wed Oct 22 12:37:28 2008 New Revision: 707171 URL: http://svn.apache.org/viewvc?rev=707171&view=rev Log: Creating a branch for 2.0.0-rc2. Added: ant/ivy/core/branches/2.0.0-rc2/ (props changed) - copied from r707168, ant/ivy/core/branches/2.0.x/ Propchange: ant/ivy/core/branches/2.0.0-rc2/ -- --- svn:ignore (added) +++ svn:ignore Wed Oct 22 12:37:28 2008 @@ -0,0 +1,5 @@ +.classpath +build +lib +bin +nbproject Propchange: ant/ivy/core/branches/2.0.0-rc2/ -- svn:mergeinfo = /ant/ivy/core/trunk:695737,696014-696031,696442,698318-706770
svn commit: r707177 - in /ant/ivy/core/branches/2.0.0-rc2: CHANGES.txt README RELEASE_NOTES
Author: maartenc Date: Wed Oct 22 12:46:49 2008 New Revision: 707177 URL: http://svn.apache.org/viewvc?rev=707177&view=rev Log: preparing for RC2 release Modified: ant/ivy/core/branches/2.0.0-rc2/CHANGES.txt ant/ivy/core/branches/2.0.0-rc2/README ant/ivy/core/branches/2.0.0-rc2/RELEASE_NOTES Modified: ant/ivy/core/branches/2.0.0-rc2/CHANGES.txt URL: http://svn.apache.org/viewvc/ant/ivy/core/branches/2.0.0-rc2/CHANGES.txt?rev=707177&r1=707176&r2=707177&view=diff == --- ant/ivy/core/branches/2.0.0-rc2/CHANGES.txt (original) +++ ant/ivy/core/branches/2.0.0-rc2/CHANGES.txt Wed Oct 22 12:46:49 2008 @@ -81,7 +81,7 @@ Patrick Woodworth Jaroslaw Wypychowski - 2.0.x branch + 2.0.0-rc2 = - DOCUMENTATION: Filesystem resolver: talks about "patterns" but does not mention these must become absolute file paths (IVY-910) Modified: ant/ivy/core/branches/2.0.0-rc2/README URL: http://svn.apache.org/viewvc/ant/ivy/core/branches/2.0.0-rc2/README?rev=707177&r1=707176&r2=707177&view=diff == --- ant/ivy/core/branches/2.0.0-rc2/README (original) +++ ant/ivy/core/branches/2.0.0-rc2/README Wed Oct 22 12:46:49 2008 @@ -1,4 +1,4 @@ - Apache Ivy v2.0.0-rc1 + Apache Ivy v2.0.0-rc2 Supported Platforms Modified: ant/ivy/core/branches/2.0.0-rc2/RELEASE_NOTES URL: http://svn.apache.org/viewvc/ant/ivy/core/branches/2.0.0-rc2/RELEASE_NOTES?rev=707177&r1=707176&r2=707177&view=diff == --- ant/ivy/core/branches/2.0.0-rc2/RELEASE_NOTES (original) +++ ant/ivy/core/branches/2.0.0-rc2/RELEASE_NOTES Wed Oct 22 12:46:49 2008 @@ -32,7 +32,7 @@ 2. Status of this release -This is the first release candidate of Ivy targetting 2.0.0. +This is the second release candidate of Ivy targetting 2.0.0. As a release candidate version, we strongly encourage the use of this version for testing and validation. From now on, features are frozen until final 2.0.0 version, only bug fixes may be @@ -167,20 +167,13 @@ Gilles Scokart Contributors - Carlton Brown - Chris Chilvers - Archie Cobbs - Ben Hale - Tobias Himstedt - Michael Kebe - Alexey Kiselev - Sakari Maaranen - David Maplesden - Brian Sanders - Simon Steiner - James P. White - Patrick Woodworth - Jing Xue +Scott Hebert +Phil Messenger + Randy Nott + Tom Widmer + Chris Wood + Patrick Woodworth + Jaroslaw Wypychowski For the list of people who have contributed since Ivy inception, see CHANGES.txt file. @@ -191,133 +184,38 @@ For details about the following changes, check our JIRA install at http://issues.apache.org/jira/browse/ivy -List of changes since Ivy 2.0.0-beta2: -- NEW: Report version of Ivy in HTTP headers (user-agent?) when Ivy downloads artifacts (IVY-878) -- NEW: Add publish support to URL resolver (IVY-848) (thanks to Brian Sanders) -- NEW: Better support for local builds (IVY-857) -- NEW: Retain original dependency constraint rules in resolved ivy file (IVY-739) -- NEW: Add a new resolve mode (optionally per module) to utilize dynamic constraint rule metadata (IVY-740) -- NEW: Add transitive dependency version and branch override mechanism (IVY-784) -- NEW: Add new packager resolver (IVY-829) (thanks to Archie Cobbs) - -- IMPROVEMENT: DualResolver should also provide setDescriptor method instead of setAllownomd, which is deprecated for the other resolvers (IVY-903) -- IMPROVEMENT: Parse license information in poms (IVY-892) -- IMPROVEMENT: Change 'alwaysUseExactRevision' default value to false (IVY-891) -- IMPROVEMENT: Better and more homogeneous relative paths handling (IVY-387) -- IMPROVEMENT: undeprecate configure task (IVY-849) -- IMPROVEMENT: Detect missing artifacts on publish asap (IVY-862) -- IMPROVEMENT: Allow to set the branch at deliver/publish time (IVY-859) -- IMPROVEMENT: Add defaultconf in publications tag of ivy file (IVY-801) -- IMPROVEMENT: Support atomic publish with sub directory structure (IVY-856) -- IMPROVEMENT: Provide ant task to retrieve information from published ivy modules (IVY-838) (thanks to David Maplesden) -- IMPROVEMENT: Install task fails but reason is not displayed without using -debug or -verbose (IVY-834) -- IMPROVEMENT: SSH resolver doesn't support keyboard-interactive authentication (IVY-836) (thanks to Tobias Himstedt) -- IMPROVEMENT: declare source and javadoc artifacts in maven2 modules (IVY-325) -- IMPROVEMENT: Set the last modified attribute of files downloaded from repositories (IVY-823) -- IMPROVEMENT: If DNS is playing up, Ivy takes a lot longer to sort project dependencies (IVY-817)
svn commit: r707197 - in /ant/ivy/core/branches/2.0.0-rc2/doc: printTemplate.html template.html
Author: maartenc Date: Wed Oct 22 14:19:08 2008 New Revision: 707197 URL: http://svn.apache.org/viewvc?rev=707197&view=rev Log: preparing for RC2 release Modified: ant/ivy/core/branches/2.0.0-rc2/doc/printTemplate.html ant/ivy/core/branches/2.0.0-rc2/doc/template.html Modified: ant/ivy/core/branches/2.0.0-rc2/doc/printTemplate.html URL: http://svn.apache.org/viewvc/ant/ivy/core/branches/2.0.0-rc2/doc/printTemplate.html?rev=707197&r1=707196&r2=707197&view=diff == --- ant/ivy/core/branches/2.0.0-rc2/doc/printTemplate.html (original) +++ ant/ivy/core/branches/2.0.0-rc2/doc/printTemplate.html Wed Oct 22 14:19:08 2008 @@ -20,7 +20,7 @@ http://www.w3.org/1999/xhtml"; lang="en" xml:lang="en"> -${title} | Ivy +${title} | Ivy 2.0.0-rc2 Modified: ant/ivy/core/branches/2.0.0-rc2/doc/template.html URL: http://svn.apache.org/viewvc/ant/ivy/core/branches/2.0.0-rc2/doc/template.html?rev=707197&r1=707196&r2=707197&view=diff == --- ant/ivy/core/branches/2.0.0-rc2/doc/template.html (original) +++ ant/ivy/core/branches/2.0.0-rc2/doc/template.html Wed Oct 22 14:19:08 2008 @@ -20,7 +20,7 @@ http://www.w3.org/1999/xhtml"; lang="en" xml:lang="en"> -${title} | Ivy Documentation +${title} | Ivy 2.0.0-rc2 Documentation
svn commit: r707199 - /ant/ivy/core/branches/2.0.0-rc2/doc/ivy.xsd
Author: maartenc Date: Wed Oct 22 14:21:15 2008 New Revision: 707199 URL: http://svn.apache.org/viewvc?rev=707199&view=rev Log: preparing for RC2 release Added: ant/ivy/core/branches/2.0.0-rc2/doc/ivy.xsd Added: ant/ivy/core/branches/2.0.0-rc2/doc/ivy.xsd URL: http://svn.apache.org/viewvc/ant/ivy/core/branches/2.0.0-rc2/doc/ivy.xsd?rev=707199&view=auto == --- ant/ivy/core/branches/2.0.0-rc2/doc/ivy.xsd (added) +++ ant/ivy/core/branches/2.0.0-rc2/doc/ivy.xsd Wed Oct 22 14:21:15 2008 @@ -0,0 +1,280 @@ + + +http://www.w3.org/2001/XMLSchema"; elementFormDefault="qualified"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
svn commit: r707201 - /ant/ivy/core/branches/2.0.0-rc2/RELEASE_NOTES
Author: maartenc Date: Wed Oct 22 14:24:21 2008 New Revision: 707201 URL: http://svn.apache.org/viewvc?rev=707201&view=rev Log: preparing for RC2 release Modified: ant/ivy/core/branches/2.0.0-rc2/RELEASE_NOTES Modified: ant/ivy/core/branches/2.0.0-rc2/RELEASE_NOTES URL: http://svn.apache.org/viewvc/ant/ivy/core/branches/2.0.0-rc2/RELEASE_NOTES?rev=707201&r1=707200&r2=707201&view=diff == --- ant/ivy/core/branches/2.0.0-rc2/RELEASE_NOTES (original) +++ ant/ivy/core/branches/2.0.0-rc2/RELEASE_NOTES Wed Oct 22 14:24:21 2008 @@ -1,4 +1,4 @@ - Apache Ivy v2.0.0-rc1 + Apache Ivy v2.0.0-rc2 Release Notes ---
svn commit: r707206 - in /ant/ivy/core/branches/2.0.0-rc2/doc: release-notes.html toc.json
Author: maartenc Date: Wed Oct 22 14:46:18 2008 New Revision: 707206 URL: http://svn.apache.org/viewvc?rev=707206&view=rev Log: preparing for RC2 release Added: ant/ivy/core/branches/2.0.0-rc2/doc/release-notes.html Modified: ant/ivy/core/branches/2.0.0-rc2/doc/toc.json Added: ant/ivy/core/branches/2.0.0-rc2/doc/release-notes.html URL: http://svn.apache.org/viewvc/ant/ivy/core/branches/2.0.0-rc2/doc/release-notes.html?rev=707206&view=auto == --- ant/ivy/core/branches/2.0.0-rc2/doc/release-notes.html (added) +++ ant/ivy/core/branches/2.0.0-rc2/doc/release-notes.html Wed Oct 22 14:46:18 2008 @@ -0,0 +1,229 @@ +http://www.w3.org/TR/html4/strict.dtd";> + + + + + var xookiConfig = {level: 0}; + + + + +2.0.0-rc2 Release Notes + +CONTENTS +1. What is Apache Ivy? +2. Status of this release +3. Major Changes in this Release +4. Migrating from Jayasoft Ivy to Apache Ivy +5. How to Get Involved +6. How to Report Issues +7. Committers and Contributors for this release +8. List of Changes in this Release + + +1. What is Apache Ivy? + +Apache Ivy is a tool for managing (recording, tracking, resolving and reporting) project dependencies. +It is characterized by the following: + + 1. flexibility and configurability + Apache Ivy is essentially process agnostic and is not tied to any + methodology or structure. + Instead it provides the necessary flexibility and configurability + to be adapted to a broad range of dependency management and build + processes. + 2. tight integration with Apache Ant + while available as a standalone tool, Apache Ivy works particularly well + with Apache Ant providing a number of powerful Ant tasks ranging + from dependency resolution to dependency reporting and publication. + +2. Status of this release + +This is the second release candidate of Ivy targetting 2.0.0. +As a release candidate version, we strongly encourage the use of this version for testing and validation. +From now on, features are frozen until final 2.0.0 version, only bug fixes may be applied before 2.0.0. +If no outstanding bugs are reported with this release candidate, it will promoted to 2.0.0 about two weeks after this release candidate. + +The current production quality version is still 1.4.1, which has not been produced within the Apache Software Foundation. + +3. Major Changes in this Release + +This section describes what has changed between version 1.4.1 and this version of Apache Ivy which may cause incompatibilities. For a full list of detailed changes, please refer to CHANGES.txt file. + +This new version of Apache Ivy is almost fully compatible with 1.4 version as long as you do not use custom plugins: Ivy API has changed, but not its behavior. + +Some tasks and configuration elements have been renamed, but the old versions +are still available, they are only deprecated (you will see deprecated warnings). + +3.1. Java Package Name Changes + +All of the Ivy Java package names have changed in Apache Ivy. They now start +with org.apache rather than fr.jayasoft. There have been other changes as well. +Important refactorings have done on the source code to ease the understanding +of Ivy internal architecture by new developers. + +A class named org.apache.ivy.Ivy14 is provided with an API compatible with the +fr.jayasoft.Ivy class of Ivy 1.4.1, to ease migration to this new version. + +3.2. Configuration replaced by Settings + +Configuration used to have two meanings in prior Ivy versions, causing some confusion with new users. +To avoid this confusion, Apache Ivy calls settings instead of configuration the files used to customize Ivy. Configuration is still used for module configurations. + +Besides the changes in the documentation, this renaming also imply a modification in settings files, which now use ivysettings as root element instead of ivyconf, and settings instead of conf element to define top level defaults (such as defaultCache, ...). +Previous names have been deprecated, so previous settings files can still be used, but you will see a deprecation warning. + +3.3. Public resolver in default settings is now ibiblio in m2 compatible mode + +In previous versions Ivy used to use the ivyrep resolver as default public resolver, but ivyrep is no longer maintained, while maven 2 repository on ibiblio is growing rapidly. + +Since Ivy is compatible with maven 2 repository, defaulting to the ibiblio maven 2 repository makes more sense. + +If you have any issue of backward compatibility with these new settings, you can simply set the following ant property before loading the settings (implicitly or explicitly): +ivy.14.compatible=true + +3.4. Relative paths resolution + +Relative paths resolution in Ivy used to be resolved against the cur
DO NOT REPLY [Bug 21832] sync task to ignore destination files
https://issues.apache.org/bugzilla/show_bug.cgi?id=21832 vamsihari <[EMAIL PROTECTED]> changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED | --- Comment #3 from vamsihari <[EMAIL PROTECTED]> 2008-10-22 23:46:48 PST --- Team , preserveintarget is not working, still the sync job overwrites the folder/file in the target this is how i'm using this target in my script -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug.
[jira] Created: (IVYDE-128) NonDeclaredJavadocs and NonDeclaredSources retrieve settings
NonDeclaredJavadocs and NonDeclaredSources retrieve settings - Key: IVYDE-128 URL: https://issues.apache.org/jira/browse/IVYDE-128 Project: IvyDE Issue Type: Improvement Components: classpath container Affects Versions: 2.0.0.alpha1 Reporter: qxo Fix For: 2.0 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (IVYDE-128) NonDeclaredJavadocs and NonDeclaredSources retrieve settings
[ https://issues.apache.org/jira/browse/IVYDE-128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] qxo updated IVYDE-128: -- Attachment: org.apache.ivyde.eclipse_2.0.0.200810221833.jar the updated plugin > NonDeclaredJavadocs and NonDeclaredSources retrieve settings > - > > Key: IVYDE-128 > URL: https://issues.apache.org/jira/browse/IVYDE-128 > Project: IvyDE > Issue Type: Improvement > Components: classpath container >Affects Versions: 2.0.0.alpha1 >Reporter: qxo > Fix For: 2.0 > > Attachments: IVYDE-128.patch, > org.apache.ivyde.eclipse_2.0.0.200810221833.jar > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
DO NOT REPLY [Bug 46060] ClassLoader task - will need manual documentation
https://issues.apache.org/bugzilla/show_bug.cgi?id=46060 --- Comment #1 from Peter Reilly <[EMAIL PROTECTED]> 2008-10-22 02:33:54 PST --- The classloader task has a little bit of back history. It was originally added as a test experiment. it was never voted on, and got into the 1.6 ant release by accident. There are a number of things that need to be done to make this task work correctly - see https://issues.apache.org/bugzilla/show_bug.cgi?id=28228 and https://issues.apache.org/bugzilla/show_bug.cgi?id=40522 Peter -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.
[jira] Updated: (IVYDE-128) NonDeclaredJavadocs and NonDeclaredSources retrieve settings
[ https://issues.apache.org/jira/browse/IVYDE-128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] qxo updated IVYDE-128: -- Attachment: IVYDE-128.patch patch for this issue > NonDeclaredJavadocs and NonDeclaredSources retrieve settings > - > > Key: IVYDE-128 > URL: https://issues.apache.org/jira/browse/IVYDE-128 > Project: IvyDE > Issue Type: Improvement > Components: classpath container >Affects Versions: 2.0.0.alpha1 >Reporter: qxo > Fix For: 2.0 > > Attachments: IVYDE-128.patch > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
svn commit: r707053 - in /ant/ivy/core/trunk: CHANGES.txt src/java/org/apache/ivy/core/settings/IvySettings.java test/java/org/apache/ivy/core/settings/XmlSettingsParserTest.java
Author: hibou Date: Wed Oct 22 05:10:08 2008 New Revision: 707053 URL: http://svn.apache.org/viewvc?rev=707053&view=rev Log: IVY-953: make ivy set the basedir property on IvySettings.setBasedDir (if the property doesn't exist yet) Modified: ant/ivy/core/trunk/CHANGES.txt ant/ivy/core/trunk/src/java/org/apache/ivy/core/settings/IvySettings.java ant/ivy/core/trunk/test/java/org/apache/ivy/core/settings/XmlSettingsParserTest.java Modified: ant/ivy/core/trunk/CHANGES.txt URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/CHANGES.txt?rev=707053&r1=707052&r2=707053&view=diff == --- ant/ivy/core/trunk/CHANGES.txt (original) +++ ant/ivy/core/trunk/CHANGES.txt Wed Oct 22 05:10:08 2008 @@ -89,6 +89,7 @@ - IMPROVEMENT: Error messages on use of relative paths can be cyrptic (IVY-909) - IMPROVEMENT: Maven accepts illegal XML for its pom's, Ivy not (IVY-921) +- IMPROVEMENT: Ivy should set the ${basedir} property (IVY-953) - FIX: NullPointerException in AbstractPatternsBasedResolver when organization is null (IVY-928) - FIX: NullPointerException when Ivy cannot locate pom parent (IVY-927) Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/core/settings/IvySettings.java URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/core/settings/IvySettings.java?rev=707053&r1=707052&r2=707053&view=diff == --- ant/ivy/core/trunk/src/java/org/apache/ivy/core/settings/IvySettings.java (original) +++ ant/ivy/core/trunk/src/java/org/apache/ivy/core/settings/IvySettings.java Wed Oct 22 05:10:08 2008 @@ -756,6 +756,7 @@ public void setBaseDir(File baseDir) { this.baseDir = baseDir.getAbsoluteFile(); setVariable("ivy.basedir", this.baseDir.getAbsolutePath()); +setVariable("basedir", this.baseDir.getAbsolutePath(), false); } public File getBaseDir() { Modified: ant/ivy/core/trunk/test/java/org/apache/ivy/core/settings/XmlSettingsParserTest.java URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/test/java/org/apache/ivy/core/settings/XmlSettingsParserTest.java?rev=707053&r1=707052&r2=707053&view=diff == --- ant/ivy/core/trunk/test/java/org/apache/ivy/core/settings/XmlSettingsParserTest.java (original) +++ ant/ivy/core/trunk/test/java/org/apache/ivy/core/settings/XmlSettingsParserTest.java Wed Oct 22 05:10:08 2008 @@ -572,6 +572,19 @@ assertEquals(new File(basedir, "packager/cache"), packager.getResourceCache()); } +public void testBaseDirVariables() throws Exception { +IvySettings settings = new IvySettings(); +settings.setBaseDir(new File("/test/base/dir")); +assertEquals("/test/base/dir", settings.getVariable("basedir")); +assertEquals("/test/base/dir", settings.getVariable("ivy.basedir")); + +settings = new IvySettings(); +settings.setVariable("basedir", "/other/base/dir"); +settings.setBaseDir(new File("/test/base/dir")); +assertEquals("/other/base/dir", settings.getVariable("basedir")); +assertEquals("/test/base/dir", settings.getVariable("ivy.basedir")); +} + public static class MyOutputter implements ReportOutputter { public void output( ResolveReport report, ResolutionCacheManager cacheMgr, ResolveOptions options) {