ant

Downloading LWJGL natives with Ivy

不羁的心 提交于 2019-12-24 01:37:09
问题 I'm trying to set up an Ant + Ivy build for a personal project. Everything was making sense, and working nicely, until I got to LWJGL. Everything from LWJGL is resolved, except the natives. The Readme.md on their website makes it seem that it is possible to get these through Ivy: LWJGL 3 can be used with Maven/Gradle/Ivy, with the following dependencies: org.lwjgl:lwjgl:${version} org.lwjgl:lwjgl-platform:${version}:natives-windows org.lwjgl:lwjgl-platform:${version}:natives-linux org.lwjgl

IvyIdea plugin - does not resolve dependencies

老子叫甜甜 提交于 2019-12-24 00:57:47
问题 I am using IntelliJ, added IvyIdea plugin and now trying to resolve dependencies for a project (Ant build) using IvyIdea but getting error about "UNRESOLVED DEPENDENCIES". I have downloaded and configured Ivy and Ant. I can resolve and build the project using Ant command line but not via IDE. I can see the ~.ivy2\cache folder has got all the dependencies resolved which it is complaining about. I have configured "Facets" for all modules to map to the correct Ivy settings and build properties

How to make Ant build for my BBM application with native BB jar

半世苍凉 提交于 2019-12-24 00:48:38
问题 I am trying to use BBM in my application,I want to make the ant build for it Bascially there is an implementationBBM a library project,and it in it i am adding the JAR file,and i want to make the ant build for this library application from my main CLDC application ant build file, <?xml version="1.0" encoding="UTF-8"?> <project name="Building project" default="build" basedir="."> <property name="jde.home" value="D:\Eclipse3.6\plugins\net.rim.ejde.componentpack5.0.0_5.0.0.25\components" />

Add JAR to Visual Studio 2015 Android Ant Java project

梦想的初衷 提交于 2019-12-24 00:35:50
问题 I used the Visual C++/Cross Platform/Android/Basic Application (Android, Ant) template to create a project in Visual Studio 2015. I want to add a .jar file to the project and for the life of me cannot find any documentation on how to do this. I copied the .jar to the android /libs folder, but it is not finding it on build. 回答1: I ran into this same issue when attempting to add fmod to an android project in Visual Studio 2015. What ended up working for me was creating a "libs" folder in the

Surefire report generating duplicate result in the report

本小妞迷上赌 提交于 2019-12-24 00:27:57
问题 I am following the SO link of MAVEN with ANT Task for SOAPUI automation run with jenkins. It works fine and executes. But Surefire html report generating same testSuite, testCases twice. ANT JUnit Report generates right report Below is my pom.xml file - <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion>

Ant can't find my JAR file? Trying to do an sshexec task

回眸只為那壹抹淺笑 提交于 2019-12-23 23:31:54
问题 I'm trying to use the sshexec task for ANT on my OSX box, when I try to run it I get the error listed below. I've downloaded the jsch jar file from: http://www.jcraft.com/jsch/index.html version jsch-0.1.43.jar I placed that file into /usr/share/ant/lib and still the error occurs. any ideas? thanks <target name="testme" depends=""> <sshexec host="myhost1" username="${username}" command="ls -la" keyfile="${user.home}/.ssh/id_rsa" /> </target> I get the following error: BUILD FAILED /Users/jim

How do I build ant's build.xml using NetBeans?

自作多情 提交于 2019-12-23 23:11:57
问题 I've downloaded sources of one application using Subversion repository, but it turned out, that those sources were not composed to a NetBeans project. It was said in the manual, that I can build it using Apache Ant. I know, that NetBeans supports Ant by default. So here is the question - how can I tell NetBeans to run it's Ant on a specified build.xml ? 回答1: File -> New Project Then in Categories pick Java and then in Projects select Java Free-Form Project and hit Next . After that you will

How to properly quote a path in an ant task?

馋奶兔 提交于 2019-12-23 21:40:45
问题 I want to call the <proguard> task in Ant and need to pass it the paths to various JAR files, e.g. the equivalent of: <proguard> -injars /some/path/jar1;/some other path/jar2 </proguard> Problem is, some of these path may contain spaces or special characters, they have to be quoted like this as explained in the proguard manual: <proguard> -injars /some/path/jar1;"/some other path/jar2" </proguard> It doesn't work to quote the whole argument, the individual paths need to be quoted separately.

In ant, how to apply a target on a list of files (without ant-contrib)?

*爱你&永不变心* 提交于 2019-12-23 21:24:28
问题 Basically, I would like to mimic apply task but instead of passing to it an executable , I would like to pass an ant task and come up with something like: <project> <target name="my-task"> <!--target definition--> <target/> <target name="my-task-on-files"> <apply task="my-task"> <srcfile/> <targetfile/> <fileset dir="." includes="*.xml"/> </apply> </target> </project> The problem is that apply has to task attribute but only executable . I need a solution that doesn't require ant-contrib . 回答1

Checking an environment variable using the Maven AntRun plugin

若如初见. 提交于 2019-12-23 20:28:50
问题 I'm trying to check and see if the MULE_HOME environment variable is set within the maven-antrun-plugin without success. Here's what I have so far: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <version>1.7</version> <executions> <execution> <id>mule-deploy</id> <phase>install</phase> <goals> <goal>run</goal> </goals> <configuration> <target> <taskdef resource="net/sf/antcontrib/antcontrib.properties" classpath="${settings.localRepository}