ivy

Grails - attempting to include HTPPBuilder - Linkage error

末鹿安然 提交于 2019-12-11 23:25:42
问题 When I run grails install-dependency , I get this. java.lang.LinkageError: loader constraint violation: loader (instance of <bootloader>) previously initiated loading for a different type with name "org/xml/sax/SAXParseException" What's wrong? I've not used grails dependency management before, and this is rather cryptic. repositories { grailsPlugins() grailsHome() mavenLocal() mavenCentral() } dependencies { runtime 'org.codehaus.groovy.modules.http-builder:http-builder:0.5.0' } 回答1: Looks

Harsh Jarring with ivy

别说谁变了你拦得住时间么 提交于 2019-12-11 16:11:43
问题 Does someone happens to know if there is a way to retrieve the contents of jar libs into one single jar - so that it would be jar 1 : org smth new.class jar 2 : org smth also.class jar 3 : org another otheralso.class that single jar: org another one.class smth two class result jar : org another one.class otheralso.class smth two class also.class new.class with ivy and ant ) i have a cachepath or cachefileset ) 回答1: Need to combine ivy with the groovy plug-in. build.xml <target name="resolve">

How do I de-reference a collection of Gradle publications?

扶醉桌前 提交于 2019-12-11 15:27:26
问题 SOLVED - see the end of this post. When publishing Ivy publications individually, how can I then reference the collection in my subprojects section? I'm working with tasks that build rpms inside a nested iteration - they look a bit like this: def addWebServerTasks(aProject, hostId) { aProject.with { task "buildRpm_${hostId}"(type: Rpm, dependsOn: "templates_${hostId}") { ... } publishing.publications.create("${project.name}-${hostId}", IvyPublication) { artifact tasks."buildRpm_${hostId}"

Apache Ivy and configurations

百般思念 提交于 2019-12-11 15:07:27
问题 I'm using Ivy to manage my dependencies, with some problems on provided jars This is my ivy.xml file <configurations> <conf name="local" visibility="private" /> <conf name="compile" description="used for building" /> <conf name="test" extends="compile" description="used for testing" /> <conf name="runtime" description="used for running" /> <conf name="master" description="used for publishing" /> <conf name="default" extends="master, runtime" /> </configurations> <dependencies> <dependency org

Error when trying to use optional token in artifacts pattern

南楼画角 提交于 2019-12-11 15:05:34
问题 Up until now, I was only generating a dist/imasUtils.jar file in the build (using Ant), and publiching it with the following Ant code: <ivy:resolve/> <ivy:publish resolver="imas-ssh" overwrite="true" publishivy="true"> <artifacts pattern="dist/[artifact].[ext]"/> </ivy:publish> So far, this worked, but now I want to publish also the source, so I am also generating dist/imasUtils_src.zip . According to my understanding of the ivy manual, I could do this: <ivy:resolve/> <ivy:publish resolver=

Guice multibindings package missing in imports

筅森魡賤 提交于 2019-12-11 13:34:08
问题 I have acquired the google.inject package via ivy in my IDE, however, I dont see the pacakage com.google.inject.multibindings.Multibinder Which is referenced here http://google-guice.googlecode.com/svn/trunk/latest-javadoc/com/google/inject/multibindings/Multibinder.html I'm wondering --- maybe there are multiple guice repost which I should pull from ? I do, however, see the following packages : com.google.inject -> binder/internal/matcher/util My ivy definition : <dependency org="com.google

How IvyDE can coexist with command-line Ant and Ivy?

徘徊边缘 提交于 2019-12-11 13:17:39
问题 I have problems running Ivy->Resolve from Eclipse IDE with IvyDE installed. Meanwhile, ant target <target name="retrieve" unless="library.installed" description="Retrieves the libraries if needed"> <!-- Ivy configuration - http://ant.apache.org/ivy/history/trunk/ant.html --> <ivy:settings file="ivysettings.xml"/> <condition property="ivy.conf.name" value="java6"> <not> <isset property="ivy.conf.name"/> </not> </condition> <echo message="Ivy conf name: ${ivy.conf.name}"/> <ivy:resolve file=

Dynamically updating Ivy extra attributes

旧巷老猫 提交于 2019-12-11 12:12:24
问题 I plan on using extra attributes in the ivy.xml files in an attempt to be able to get access to the revision number parts, which I need to do so that I can then use those values for the resolver pattern in the ivysettings.xml file: <ivy-module version="2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:e="http://ant.apache.org/ivy/extra" xsi:noNamespaceSchemaLocation="http://ant.apache.org/ivy/schemas/ivy.xsd"> <info organisation="MyCompany" module="MyModule" revision="1.2.3.4"

Migrating from ant + ivy to gradle

孤人 提交于 2019-12-11 11:54:10
问题 I read many good things about gradle so I get impressed. Many people are enthusiastic how easy is to develop with gradle. They all emphasize the multi-project capabilies of gradle. I already have a main project with some subprojects. The outside dependencies are defined in all the project's own ivy.xml. And the module interdependencies are defined in both eclipse's .classpath file and ant build.xml parallelly. This way i can build for IDE and can create a runtime with ant. Is there a simple

mapping multiple ivy files in Eclipse

£可爱£侵袭症+ 提交于 2019-12-11 11:36:05
问题 I'm currently changing my eclipse build paths with Ivy. I also modified my ANT build successfully by having 2 Ivy files loaded that retrieve my dependencies: In my portlet build file, I specifically call the common dependencies for all of the portlets which prevents me from specifying the same librairies in every Portlet project: <if> <available file="${rpm.homedir}/Builder/ivy_portlet.xml" /> <then> <echo message="Getting runtime portlet dependencies using Ivy project's configuration" />