From: Steve L. <st...@us...> - 2005-05-24 21:00:33
|
Update of /cvsroot/smartfrog/core/components/xml In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18561/components/xml Modified Files: build.xml Added Files: project-template-broken.pom Log Message: I dont understand why Xom isnt parsing XSD. I will just turn validation of, perhaps. Index: build.xml =================================================================== RCS file: /cvsroot/smartfrog/core/components/xml/build.xml,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** build.xml 24 May 2005 08:41:23 -0000 1.7 --- build.xml 24 May 2005 21:00:25 -0000 1.8 *************** *** 50,66 **** - - <target name="declare-versions" depends="init"> - <property file="libraries.properties"/> - <property file="${smartfrog.components.dir}/libraries.properties"/> - </target> - <!-- import libs. may need proxy setup --> <!-- note that this is a very unstable corner of Ant; needs CVS_HEAD releases and will definitely change before long --> ! <target name="m2" depends="init,setproxy,declare-versions" > ! <artifact:dependencies pathID="libraries.path"> ! <!-- <localRepository location="${basedir}/target/local-repo" /> --> <dependency groupID="xerces" artifactID="xercesImpl" --- 50,59 ---- <!-- import libs. may need proxy setup --> <!-- note that this is a very unstable corner of Ant; needs CVS_HEAD releases and will definitely change before long --> ! <target name="m2" depends="m2-tasks" > ! <m2-libraries pathID="libraries.path"> <dependency groupID="xerces" artifactID="xercesImpl" *************** *** 72,104 **** artifactID="xom" version="${xom.version}"/> ! <!-- <dependency groupID="jaxen" ! artifactID="jaxen" ! version="${jaxen.version}"/> --> ! </artifact:dependencies> ! </target> - <!-- ========================================================== --> - <!-- set everything up to download stuff to the maven repo --> - <!-- ========================================================== --> - <target name="libraries" depends="setproxy,declare-versions"> - <libraries destdir="${lib.dir}" flatten="true"> - <mavenrepository url="${maven.url}"/> - <library project="xerces" - archive="xercesImpl" - version="${xerces.version}"/> - <library project="xerces" - archive="xmlParserAPIs" - version="${xerces.version}"/> - <library project="xom" - version="${xom.version}"/> - <library project="jaxen" - version="${jaxen.version}"/> - <!-- <library project="junit" - version="${junit.version}"/> --> - </libraries> - </target> - - <!-- ========================================================== --> --- 65,74 ---- artifactID="xom" version="${xom.version}"/> ! <dependency groupID="nux" ! artifactID="nux" ! version="${nux.version}"/> ! </m2-libraries> </target> <!-- ========================================================== --> *************** *** 110,114 **** <path refid="base.compile.classpath"/> <path refid="libraries.path"/> ! <fileset file="lib/nux-${nux.version}.jar" /> </path> <property name="compile.classpath.value" refid="exec.classpath"/> --- 80,84 ---- <path refid="base.compile.classpath"/> <path refid="libraries.path"/> ! <!-- <fileset file="lib/nux-${nux.version}.jar" /> --> </path> <property name="compile.classpath.value" refid="exec.classpath"/> --- NEW FILE: project-template-broken.pom --- <project> <modelVersion>4.0.0</modelVersion> <groupId>org.smartfrog</groupId> <artifactId>sf-xml</artifactId> <packaging>jar</packaging> <version>${Version}</version> <dependencies> <dependency groupID="xerces" artifactID="xercesImpl" version="${xerces.version}"/> <dependency groupID="xerces" artifactID="xmlParserAPIs" version="${xerces.version}"/> <dependency groupID="xom" artifactID="xom" version="${xom.version}"/> <dependency groupID="nux" artifactID="nux" version="${nux.version}"/> </dependencies> </project> |