[jira] Commented: (IVY-1029) Unable to specify xsi:schemaLocation or xsi:noSchemaLocation with ivy.xsd
[ https://issues.apache.org/jira/browse/IVY-1029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12671056#action_12671056 ] Benjamin Francisoud commented on IVY-1029: -- Thanks Maarten for your quick answer, unfortunalty if I use your declaration, I don't think any xsd validation is apply to the xml... In eclipse I get the following warning message: No grammar constraints (DTD or XML schema) detected for the document. In the xsd w3c standard, you can declare an external location for the xsd file that will override the default one describe at the beginning of your xml file. http://www.w3.org/TR/xmlschema-1/#schema-loc In eclipse this is achieve by using the Preferences XML XML Catalogs menu. I'll add screen captures of my eclipse configuration to this jira. But you need to provide a key (aka target namespace) for eclipse to know where to apply the xsd that's why, in my opinion, the xsd is not apply if you remove the xmlns attribute. I will try the trunk version of the xsd. Unable to specify xsi:schemaLocation or xsi:noSchemaLocation with ivy.xsd - Key: IVY-1029 URL: https://issues.apache.org/jira/browse/IVY-1029 Project: Ivy Issue Type: Bug Affects Versions: 2.0 Reporter: Benjamin Francisoud I'm trying to get auto-completion of ivy.xml in eclipse but I just can make it work :( h2. ivy.xml with defaultNamespace {code:xml} ?xml version=1.0 encoding=UTF-8? ivy-module version=2.0 xmlns=http://ant.apache.org/ivy; xmlns:xsi=http://http://www.w3.org/2001/XMLSchema-instance; xsi:noSchemaLocation=http://ant.apache.org/ivy/schemas/ivy.xsd; info organisation=com.blogspot.francisoud.ivy module=ivyxsd / configurations defaultconfmapping=default conf name=default / conf name=source / conf name=javadoc / /configurations publications artifact name=ivyxsd type=jar conf=default ext=jar / artifact name=ivyxsd type=source conf=source ext=zip / artifact name=ivyxsd type=javadoc conf=javadoc ext=zip / /publications dependencies defaultconf=default dependency org=commons-logging name=commons-logging rev=1.1 transitive=false / dependency org=log4j name=log4j rev=1.2.15 transitive=false / dependency org=com.sun.jersey name=jersey-server rev=1.0-ea-SNAPSHOT / /dependencies /ivy-module {code} * Error message {noformat} [ivy:retrieve] :: Ivy 2.0.0 - 20090108225011 :: http://ant.apache.org/ivy/ :: :: loading settings :: file = E:\development\eclipse\workspaces\spot\Ivy-Xsd\ivy\ivysettings.xml [ivy:retrieve] [xml parsing: ivy.xml:5:67: cvc-elt.1: Cannot find the declaration of element 'ivy-module'. in file:/E:/development/eclipse/workspaces/ spot/Ivy-Xsd/ivy.xml [ivy:retrieve] ] {noformat} h2. ivy.xml with targetNamespace {code:xml} ?xml version=1.0 encoding=UTF-8? ivy:ivy-module version=2.0 xmlns:ivy=http://ant.apache.org/ivy; xmlns:xsi=http://http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://ant.apache.org/ivy http://ant.apache.org/ivy/schemas/ivy.xsd; ivy:info organisation=com.blogspot.francisoud.ivy module=ivyxsd / ivy:configurations defaultconfmapping=default ivy:conf name=default / ivy:conf name=source / ivy:conf name=javadoc / /ivy:configurations ivy:publications ivy:artifact name=ivyxsd type=jar conf=default ext=jar / ivy:artifact name=ivyxsd type=source conf=source ext=zip / ivy:artifact name=ivyxsd type=javadoc conf=javadoc ext=zip / /ivy:publications ivy:dependencies defaultconf=default ivy:dependency org=commons-logging name=commons-logging rev=1.1 transitive=false / ivy:dependency org=log4j name=log4j rev=1.2.15 transitive=false / ivy:dependency org=com.sun.jersey name=jersey-server rev=1.0-ea-SNAPSHOT / /ivy:dependencies /ivy:ivy-module {code} * Error message: {noformat} [ivy:retrieve] [xml parsing: ivy.xml:5:92: cvc-elt.1: Cannot find the declaration of element 'ivy:ivy-module'. in file:/E:/development/eclipse/workspa ces/spot/Ivy-Xsd/ivy.xml [ivy:retrieve] , unknown tag ivy:ivy-module in file:/E:/development/eclipse/workspaces/spot/Ivy-Xsd/ivy.xml [ivy:retrieve] ] {noformat} Same error message in eclipse, what am I missing ? Fix? Just add {noformat}targetNamespace=http://ant.apache.org/ivy{noformat} attribute on root node in ivy.xsd ? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue
[jira] Updated: (IVY-1029) Unable to specify xsi:schemaLocation or xsi:noSchemaLocation with ivy.xsd
[ https://issues.apache.org/jira/browse/IVY-1029?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benjamin Francisoud updated IVY-1029: - Attachment: ivy-xsd-eclipse01.png Unable to specify xsi:schemaLocation or xsi:noSchemaLocation with ivy.xsd - Key: IVY-1029 URL: https://issues.apache.org/jira/browse/IVY-1029 Project: Ivy Issue Type: Bug Affects Versions: 2.0 Reporter: Benjamin Francisoud Attachments: ivy-xsd-eclipse01.png I'm trying to get auto-completion of ivy.xml in eclipse but I just can make it work :( h2. ivy.xml with defaultNamespace {code:xml} ?xml version=1.0 encoding=UTF-8? ivy-module version=2.0 xmlns=http://ant.apache.org/ivy; xmlns:xsi=http://http://www.w3.org/2001/XMLSchema-instance; xsi:noSchemaLocation=http://ant.apache.org/ivy/schemas/ivy.xsd; info organisation=com.blogspot.francisoud.ivy module=ivyxsd / configurations defaultconfmapping=default conf name=default / conf name=source / conf name=javadoc / /configurations publications artifact name=ivyxsd type=jar conf=default ext=jar / artifact name=ivyxsd type=source conf=source ext=zip / artifact name=ivyxsd type=javadoc conf=javadoc ext=zip / /publications dependencies defaultconf=default dependency org=commons-logging name=commons-logging rev=1.1 transitive=false / dependency org=log4j name=log4j rev=1.2.15 transitive=false / dependency org=com.sun.jersey name=jersey-server rev=1.0-ea-SNAPSHOT / /dependencies /ivy-module {code} * Error message {noformat} [ivy:retrieve] :: Ivy 2.0.0 - 20090108225011 :: http://ant.apache.org/ivy/ :: :: loading settings :: file = E:\development\eclipse\workspaces\spot\Ivy-Xsd\ivy\ivysettings.xml [ivy:retrieve] [xml parsing: ivy.xml:5:67: cvc-elt.1: Cannot find the declaration of element 'ivy-module'. in file:/E:/development/eclipse/workspaces/ spot/Ivy-Xsd/ivy.xml [ivy:retrieve] ] {noformat} h2. ivy.xml with targetNamespace {code:xml} ?xml version=1.0 encoding=UTF-8? ivy:ivy-module version=2.0 xmlns:ivy=http://ant.apache.org/ivy; xmlns:xsi=http://http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://ant.apache.org/ivy http://ant.apache.org/ivy/schemas/ivy.xsd; ivy:info organisation=com.blogspot.francisoud.ivy module=ivyxsd / ivy:configurations defaultconfmapping=default ivy:conf name=default / ivy:conf name=source / ivy:conf name=javadoc / /ivy:configurations ivy:publications ivy:artifact name=ivyxsd type=jar conf=default ext=jar / ivy:artifact name=ivyxsd type=source conf=source ext=zip / ivy:artifact name=ivyxsd type=javadoc conf=javadoc ext=zip / /ivy:publications ivy:dependencies defaultconf=default ivy:dependency org=commons-logging name=commons-logging rev=1.1 transitive=false / ivy:dependency org=log4j name=log4j rev=1.2.15 transitive=false / ivy:dependency org=com.sun.jersey name=jersey-server rev=1.0-ea-SNAPSHOT / /ivy:dependencies /ivy:ivy-module {code} * Error message: {noformat} [ivy:retrieve] [xml parsing: ivy.xml:5:92: cvc-elt.1: Cannot find the declaration of element 'ivy:ivy-module'. in file:/E:/development/eclipse/workspa ces/spot/Ivy-Xsd/ivy.xml [ivy:retrieve] , unknown tag ivy:ivy-module in file:/E:/development/eclipse/workspaces/spot/Ivy-Xsd/ivy.xml [ivy:retrieve] ] {noformat} Same error message in eclipse, what am I missing ? Fix? Just add {noformat}targetNamespace=http://ant.apache.org/ivy{noformat} attribute on root node in ivy.xsd ? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (IVY-1029) Unable to specify xsi:schemaLocation or xsi:noSchemaLocation with ivy.xsd
[ https://issues.apache.org/jira/browse/IVY-1029?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benjamin Francisoud updated IVY-1029: - Attachment: ivy-xsd-eclipse02.png Unable to specify xsi:schemaLocation or xsi:noSchemaLocation with ivy.xsd - Key: IVY-1029 URL: https://issues.apache.org/jira/browse/IVY-1029 Project: Ivy Issue Type: Bug Affects Versions: 2.0 Reporter: Benjamin Francisoud Attachments: ivy-xsd-eclipse01.png, ivy-xsd-eclipse02.png I'm trying to get auto-completion of ivy.xml in eclipse but I just can make it work :( h2. ivy.xml with defaultNamespace {code:xml} ?xml version=1.0 encoding=UTF-8? ivy-module version=2.0 xmlns=http://ant.apache.org/ivy; xmlns:xsi=http://http://www.w3.org/2001/XMLSchema-instance; xsi:noSchemaLocation=http://ant.apache.org/ivy/schemas/ivy.xsd; info organisation=com.blogspot.francisoud.ivy module=ivyxsd / configurations defaultconfmapping=default conf name=default / conf name=source / conf name=javadoc / /configurations publications artifact name=ivyxsd type=jar conf=default ext=jar / artifact name=ivyxsd type=source conf=source ext=zip / artifact name=ivyxsd type=javadoc conf=javadoc ext=zip / /publications dependencies defaultconf=default dependency org=commons-logging name=commons-logging rev=1.1 transitive=false / dependency org=log4j name=log4j rev=1.2.15 transitive=false / dependency org=com.sun.jersey name=jersey-server rev=1.0-ea-SNAPSHOT / /dependencies /ivy-module {code} * Error message {noformat} [ivy:retrieve] :: Ivy 2.0.0 - 20090108225011 :: http://ant.apache.org/ivy/ :: :: loading settings :: file = E:\development\eclipse\workspaces\spot\Ivy-Xsd\ivy\ivysettings.xml [ivy:retrieve] [xml parsing: ivy.xml:5:67: cvc-elt.1: Cannot find the declaration of element 'ivy-module'. in file:/E:/development/eclipse/workspaces/ spot/Ivy-Xsd/ivy.xml [ivy:retrieve] ] {noformat} h2. ivy.xml with targetNamespace {code:xml} ?xml version=1.0 encoding=UTF-8? ivy:ivy-module version=2.0 xmlns:ivy=http://ant.apache.org/ivy; xmlns:xsi=http://http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://ant.apache.org/ivy http://ant.apache.org/ivy/schemas/ivy.xsd; ivy:info organisation=com.blogspot.francisoud.ivy module=ivyxsd / ivy:configurations defaultconfmapping=default ivy:conf name=default / ivy:conf name=source / ivy:conf name=javadoc / /ivy:configurations ivy:publications ivy:artifact name=ivyxsd type=jar conf=default ext=jar / ivy:artifact name=ivyxsd type=source conf=source ext=zip / ivy:artifact name=ivyxsd type=javadoc conf=javadoc ext=zip / /ivy:publications ivy:dependencies defaultconf=default ivy:dependency org=commons-logging name=commons-logging rev=1.1 transitive=false / ivy:dependency org=log4j name=log4j rev=1.2.15 transitive=false / ivy:dependency org=com.sun.jersey name=jersey-server rev=1.0-ea-SNAPSHOT / /ivy:dependencies /ivy:ivy-module {code} * Error message: {noformat} [ivy:retrieve] [xml parsing: ivy.xml:5:92: cvc-elt.1: Cannot find the declaration of element 'ivy:ivy-module'. in file:/E:/development/eclipse/workspa ces/spot/Ivy-Xsd/ivy.xml [ivy:retrieve] , unknown tag ivy:ivy-module in file:/E:/development/eclipse/workspaces/spot/Ivy-Xsd/ivy.xml [ivy:retrieve] ] {noformat} Same error message in eclipse, what am I missing ? Fix? Just add {noformat}targetNamespace=http://ant.apache.org/ivy{noformat} attribute on root node in ivy.xsd ? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (IVY-1029) Unable to specify xsi:schemaLocation or xsi:noSchemaLocation with ivy.xsd
[ https://issues.apache.org/jira/browse/IVY-1029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12671062#action_12671062 ] Benjamin Francisoud commented on IVY-1029: -- Same problem with ivy.xsd in trunk (https://svn.apache.org/repos/asf/ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/parser/xml/ivy.xsd): *Errors message in eclipse:* {noformat}cvc-elt.1: Cannot find the declaration of element 'ivy:ivy-module'.{noformat} and {noformat} Referenced file contains errors (http://ant.apache.org/ivy/schemas/ivy.xsd). For more information, right click on the message and select Show Details... ivy.xml Ivy-Xsd line 1 XML Problem Target Namespace.1: Expecting namespace 'http://ant.apache.org/ivy', but the target namespace of the schema document is 'null'. {noformat} Unable to specify xsi:schemaLocation or xsi:noSchemaLocation with ivy.xsd - Key: IVY-1029 URL: https://issues.apache.org/jira/browse/IVY-1029 Project: Ivy Issue Type: Bug Affects Versions: 2.0 Reporter: Benjamin Francisoud Attachments: ivy-xsd-eclipse01.png, ivy-xsd-eclipse02.png I'm trying to get auto-completion of ivy.xml in eclipse but I just can make it work :( h2. ivy.xml with defaultNamespace {code:xml} ?xml version=1.0 encoding=UTF-8? ivy-module version=2.0 xmlns=http://ant.apache.org/ivy; xmlns:xsi=http://http://www.w3.org/2001/XMLSchema-instance; xsi:noSchemaLocation=http://ant.apache.org/ivy/schemas/ivy.xsd; info organisation=com.blogspot.francisoud.ivy module=ivyxsd / configurations defaultconfmapping=default conf name=default / conf name=source / conf name=javadoc / /configurations publications artifact name=ivyxsd type=jar conf=default ext=jar / artifact name=ivyxsd type=source conf=source ext=zip / artifact name=ivyxsd type=javadoc conf=javadoc ext=zip / /publications dependencies defaultconf=default dependency org=commons-logging name=commons-logging rev=1.1 transitive=false / dependency org=log4j name=log4j rev=1.2.15 transitive=false / dependency org=com.sun.jersey name=jersey-server rev=1.0-ea-SNAPSHOT / /dependencies /ivy-module {code} * Error message {noformat} [ivy:retrieve] :: Ivy 2.0.0 - 20090108225011 :: http://ant.apache.org/ivy/ :: :: loading settings :: file = E:\development\eclipse\workspaces\spot\Ivy-Xsd\ivy\ivysettings.xml [ivy:retrieve] [xml parsing: ivy.xml:5:67: cvc-elt.1: Cannot find the declaration of element 'ivy-module'. in file:/E:/development/eclipse/workspaces/ spot/Ivy-Xsd/ivy.xml [ivy:retrieve] ] {noformat} h2. ivy.xml with targetNamespace {code:xml} ?xml version=1.0 encoding=UTF-8? ivy:ivy-module version=2.0 xmlns:ivy=http://ant.apache.org/ivy; xmlns:xsi=http://http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://ant.apache.org/ivy http://ant.apache.org/ivy/schemas/ivy.xsd; ivy:info organisation=com.blogspot.francisoud.ivy module=ivyxsd / ivy:configurations defaultconfmapping=default ivy:conf name=default / ivy:conf name=source / ivy:conf name=javadoc / /ivy:configurations ivy:publications ivy:artifact name=ivyxsd type=jar conf=default ext=jar / ivy:artifact name=ivyxsd type=source conf=source ext=zip / ivy:artifact name=ivyxsd type=javadoc conf=javadoc ext=zip / /ivy:publications ivy:dependencies defaultconf=default ivy:dependency org=commons-logging name=commons-logging rev=1.1 transitive=false / ivy:dependency org=log4j name=log4j rev=1.2.15 transitive=false / ivy:dependency org=com.sun.jersey name=jersey-server rev=1.0-ea-SNAPSHOT / /ivy:dependencies /ivy:ivy-module {code} * Error message: {noformat} [ivy:retrieve] [xml parsing: ivy.xml:5:92: cvc-elt.1: Cannot find the declaration of element 'ivy:ivy-module'. in file:/E:/development/eclipse/workspa ces/spot/Ivy-Xsd/ivy.xml [ivy:retrieve] , unknown tag ivy:ivy-module in file:/E:/development/eclipse/workspaces/spot/Ivy-Xsd/ivy.xml [ivy:retrieve] ] {noformat} Same error message in eclipse, what am I missing ? Fix? Just add {noformat}targetNamespace=http://ant.apache.org/ivy{noformat} attribute on root node in ivy.xsd ? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
svn commit: r741483 - /ant/core/trunk/xdocs/svn.xml
Author: bodewig Date: Fri Feb 6 09:16:53 2009 New Revision: 741483 URL: http://svn.apache.org/viewvc?rev=741483view=rev Log: link to Ivy svn modules Modified: ant/core/trunk/xdocs/svn.xml Modified: ant/core/trunk/xdocs/svn.xml URL: http://svn.apache.org/viewvc/ant/core/trunk/xdocs/svn.xml?rev=741483r1=741482r2=741483view=diff == --- ant/core/trunk/xdocs/svn.xml (original) +++ ant/core/trunk/xdocs/svn.xml Fri Feb 6 09:16:53 2009 @@ -36,16 +36,23 @@ pModules available for access are:/p ul -lia href=http://svn.apache.org/viewcvs.cgi/ant/core/trunk/;ant/a - The quot;mainquot; Ant module.br/ +lia href=http://svn.apache.org/viewvc/ant/core/trunk/;ant/a - The quot;mainquot; Ant module.br/ http://svn.apache.org/repos/asf/ant/core/trunk/ /li -lia href=http://svn.apache.org/viewcvs.cgi/ant/antlibs/antunit/trunk/;antunit/a Test framework for Ant.br/ +lia href=http://svn.apache.org/viewvc/ant/ivy/core/trunk/;Ivy/a - The quot;mainquot; Ivy module.br/ + http://svn.apache.org/repos/asf/ant/ivy/core/trunk/ +/li +lia href=http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/;IvyDE/a + - Eclipse Plugin for Ivy.br/ + http://svn.apache.org/repos/asf/ant/ivy/ivyde/trunk/ +/li +lia href=http://svn.apache.org/viewvc/ant/antlibs/antunit/trunk/;antunit/a Test framework for Ant.br/ http://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk//li -lia href=http://svn.apache.org/viewcvs.cgi/ant/antlibs/dotnet/trunk/;Dotnet antlib/a Contains Nant, Nunit, ...br/ +lia href=http://svn.apache.org/viewvc/ant/antlibs/dotnet/trunk/;Dotnet antlib/a Contains Nant, Nunit, ...br/ http://svn.apache.org/repos/asf/ant/antlibs/dotnet/trunk//li -lia href=http://svn.apache.org/viewcvs.cgi/ant/antlibs/svn/trunk/;svn antlib/a Contains tasks to interact with Subversion repositories.br/ +lia href=http://svn.apache.org/viewvc/ant/antlibs/svn/trunk/;svn antlib/a Contains tasks to interact with Subversion repositories.br/ http://svn.apache.org/repos/asf/ant/antlibs/svn/trunk//li -lia href=http://svn.apache.org/viewcvs.cgi/ant/sandbox/;sandbox/a - New developments. Contains currently gendoc.br/ +lia href=http://svn.apache.org/viewvc/ant/sandbox/;sandbox/a - New developments. Contains currently gendoc.br/ http://svn.apache.org/repos/asf/ant/sandbox/ /li /ul
svn commit: r741486 - in /ant/core/trunk: docs/manual/CoreTasks/hostinfo.html docs/nightlies.html docs/projects/ivy.html xdocs/nightlies.xml xdocs/projects/ivy.xml
Author: bodewig Date: Fri Feb 6 09:20:43 2009 New Revision: 741486 URL: http://svn.apache.org/viewvc?rev=741486view=rev Log: fix eol-style Modified: ant/core/trunk/docs/manual/CoreTasks/hostinfo.html (props changed) ant/core/trunk/docs/nightlies.html (props changed) ant/core/trunk/docs/projects/ivy.html (props changed) ant/core/trunk/xdocs/nightlies.xml (props changed) ant/core/trunk/xdocs/projects/ivy.xml (contents, props changed) Propchange: ant/core/trunk/docs/manual/CoreTasks/hostinfo.html -- svn:eol-style = native Propchange: ant/core/trunk/docs/nightlies.html -- svn:eol-style = native Propchange: ant/core/trunk/docs/projects/ivy.html -- svn:eol-style = native Propchange: ant/core/trunk/xdocs/nightlies.xml -- svn:eol-style = native Modified: ant/core/trunk/xdocs/projects/ivy.xml URL: http://svn.apache.org/viewvc/ant/core/trunk/xdocs/projects/ivy.xml?rev=741486r1=741485r2=741486view=diff == --- ant/core/trunk/xdocs/projects/ivy.xml (original) +++ ant/core/trunk/xdocs/projects/ivy.xml Fri Feb 6 09:20:43 2009 @@ -1,38 +1,38 @@ -?xml version=1.0? -!-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the License); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an AS IS BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. --- -document - - properties -index value=1/ -titleThe Ivy Subproject/title - /properties - - body - -section name=The Ivy Subproject - h3Apache Ivy/h3 - - pIvy is a simple yet powerful dependency manager featuring continuous integration, - dependencies of dependencies management, multiple repositories including ibiblio and - high performance (use of a local cache)./p - -/section - - /body -/document - +?xml version=1.0? +!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the License); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an AS IS BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +-- +document + + properties +index value=1/ +titleThe Ivy Subproject/title + /properties + + body + +section name=The Ivy Subproject + h3Apache Ivy/h3 + + pIvy is a simple yet powerful dependency manager featuring continuous integration, + dependencies of dependencies management, multiple repositories including ibiblio and + high performance (use of a local cache)./p + +/section + + /body +/document + Propchange: ant/core/trunk/xdocs/projects/ivy.xml -- svn:eol-style = native
[jira] Issue Comment Edited: (IVY-1029) Unable to specify xsi:schemaLocation or xsi:noSchemaLocation with ivy.xsd
[ https://issues.apache.org/jira/browse/IVY-1029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12671096#action_12671096 ] maartenc edited comment on IVY-1029 at 2/6/09 3:27 AM: FYI, I've tried the following within IntelliJ IDEA and it works (both validation and auto-completion) {code:xml} ivy-module version=2.0 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:noNamespaceSchemaLocation=http://svn.apache.org/repos/asf/ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/parser/xml/ivy.xsd; ... /ivy-module {code} So my guess is that if the auto-completion doesn't work in Eclipse, it's an Eclipse bug and not a problem with the (new) ivy.xsd was (Author: maartenc): FYI, I've tried the following within IntelliJ IDEA and it works (both validation and auto-completion) {code:xml} ivy-module version=2.0 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:noNamespaceSchemaLocation=http://svn.apache.org/repos/asf/ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/parser/xml/ivy.xsd; ... /ivy-module {code:xml} So my guess is that if the auto-completion doesn't work in Eclipse, it's an Eclipse bug and not a problem with the (new) ivy.xsd Unable to specify xsi:schemaLocation or xsi:noSchemaLocation with ivy.xsd - Key: IVY-1029 URL: https://issues.apache.org/jira/browse/IVY-1029 Project: Ivy Issue Type: Bug Affects Versions: 2.0 Reporter: Benjamin Francisoud Attachments: ivy-xsd-eclipse01.png, ivy-xsd-eclipse02.png I'm trying to get auto-completion of ivy.xml in eclipse but I just can make it work :( h2. ivy.xml with defaultNamespace {code:xml} ?xml version=1.0 encoding=UTF-8? ivy-module version=2.0 xmlns=http://ant.apache.org/ivy; xmlns:xsi=http://http://www.w3.org/2001/XMLSchema-instance; xsi:noSchemaLocation=http://ant.apache.org/ivy/schemas/ivy.xsd; info organisation=com.blogspot.francisoud.ivy module=ivyxsd / configurations defaultconfmapping=default conf name=default / conf name=source / conf name=javadoc / /configurations publications artifact name=ivyxsd type=jar conf=default ext=jar / artifact name=ivyxsd type=source conf=source ext=zip / artifact name=ivyxsd type=javadoc conf=javadoc ext=zip / /publications dependencies defaultconf=default dependency org=commons-logging name=commons-logging rev=1.1 transitive=false / dependency org=log4j name=log4j rev=1.2.15 transitive=false / dependency org=com.sun.jersey name=jersey-server rev=1.0-ea-SNAPSHOT / /dependencies /ivy-module {code} * Error message {noformat} [ivy:retrieve] :: Ivy 2.0.0 - 20090108225011 :: http://ant.apache.org/ivy/ :: :: loading settings :: file = E:\development\eclipse\workspaces\spot\Ivy-Xsd\ivy\ivysettings.xml [ivy:retrieve] [xml parsing: ivy.xml:5:67: cvc-elt.1: Cannot find the declaration of element 'ivy-module'. in file:/E:/development/eclipse/workspaces/ spot/Ivy-Xsd/ivy.xml [ivy:retrieve] ] {noformat} h2. ivy.xml with targetNamespace {code:xml} ?xml version=1.0 encoding=UTF-8? ivy:ivy-module version=2.0 xmlns:ivy=http://ant.apache.org/ivy; xmlns:xsi=http://http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://ant.apache.org/ivy http://ant.apache.org/ivy/schemas/ivy.xsd; ivy:info organisation=com.blogspot.francisoud.ivy module=ivyxsd / ivy:configurations defaultconfmapping=default ivy:conf name=default / ivy:conf name=source / ivy:conf name=javadoc / /ivy:configurations ivy:publications ivy:artifact name=ivyxsd type=jar conf=default ext=jar / ivy:artifact name=ivyxsd type=source conf=source ext=zip / ivy:artifact name=ivyxsd type=javadoc conf=javadoc ext=zip / /ivy:publications ivy:dependencies defaultconf=default ivy:dependency org=commons-logging name=commons-logging rev=1.1 transitive=false / ivy:dependency org=log4j name=log4j rev=1.2.15 transitive=false / ivy:dependency org=com.sun.jersey name=jersey-server rev=1.0-ea-SNAPSHOT / /ivy:dependencies /ivy:ivy-module {code} * Error message: {noformat} [ivy:retrieve] [xml parsing: ivy.xml:5:92: cvc-elt.1: Cannot find the declaration of element 'ivy:ivy-module'. in file:/E:/development/eclipse/workspa ces/spot/Ivy-Xsd/ivy.xml [ivy:retrieve] , unknown tag ivy:ivy-module in file:/E:/development/eclipse/workspaces/spot/Ivy-Xsd/ivy.xml
[jira] Commented: (IVY-1029) Unable to specify xsi:schemaLocation or xsi:noSchemaLocation with ivy.xsd
[ https://issues.apache.org/jira/browse/IVY-1029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12671096#action_12671096 ] Maarten Coene commented on IVY-1029: FYI, I've tried the following within IntelliJ IDEA and it works (both validation and auto-completion) {code:xml} ivy-module version=2.0 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:noNamespaceSchemaLocation=http://svn.apache.org/repos/asf/ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/parser/xml/ivy.xsd; ... /ivy-module {code:xml} So my guess is that if the auto-completion doesn't work in Eclipse, it's an Eclipse bug and not a problem with the (new) ivy.xsd Unable to specify xsi:schemaLocation or xsi:noSchemaLocation with ivy.xsd - Key: IVY-1029 URL: https://issues.apache.org/jira/browse/IVY-1029 Project: Ivy Issue Type: Bug Affects Versions: 2.0 Reporter: Benjamin Francisoud Attachments: ivy-xsd-eclipse01.png, ivy-xsd-eclipse02.png I'm trying to get auto-completion of ivy.xml in eclipse but I just can make it work :( h2. ivy.xml with defaultNamespace {code:xml} ?xml version=1.0 encoding=UTF-8? ivy-module version=2.0 xmlns=http://ant.apache.org/ivy; xmlns:xsi=http://http://www.w3.org/2001/XMLSchema-instance; xsi:noSchemaLocation=http://ant.apache.org/ivy/schemas/ivy.xsd; info organisation=com.blogspot.francisoud.ivy module=ivyxsd / configurations defaultconfmapping=default conf name=default / conf name=source / conf name=javadoc / /configurations publications artifact name=ivyxsd type=jar conf=default ext=jar / artifact name=ivyxsd type=source conf=source ext=zip / artifact name=ivyxsd type=javadoc conf=javadoc ext=zip / /publications dependencies defaultconf=default dependency org=commons-logging name=commons-logging rev=1.1 transitive=false / dependency org=log4j name=log4j rev=1.2.15 transitive=false / dependency org=com.sun.jersey name=jersey-server rev=1.0-ea-SNAPSHOT / /dependencies /ivy-module {code} * Error message {noformat} [ivy:retrieve] :: Ivy 2.0.0 - 20090108225011 :: http://ant.apache.org/ivy/ :: :: loading settings :: file = E:\development\eclipse\workspaces\spot\Ivy-Xsd\ivy\ivysettings.xml [ivy:retrieve] [xml parsing: ivy.xml:5:67: cvc-elt.1: Cannot find the declaration of element 'ivy-module'. in file:/E:/development/eclipse/workspaces/ spot/Ivy-Xsd/ivy.xml [ivy:retrieve] ] {noformat} h2. ivy.xml with targetNamespace {code:xml} ?xml version=1.0 encoding=UTF-8? ivy:ivy-module version=2.0 xmlns:ivy=http://ant.apache.org/ivy; xmlns:xsi=http://http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://ant.apache.org/ivy http://ant.apache.org/ivy/schemas/ivy.xsd; ivy:info organisation=com.blogspot.francisoud.ivy module=ivyxsd / ivy:configurations defaultconfmapping=default ivy:conf name=default / ivy:conf name=source / ivy:conf name=javadoc / /ivy:configurations ivy:publications ivy:artifact name=ivyxsd type=jar conf=default ext=jar / ivy:artifact name=ivyxsd type=source conf=source ext=zip / ivy:artifact name=ivyxsd type=javadoc conf=javadoc ext=zip / /ivy:publications ivy:dependencies defaultconf=default ivy:dependency org=commons-logging name=commons-logging rev=1.1 transitive=false / ivy:dependency org=log4j name=log4j rev=1.2.15 transitive=false / ivy:dependency org=com.sun.jersey name=jersey-server rev=1.0-ea-SNAPSHOT / /ivy:dependencies /ivy:ivy-module {code} * Error message: {noformat} [ivy:retrieve] [xml parsing: ivy.xml:5:92: cvc-elt.1: Cannot find the declaration of element 'ivy:ivy-module'. in file:/E:/development/eclipse/workspa ces/spot/Ivy-Xsd/ivy.xml [ivy:retrieve] , unknown tag ivy:ivy-module in file:/E:/development/eclipse/workspaces/spot/Ivy-Xsd/ivy.xml [ivy:retrieve] ] {noformat} Same error message in eclipse, what am I missing ? Fix? Just add {noformat}targetNamespace=http://ant.apache.org/ivy{noformat} attribute on root node in ivy.xsd ? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
svn commit: r741505 - /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Jikes.java
Author: jkf Date: Fri Feb 6 10:20:47 2009 New Revision: 741505 URL: http://svn.apache.org/viewvc?rev=741505view=rev Log: Removed the own implementation for creating a temporary file, in case deletion of temp file fails, added it as candidate for deletion on exit. Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Jikes.java Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Jikes.java URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Jikes.java?rev=741505r1=741504r2=741505view=diff == --- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Jikes.java (original) +++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Jikes.java Fri Feb 6 10:20:47 2009 @@ -21,7 +21,6 @@ import java.io.FileWriter; import java.io.IOException; import java.io.PrintWriter; -import java.util.Random; import org.apache.tools.ant.BuildException; import org.apache.tools.ant.Project; @@ -86,9 +85,8 @@ args.length MAX_FILES_ON_COMMAND_LINE) { PrintWriter out = null; try { -String tempFileName = jikes -+ (new Random(System.currentTimeMillis())).nextLong(); -tmpFile = new File(tempFileName); +tmpFile = FileUtils.getFileUtils().createTempFile(jikes, +tmp, null, false, true); out = new PrintWriter(new FileWriter(tmpFile)); for (int i = 0; i args.length; i++) { out.println(args[i]); @@ -123,7 +121,9 @@ } } finally { if (tmpFile != null) { -tmpFile.delete(); +if (!tmpFile.delete()) { +tmpFile.deleteOnExit(); +} } } }
DO NOT REPLY [Bug 44544] pseudo-deadlock in Redirector.java caused by over-aggressive use of synchronized keyword
https://issues.apache.org/bugzilla/show_bug.cgi?id=44544 J.M. (Martijn) Kruithof j...@apache.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Comment #5 from J.M. (Martijn) Kruithof j...@apache.org 2009-02-06 04:36:18 PST --- There was nothing pseudo about the deadlock described, thanks for the report and the testcase. -- 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 44544] pseudo-deadlock in Redirector.java caused by over-aggressive use of synchronized keyword
https://issues.apache.org/bugzilla/show_bug.cgi?id=44544 J.M. (Martijn) Kruithof j...@apache.org changed: What|Removed |Added Target Milestone|--- |1.8.0 -- 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: r741554 - in /ant/core/trunk: WHATSNEW src/main/org/apache/tools/ant/taskdefs/Redirector.java
Author: jkf Date: Fri Feb 6 12:36:48 2009 New Revision: 741554 URL: http://svn.apache.org/viewvc?rev=741554view=rev Log: Pr 44544: Deadlock between in, out and err in the redirector. Modified: ant/core/trunk/WHATSNEW ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Redirector.java Modified: ant/core/trunk/WHATSNEW URL: http://svn.apache.org/viewvc/ant/core/trunk/WHATSNEW?rev=741554r1=741553r2=741554view=diff == --- ant/core/trunk/WHATSNEW (original) +++ ant/core/trunk/WHATSNEW Fri Feb 6 12:36:48 2009 @@ -137,6 +137,9 @@ Fixed bugs: --- + * Got rid of deadlock between in in, out and err in the Redirector. + Bugzilla Report 44544. + * Caused by AssertionError no longer filtered. Bugzilla report 45631. * zip would sometimes recreate JARs unnecessarily. Bugzilla report 45902. Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Redirector.java URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Redirector.java?rev=741554r1=741553r2=741554view=diff == --- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Redirector.java (original) +++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Redirector.java Fri Feb 6 12:36:48 2009 @@ -47,19 +47,20 @@ import org.apache.tools.ant.util.KeepAliveOutputStream; /** - * The Redirector class manages the setup and connection of - * input and output redirection for an Ant project component. - * + * The Redirector class manages the setup and connection of input and output + * redirection for an Ant project component. + * * @since Ant 1.6 */ public class Redirector { private static final int STREAMPUMPER_WAIT_INTERVAL = 1000; -private static final String DEFAULT_ENCODING -= System.getProperty(file.encoding); +private static final String DEFAULT_ENCODING = System +.getProperty(file.encoding); private class PropertyOutputStream extends ByteArrayOutputStream { private String property; + private boolean closed = false; PropertyOutputStream(String property) { @@ -68,16 +69,18 @@ } public void close() throws IOException { -if (!closed !(append appendProperties)) { -setPropertyFromBAOS(this, property); -closed = true; +synchronized (outMutex) { +if (!closed !(appendOut appendProperties)) { +setPropertyFromBAOS(this, property); +closed = true; +} } } } /** - * The file(s) from which standard input is being taken. - * If gt; 1, files' content will be concatenated in the order received. + * The file(s) from which standard input is being taken. If gt; 1, files' + * content will be concatenated in the order received. */ private File[] input; @@ -93,10 +96,10 @@ private File[] error; /** - * Indicates if standard error should be logged to Ant's log system - * rather than the output. This has no effect if standard error is - * redirected to a file or property. - */ + * Indicates if standard error should be logged to Ant's log system rather + * than the output. This has no effect if standard error is redirected to a + * file or property. + */ private boolean logError = false; /** @@ -119,13 +122,19 @@ private String inputString; /** Flag which indicates if error and output files are to be appended. */ -private boolean append = false; +private boolean appendOut = false; + +private boolean appendErr = false; /** Flag which indicates that output should be always sent to the log */ -private boolean alwaysLog = false; +private boolean alwaysLogOut = false; + +private boolean alwaysLogErr = false; /** Flag which indicates whether files should be created even when empty. */ -private boolean createEmptyFiles = true; +private boolean createEmptyFilesOut = true; + +private boolean createEmptyFilesErr = true; /** The task for which this redirector is working */ private ProjectComponent managingTask; @@ -172,10 +181,20 @@ /** whether to log the inputstring */ private boolean logInputString = true; +/** Mutex for in */ +private Object inMutex = new Object(); + +/** Mutex for out */ +private Object outMutex = new Object(); + +/** Mutex for err */ +private Object errMutex = new Object(); + /** * Create a redirector instance for the given task - * - * @param managingTask the task for which the redirector is to work + * + * @param managingTask + *the task for which the redirector is to work */ public Redirector(Task managingTask) {
[jira] Commented: (IVY-1027) resolver, which can do automatic build of dependencies
[ https://issues.apache.org/jira/browse/IVY-1027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12671166#action_12671166 ] Xavier Hanin commented on IVY-1027: --- I've not had the time to have a look at the code, but does it require change in Ivy core? Maybe this could be provided as a separate project instead of being included in Ivy core? resolver, which can do automatic build of dependencies -- Key: IVY-1027 URL: https://issues.apache.org/jira/browse/IVY-1027 Project: Ivy Issue Type: New Feature Environment: any. Reporter: Ruslan Shevchenko Attachments: ivy.build.plugin-src-1.0.tar.gz Good day. I wrote resolver, which can do automatic build and publish of dependencies, if their source code is available. (detailed description at http://redmine.gradsoft.ua/wiki/jungleplatform/Ivybuildplugin) I want donate all code to ivy project and include resolver to ivy core. Source archive is in attachment. Now this is separate module, I need some advise before preparing path to ivy (It is necessory to rewrite resolver in JDK-1.4 ? Where to put testcases ?) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
svn commit: r741608 - /ant/core/trunk/src/main/org/apache/tools/bzip2/CBZip2OutputStream.java
Author: bodewig Date: Fri Feb 6 16:08:55 2009 New Revision: 741608 URL: http://svn.apache.org/viewvc?rev=741608view=rev Log: provide a finish method separate from close - merge from commons-compress Modified: ant/core/trunk/src/main/org/apache/tools/bzip2/CBZip2OutputStream.java Modified: ant/core/trunk/src/main/org/apache/tools/bzip2/CBZip2OutputStream.java URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/bzip2/CBZip2OutputStream.java?rev=741608r1=741607r2=741608view=diff == --- ant/core/trunk/src/main/org/apache/tools/bzip2/CBZip2OutputStream.java (original) +++ ant/core/trunk/src/main/org/apache/tools/bzip2/CBZip2OutputStream.java Fri Feb 6 16:08:55 2009 @@ -571,7 +571,7 @@ int v, t, i, j, gs, ge, totc, bt, bc, iter; int nSelectors = 0, alphaSize, minLen, maxLen, selCtr; -int nGroups, nBytes; +int nGroups; //, nBytes; alphaSize = nInUse + 2; for (t = 0; t N_GROUPS; t++) { @@ -802,7 +802,7 @@ } } -nBytes = bytesOut; +//nBytes = bytesOut; for (i = 0; i 16; i++) { if (inUse16[i]) { bsW(1, 1); @@ -826,7 +826,7 @@ } /* Now the selectors. */ -nBytes = bytesOut; +//nBytes = bytesOut; bsW (3, nGroups); bsW (15, nSelectors); for (i = 0; i nSelectors; i++) { @@ -837,7 +837,7 @@ } /* Now the coding tables. */ -nBytes = bytesOut; +//nBytes = bytesOut; for (t = 0; t nGroups; t++) { int curr = len[t][0]; @@ -856,7 +856,7 @@ } /* And finally, the block data proper */ -nBytes = bytesOut; +//nBytes = bytesOut; selCtr = 0; gs = 0; while (true) {
DO NOT REPLY [Bug 42713] CBZip2OutputStream#finish method like in java.util.zip.GZIPOutputStream
https://issues.apache.org/bugzilla/show_bug.cgi?id=42713 Stefan Bodewig bode...@apache.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED Target Milestone|--- |1.8.0 --- Comment #11 from Stefan Bodewig bode...@apache.org 2009-02-06 08:27:30 PST --- merged commons-compress finish method in svn revision 741608 ( https://svn.apache.org/viewcvs.cgi?view=revrev=741608 ) -- 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: r741617 - /ant/core/trunk/WHATSNEW
Author: bodewig Date: Fri Feb 6 16:27:33 2009 New Revision: 741617 URL: http://svn.apache.org/viewvc?rev=741617view=rev Log: revision 741608 actually closes PR 42713 Modified: ant/core/trunk/WHATSNEW Modified: ant/core/trunk/WHATSNEW URL: http://svn.apache.org/viewvc/ant/core/trunk/WHATSNEW?rev=741617r1=741616r2=741617view=diff == --- ant/core/trunk/WHATSNEW (original) +++ ant/core/trunk/WHATSNEW Fri Feb 6 16:27:33 2009 @@ -681,6 +681,9 @@ a size. Bugzilla Report 42940. + * CBZip2OutputStream now has a finish method separate from close. + Bugzilla Report 42713. + Changes from Ant 1.7.0 TO Ant 1.7.1 =
[jira] Commented: (IVY-1029) Unable to specify xsi:schemaLocation or xsi:noSchemaLocation with ivy.xsd
[ https://issues.apache.org/jira/browse/IVY-1029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12671087#action_12671087 ] Maarten Coene commented on IVY-1029: Did you try with the xsi:noNamspaceSchemaLocation like in mine example? The ivy.xsd doesn't define a target namespace, that's why you cannot put the elements inside a namespace. I think that if we add a target namespace to this ivy.xsd, we will make all existing ivy.xml files who don't define the namespace invalid. It seems like an Eclipse bug if it gives you the No grammar constraint-warning when using this attribute. In the Eclipse XML Catalog menu, you should choose something different than Namespace Name for your key type, since there is no namespace, maybe you can choose something like URL in there? And if I'm not mistaken, as a workaround you can install the Eclipse IvyDE plugin, it will also give you autocompletion for your ivy.xml files... Unable to specify xsi:schemaLocation or xsi:noSchemaLocation with ivy.xsd - Key: IVY-1029 URL: https://issues.apache.org/jira/browse/IVY-1029 Project: Ivy Issue Type: Bug Affects Versions: 2.0 Reporter: Benjamin Francisoud Attachments: ivy-xsd-eclipse01.png, ivy-xsd-eclipse02.png I'm trying to get auto-completion of ivy.xml in eclipse but I just can make it work :( h2. ivy.xml with defaultNamespace {code:xml} ?xml version=1.0 encoding=UTF-8? ivy-module version=2.0 xmlns=http://ant.apache.org/ivy; xmlns:xsi=http://http://www.w3.org/2001/XMLSchema-instance; xsi:noSchemaLocation=http://ant.apache.org/ivy/schemas/ivy.xsd; info organisation=com.blogspot.francisoud.ivy module=ivyxsd / configurations defaultconfmapping=default conf name=default / conf name=source / conf name=javadoc / /configurations publications artifact name=ivyxsd type=jar conf=default ext=jar / artifact name=ivyxsd type=source conf=source ext=zip / artifact name=ivyxsd type=javadoc conf=javadoc ext=zip / /publications dependencies defaultconf=default dependency org=commons-logging name=commons-logging rev=1.1 transitive=false / dependency org=log4j name=log4j rev=1.2.15 transitive=false / dependency org=com.sun.jersey name=jersey-server rev=1.0-ea-SNAPSHOT / /dependencies /ivy-module {code} * Error message {noformat} [ivy:retrieve] :: Ivy 2.0.0 - 20090108225011 :: http://ant.apache.org/ivy/ :: :: loading settings :: file = E:\development\eclipse\workspaces\spot\Ivy-Xsd\ivy\ivysettings.xml [ivy:retrieve] [xml parsing: ivy.xml:5:67: cvc-elt.1: Cannot find the declaration of element 'ivy-module'. in file:/E:/development/eclipse/workspaces/ spot/Ivy-Xsd/ivy.xml [ivy:retrieve] ] {noformat} h2. ivy.xml with targetNamespace {code:xml} ?xml version=1.0 encoding=UTF-8? ivy:ivy-module version=2.0 xmlns:ivy=http://ant.apache.org/ivy; xmlns:xsi=http://http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://ant.apache.org/ivy http://ant.apache.org/ivy/schemas/ivy.xsd; ivy:info organisation=com.blogspot.francisoud.ivy module=ivyxsd / ivy:configurations defaultconfmapping=default ivy:conf name=default / ivy:conf name=source / ivy:conf name=javadoc / /ivy:configurations ivy:publications ivy:artifact name=ivyxsd type=jar conf=default ext=jar / ivy:artifact name=ivyxsd type=source conf=source ext=zip / ivy:artifact name=ivyxsd type=javadoc conf=javadoc ext=zip / /ivy:publications ivy:dependencies defaultconf=default ivy:dependency org=commons-logging name=commons-logging rev=1.1 transitive=false / ivy:dependency org=log4j name=log4j rev=1.2.15 transitive=false / ivy:dependency org=com.sun.jersey name=jersey-server rev=1.0-ea-SNAPSHOT / /ivy:dependencies /ivy:ivy-module {code} * Error message: {noformat} [ivy:retrieve] [xml parsing: ivy.xml:5:92: cvc-elt.1: Cannot find the declaration of element 'ivy:ivy-module'. in file:/E:/development/eclipse/workspa ces/spot/Ivy-Xsd/ivy.xml [ivy:retrieve] , unknown tag ivy:ivy-module in file:/E:/development/eclipse/workspaces/spot/Ivy-Xsd/ivy.xml [ivy:retrieve] ] {noformat} Same error message in eclipse, what am I missing ? Fix? Just add {noformat}targetNamespace=http://ant.apache.org/ivy{noformat} attribute on root node in ivy.xsd ? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (IVY-1029) Unable to specify xsi:schemaLocation or xsi:noSchemaLocation with ivy.xsd
[ https://issues.apache.org/jira/browse/IVY-1029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12671089#action_12671089 ] Maarten Coene commented on IVY-1029: To solve the problems in Ant, you should also build a new ivy.jar to use the new ivy.xsd (or just replace the ivy.xsd in your current ivy.jar with the new one) Unable to specify xsi:schemaLocation or xsi:noSchemaLocation with ivy.xsd - Key: IVY-1029 URL: https://issues.apache.org/jira/browse/IVY-1029 Project: Ivy Issue Type: Bug Affects Versions: 2.0 Reporter: Benjamin Francisoud Attachments: ivy-xsd-eclipse01.png, ivy-xsd-eclipse02.png I'm trying to get auto-completion of ivy.xml in eclipse but I just can make it work :( h2. ivy.xml with defaultNamespace {code:xml} ?xml version=1.0 encoding=UTF-8? ivy-module version=2.0 xmlns=http://ant.apache.org/ivy; xmlns:xsi=http://http://www.w3.org/2001/XMLSchema-instance; xsi:noSchemaLocation=http://ant.apache.org/ivy/schemas/ivy.xsd; info organisation=com.blogspot.francisoud.ivy module=ivyxsd / configurations defaultconfmapping=default conf name=default / conf name=source / conf name=javadoc / /configurations publications artifact name=ivyxsd type=jar conf=default ext=jar / artifact name=ivyxsd type=source conf=source ext=zip / artifact name=ivyxsd type=javadoc conf=javadoc ext=zip / /publications dependencies defaultconf=default dependency org=commons-logging name=commons-logging rev=1.1 transitive=false / dependency org=log4j name=log4j rev=1.2.15 transitive=false / dependency org=com.sun.jersey name=jersey-server rev=1.0-ea-SNAPSHOT / /dependencies /ivy-module {code} * Error message {noformat} [ivy:retrieve] :: Ivy 2.0.0 - 20090108225011 :: http://ant.apache.org/ivy/ :: :: loading settings :: file = E:\development\eclipse\workspaces\spot\Ivy-Xsd\ivy\ivysettings.xml [ivy:retrieve] [xml parsing: ivy.xml:5:67: cvc-elt.1: Cannot find the declaration of element 'ivy-module'. in file:/E:/development/eclipse/workspaces/ spot/Ivy-Xsd/ivy.xml [ivy:retrieve] ] {noformat} h2. ivy.xml with targetNamespace {code:xml} ?xml version=1.0 encoding=UTF-8? ivy:ivy-module version=2.0 xmlns:ivy=http://ant.apache.org/ivy; xmlns:xsi=http://http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://ant.apache.org/ivy http://ant.apache.org/ivy/schemas/ivy.xsd; ivy:info organisation=com.blogspot.francisoud.ivy module=ivyxsd / ivy:configurations defaultconfmapping=default ivy:conf name=default / ivy:conf name=source / ivy:conf name=javadoc / /ivy:configurations ivy:publications ivy:artifact name=ivyxsd type=jar conf=default ext=jar / ivy:artifact name=ivyxsd type=source conf=source ext=zip / ivy:artifact name=ivyxsd type=javadoc conf=javadoc ext=zip / /ivy:publications ivy:dependencies defaultconf=default ivy:dependency org=commons-logging name=commons-logging rev=1.1 transitive=false / ivy:dependency org=log4j name=log4j rev=1.2.15 transitive=false / ivy:dependency org=com.sun.jersey name=jersey-server rev=1.0-ea-SNAPSHOT / /ivy:dependencies /ivy:ivy-module {code} * Error message: {noformat} [ivy:retrieve] [xml parsing: ivy.xml:5:92: cvc-elt.1: Cannot find the declaration of element 'ivy:ivy-module'. in file:/E:/development/eclipse/workspa ces/spot/Ivy-Xsd/ivy.xml [ivy:retrieve] , unknown tag ivy:ivy-module in file:/E:/development/eclipse/workspaces/spot/Ivy-Xsd/ivy.xml [ivy:retrieve] ] {noformat} Same error message in eclipse, what am I missing ? Fix? Just add {noformat}targetNamespace=http://ant.apache.org/ivy{noformat} attribute on root node in ivy.xsd ? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
svn commit: r741618 - /ant/core/trunk/src/main/org/apache/tools/bzip2/CBZip2OutputStream.java
Author: bodewig Date: Fri Feb 6 16:29:39 2009 New Revision: 741618 URL: http://svn.apache.org/viewvc?rev=741618view=rev Log: provide a finish method separate from close - merge from commons-compress, this time merging the correct revision Modified: ant/core/trunk/src/main/org/apache/tools/bzip2/CBZip2OutputStream.java Modified: ant/core/trunk/src/main/org/apache/tools/bzip2/CBZip2OutputStream.java URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/bzip2/CBZip2OutputStream.java?rev=741618r1=741617r2=741618view=diff == --- ant/core/trunk/src/main/org/apache/tools/bzip2/CBZip2OutputStream.java (original) +++ ant/core/trunk/src/main/org/apache/tools/bzip2/CBZip2OutputStream.java Fri Feb 6 16:29:39 2009 @@ -381,6 +381,16 @@ if (closed) { return; } +finish(); +super.close(); +bsStream.close(); +closed = true; +} + +protected void finish() throws IOException { +if (closed) { +return; +} if (runLength 0) { writeRun(); @@ -388,9 +398,6 @@ currentChar = -1; endBlock(); endCompression(); -closed = true; -super.close(); -bsStream.close(); } public void flush() throws IOException {
DO NOT REPLY [Bug 42713] CBZip2OutputStream#finish method like in java.util.zip.GZIPOutputStream
https://issues.apache.org/bugzilla/show_bug.cgi?id=42713 --- Comment #12 from Stefan Bodewig bode...@apache.org 2009-02-06 08:29:55 PST --- oops, svn revision 741618 ( https://svn.apache.org/viewcvs.cgi?view=revrev=741618 ) it is. -- 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: r741512 - in /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/extension: DeweyDecimal.java Extension.java ExtensionAdapter.java Specification.java
Author: jkf Date: Fri Feb 6 10:27:22 2009 New Revision: 741512 URL: http://svn.apache.org/viewvc?rev=741512view=rev Log: Marked the DeweyDecimal in extension package deprecated. Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/extension/DeweyDecimal.java ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/extension/Extension.java ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/extension/ExtensionAdapter.java ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/extension/Specification.java Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/extension/DeweyDecimal.java URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/extension/DeweyDecimal.java?rev=741512r1=741511r2=741512view=diff == --- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/extension/DeweyDecimal.java (original) +++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/extension/DeweyDecimal.java Fri Feb 6 10:27:22 2009 @@ -27,6 +27,7 @@ * must begin with a number. * * Original Implementation moved to org.apache.tools.ant.util.DeweyDecimal + * @deprecated use org.apache.tools.ant.util.DeweyDecimal instead. */ public final class DeweyDecimal extends org.apache.tools.ant.util.DeweyDecimal { Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/extension/Extension.java URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/extension/Extension.java?rev=741512r1=741511r2=741512view=diff == --- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/extension/Extension.java (original) +++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/extension/Extension.java Fri Feb 6 10:27:22 2009 @@ -24,6 +24,7 @@ import java.util.jar.Attributes; import java.util.jar.Manifest; +import org.apache.tools.ant.util.DeweyDecimal; import org.apache.tools.ant.util.StringUtils; /** Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/extension/ExtensionAdapter.java URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/extension/ExtensionAdapter.java?rev=741512r1=741511r2=741512view=diff == --- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/extension/ExtensionAdapter.java (original) +++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/extension/ExtensionAdapter.java Fri Feb 6 10:27:22 2009 @@ -20,6 +20,7 @@ import org.apache.tools.ant.BuildException; import org.apache.tools.ant.types.DataType; import org.apache.tools.ant.types.Reference; +import org.apache.tools.ant.util.DeweyDecimal; /** * Simple class that represents an Extension and conforms to Ants Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/extension/Specification.java URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/extension/Specification.java?rev=741512r1=741511r2=741512view=diff == --- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/extension/Specification.java (original) +++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/extension/Specification.java Fri Feb 6 10:27:22 2009 @@ -25,6 +25,7 @@ import java.util.jar.Attributes; import java.util.jar.Manifest; +import org.apache.tools.ant.util.DeweyDecimal; import org.apache.tools.ant.util.StringUtils; /**
[jira] Commented: (IVY-1029) Unable to specify xsi:schemaLocation or xsi:noSchemaLocation with ivy.xsd
[ https://issues.apache.org/jira/browse/IVY-1029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12671084#action_12671084 ] Benjamin Francisoud commented on IVY-1029: -- If I don't specify the 'xmlns' attribute {code:xml}?xml version=1.0 encoding=UTF-8? ivy-module version=2.0 xmlns:xsi=http://http://www.w3.org/2001/XMLSchema-instance; xsi:noSchemaLocation=https://svn.apache.org/repos/asf/ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/parser/xml/ivy.xsd; ... {code} {noformat} $ ant ivy:retrieve [ivy:retrieve] :: Ivy 2.0.0 - 20090108225011 :: http://ant.apache.org/ivy/ :: :: loading settings :: file = E:\development\eclipse\workspaces\spot\Ivy-Xsd\ivy\ivysettings.xml [ivy:retrieve] [xml parsing: ivy.xml:4:128: cvc-complex-type.3.2.2: Attribute 'xsi:noSchemaLocation' is not allowed to appear in element 'ivy-module'. in file:/E:/development/eclipse/workspaces/spot/Ivy-Xsd/ivy.xml [ivy:retrieve] ] {noformat} *adding foobar tag* {code:xml} ?xml version=1.0 encoding=UTF-8? ivy-module version=2.0 xmlns:xsi=http://http://www.w3.org/2001/XMLSchema-instance; xsi:noSchemaLocation=https://svn.apache.org/repos/asf/ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/parser/xml/ivy.xsd; foobar/ ... {code} {noformat} $ ant ivy:retrieve ... [ivy:retrieve] [xml parsing: ivy.xml:4:128: cvc-complex-type.3.2.2: Attribute 'xsi:noSchemaLocation' is not allowed to appear in element 'ivy-module'. in file:/E:/development/eclipse/workspaces/spot/Ivy-Xsd/ivy.xml [ivy:retrieve] , xml parsing: ivy.xml:5:11: cvc-complex-type.2.4.a: Invalid content was found starting with element 'foobar'. One of '{info}' is expec ted. in file:/E:/development/eclipse/workspaces/spot/Ivy-Xsd/ivy.xml [ivy:retrieve] , unknown tag foobar in file:/E:/development/eclipse/workspaces/spot/Ivy-Xsd/ivy.xml [ivy:retrieve] ] {noformat} Unable to specify xsi:schemaLocation or xsi:noSchemaLocation with ivy.xsd - Key: IVY-1029 URL: https://issues.apache.org/jira/browse/IVY-1029 Project: Ivy Issue Type: Bug Affects Versions: 2.0 Reporter: Benjamin Francisoud Attachments: ivy-xsd-eclipse01.png, ivy-xsd-eclipse02.png I'm trying to get auto-completion of ivy.xml in eclipse but I just can make it work :( h2. ivy.xml with defaultNamespace {code:xml} ?xml version=1.0 encoding=UTF-8? ivy-module version=2.0 xmlns=http://ant.apache.org/ivy; xmlns:xsi=http://http://www.w3.org/2001/XMLSchema-instance; xsi:noSchemaLocation=http://ant.apache.org/ivy/schemas/ivy.xsd; info organisation=com.blogspot.francisoud.ivy module=ivyxsd / configurations defaultconfmapping=default conf name=default / conf name=source / conf name=javadoc / /configurations publications artifact name=ivyxsd type=jar conf=default ext=jar / artifact name=ivyxsd type=source conf=source ext=zip / artifact name=ivyxsd type=javadoc conf=javadoc ext=zip / /publications dependencies defaultconf=default dependency org=commons-logging name=commons-logging rev=1.1 transitive=false / dependency org=log4j name=log4j rev=1.2.15 transitive=false / dependency org=com.sun.jersey name=jersey-server rev=1.0-ea-SNAPSHOT / /dependencies /ivy-module {code} * Error message {noformat} [ivy:retrieve] :: Ivy 2.0.0 - 20090108225011 :: http://ant.apache.org/ivy/ :: :: loading settings :: file = E:\development\eclipse\workspaces\spot\Ivy-Xsd\ivy\ivysettings.xml [ivy:retrieve] [xml parsing: ivy.xml:5:67: cvc-elt.1: Cannot find the declaration of element 'ivy-module'. in file:/E:/development/eclipse/workspaces/ spot/Ivy-Xsd/ivy.xml [ivy:retrieve] ] {noformat} h2. ivy.xml with targetNamespace {code:xml} ?xml version=1.0 encoding=UTF-8? ivy:ivy-module version=2.0 xmlns:ivy=http://ant.apache.org/ivy; xmlns:xsi=http://http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://ant.apache.org/ivy http://ant.apache.org/ivy/schemas/ivy.xsd; ivy:info organisation=com.blogspot.francisoud.ivy module=ivyxsd / ivy:configurations defaultconfmapping=default ivy:conf name=default / ivy:conf name=source / ivy:conf name=javadoc / /ivy:configurations ivy:publications ivy:artifact name=ivyxsd type=jar conf=default ext=jar / ivy:artifact name=ivyxsd type=source conf=source ext=zip / ivy:artifact name=ivyxsd type=javadoc conf=javadoc ext=zip / /ivy:publications ivy:dependencies defaultconf=default ivy:dependency
svn commit: r741506 - /ant/core/trunk/src/main/org/apache/tools/ant/util/DateUtils.java
Author: jkf Date: Fri Feb 6 10:21:24 2009 New Revision: 741506 URL: http://svn.apache.org/viewvc?rev=741506view=rev Log: Deprecated the public DateFormat Modified: ant/core/trunk/src/main/org/apache/tools/ant/util/DateUtils.java Modified: ant/core/trunk/src/main/org/apache/tools/ant/util/DateUtils.java URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/util/DateUtils.java?rev=741506r1=741505r2=741506view=diff == --- ant/core/trunk/src/main/org/apache/tools/ant/util/DateUtils.java (original) +++ ant/core/trunk/src/main/org/apache/tools/ant/util/DateUtils.java Fri Feb 6 10:21:24 2009 @@ -62,11 +62,17 @@ /** * Format used for SMTP (and probably other) Date headers. + * @deprecated DateFormat is not thread safe, and we cannot guarantee that + * some other code is using the format in parallel. + * Deprecated since ant 1.8 */ public static final DateFormat DATE_HEADER_FORMAT = new SimpleDateFormat(EEE, dd MMM HH:mm:ss , Locale.US); - +private static final DateFormat DATE_HEADER_FORMAT_INT += new SimpleDateFormat(EEE, dd MMM HH:mm:ss , Locale.US); + + // code from Magesh moved from DefaultLogger and slightly modified private static final MessageFormat MINUTE_SECONDS = new MessageFormat({0}{1}); @@ -221,8 +227,8 @@ tzMarker.append(0); } tzMarker.append(minutes); -synchronized (DATE_HEADER_FORMAT) { -return DATE_HEADER_FORMAT.format(cal.getTime()) + tzMarker.toString(); +synchronized (DATE_HEADER_FORMAT_INT) { +return DATE_HEADER_FORMAT_INT.format(cal.getTime()) + tzMarker.toString(); } }
svn commit: r741630 - /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Redirector.java
Author: bodewig Date: Fri Feb 6 16:46:28 2009 New Revision: 741630 URL: http://svn.apache.org/viewvc?rev=741630view=rev Log: jdk1.4 Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Redirector.java Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Redirector.java URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Redirector.java?rev=741630r1=741629r2=741630view=diff == --- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Redirector.java (original) +++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Redirector.java Fri Feb 6 16:46:28 2009 @@ -232,7 +232,7 @@ if (input == null) { this.input = null; } else { -this.input = input.clone(); +this.input = (File[]) input.clone(); } } } @@ -297,7 +297,7 @@ if (out == null) { this.out = null; } else { -this.out = out.clone(); +this.out = (File[]) out.clone(); } } } @@ -397,7 +397,7 @@ if (error == null) { this.error = null; } else { -this.error = error.clone(); +this.error = (File[]) error.clone(); } } }
[jira] Commented: (IVY-1029) Unable to specify xsi:schemaLocation or xsi:noSchemaLocation with ivy.xsd
[ https://issues.apache.org/jira/browse/IVY-1029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12671358#action_12671358 ] Maarten Coene commented on IVY-1029: It also works for me in Eclipse, you don't even has to use the trunk version of ivy.xsd or do something special with the XML catalog! {code:xml} ivy-module version=2.0 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:noNamespaceSchemaLocation=http://ant.apache.org/ivy/schemas/ivy.xsd; ... /ivy-module {code} With this, I have both validation and auto-completion! The reason why it didn't work for me yesterday was because I had an error in the xsi namespace-uri and a spelling-error in the noNamespaceSchemaLocation attribute. Can you confirm it works for you so we can close this issue? Unable to specify xsi:schemaLocation or xsi:noSchemaLocation with ivy.xsd - Key: IVY-1029 URL: https://issues.apache.org/jira/browse/IVY-1029 Project: Ivy Issue Type: Bug Affects Versions: 2.0 Reporter: Benjamin Francisoud Attachments: ivy-xsd-eclipse01.png, ivy-xsd-eclipse02.png I'm trying to get auto-completion of ivy.xml in eclipse but I just can make it work :( h2. ivy.xml with defaultNamespace {code:xml} ?xml version=1.0 encoding=UTF-8? ivy-module version=2.0 xmlns=http://ant.apache.org/ivy; xmlns:xsi=http://http://www.w3.org/2001/XMLSchema-instance; xsi:noSchemaLocation=http://ant.apache.org/ivy/schemas/ivy.xsd; info organisation=com.blogspot.francisoud.ivy module=ivyxsd / configurations defaultconfmapping=default conf name=default / conf name=source / conf name=javadoc / /configurations publications artifact name=ivyxsd type=jar conf=default ext=jar / artifact name=ivyxsd type=source conf=source ext=zip / artifact name=ivyxsd type=javadoc conf=javadoc ext=zip / /publications dependencies defaultconf=default dependency org=commons-logging name=commons-logging rev=1.1 transitive=false / dependency org=log4j name=log4j rev=1.2.15 transitive=false / dependency org=com.sun.jersey name=jersey-server rev=1.0-ea-SNAPSHOT / /dependencies /ivy-module {code} * Error message {noformat} [ivy:retrieve] :: Ivy 2.0.0 - 20090108225011 :: http://ant.apache.org/ivy/ :: :: loading settings :: file = E:\development\eclipse\workspaces\spot\Ivy-Xsd\ivy\ivysettings.xml [ivy:retrieve] [xml parsing: ivy.xml:5:67: cvc-elt.1: Cannot find the declaration of element 'ivy-module'. in file:/E:/development/eclipse/workspaces/ spot/Ivy-Xsd/ivy.xml [ivy:retrieve] ] {noformat} h2. ivy.xml with targetNamespace {code:xml} ?xml version=1.0 encoding=UTF-8? ivy:ivy-module version=2.0 xmlns:ivy=http://ant.apache.org/ivy; xmlns:xsi=http://http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://ant.apache.org/ivy http://ant.apache.org/ivy/schemas/ivy.xsd; ivy:info organisation=com.blogspot.francisoud.ivy module=ivyxsd / ivy:configurations defaultconfmapping=default ivy:conf name=default / ivy:conf name=source / ivy:conf name=javadoc / /ivy:configurations ivy:publications ivy:artifact name=ivyxsd type=jar conf=default ext=jar / ivy:artifact name=ivyxsd type=source conf=source ext=zip / ivy:artifact name=ivyxsd type=javadoc conf=javadoc ext=zip / /ivy:publications ivy:dependencies defaultconf=default ivy:dependency org=commons-logging name=commons-logging rev=1.1 transitive=false / ivy:dependency org=log4j name=log4j rev=1.2.15 transitive=false / ivy:dependency org=com.sun.jersey name=jersey-server rev=1.0-ea-SNAPSHOT / /ivy:dependencies /ivy:ivy-module {code} * Error message: {noformat} [ivy:retrieve] [xml parsing: ivy.xml:5:92: cvc-elt.1: Cannot find the declaration of element 'ivy:ivy-module'. in file:/E:/development/eclipse/workspa ces/spot/Ivy-Xsd/ivy.xml [ivy:retrieve] , unknown tag ivy:ivy-module in file:/E:/development/eclipse/workspaces/spot/Ivy-Xsd/ivy.xml [ivy:retrieve] ] {noformat} Same error message in eclipse, what am I missing ? Fix? Just add {noformat}targetNamespace=http://ant.apache.org/ivy{noformat} attribute on root node in ivy.xsd ? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.