Hi,
I've programmed an application that take about 300 kilobytes.
The jar files that it uses (library) take about 10 megz.
These library jar files are used in other applications I wrote and so I would like to have them located in an external central location (Meaning - A path on some hard drive in the same computer).
Hopefully, the pat...
We do our build-management with Ant, we have to build scripts, one to create a dispatchment for our customer, with hash informations, the sourcecode, installation-guide etc., the other build-file lies in the created artefact, and is the build for the customer which creates the war file from the sourcecode.
for the build-file which creat...
just a wild idea. wonder is it possible to compile maven build on amazon clustering machines to speed up build processes? any reference or guide on this?
reference
...
having problems trying to run by unit test with Ant, my test class uses Jmock;
@RunWith(JMock.class)
and annotations to identify each test method. When i attempt to build with ant (1.7.1) i get a
[junit] No tests found in MyTestClass
[junit] junit.framework.AssertionFailedError: No tests found
Any suggestions?
...
I have several projects, most of them has "test" target, which run tests and store results in property 'test.faulire'.
All projects located in same directory:
big_project / someproject1
big_project / someproject1 / build.xml
big_project / someproject2
big_project / someproject2 / build.xml
So, in root of 'big_project' i want to crea...
Hi,
When I run my build file, it always shows the target name.
For example, in my build file if I have targets A,B,C.
Then on when I type the command "ant A", it shows
A:
How do I avoid displaying the A?
You help is very much appreciated.
Thanks in advance.
Bakhtiyar Uddin
...
Hey guys, I have a j2ee app which I am building with Netbeans. My task is to modify the build.xml so that after the app builds, ANT deploys the app to a server, runs Junit tasks on the app, and then un-deploys the app. So far I have the deploy and un-deploy working but I'm running into some trouble running the junit tasks.
I have a c...
Hi all,
i'm using Netbean RCP to develop my desktop application.
my goal is to use the "cruise control" for overnight builds.
i just can't find any information of how to build all Java sources to compounded jar (consisting of all netbeans modules).
i want also to be able to define that if ,for instance,case the org.openide jar is missin...
I’m having problems packaging an air application with ant.
Adobe references taken from:
http://help.adobe.com/en_US/FlashPlatform/develop/air/building_apps/WS5b3ccc516d4fbf351e63e3d118666ade46-7f66.html
I run ant using java classes inherited from org.apache.tools.ant.Task. This builds up the argument list for the adt tool e.g.
Java ...
I have an ant build that is currently being converted to maven. However, the ant build has 2 build targets - one that builds the entire app, and one that builds a jar from some of those files (only a few). In ant, it's easy to have multiple build targets to handle this, but I'm trying to determine the best way to handle this in maven.
I...
I'm trying to store a relative path to a file in my ant build.xml like this:
<property name="foo" location="somedir/myfile" relative="true"/>
According to the Ant manual for Property this is ok syntax, but when running it Ant says:
property doesn't support the
"relative" attribute
I'm using Apache Ant version 1.7.1 compiled o...
I have a feature and plugin called foo, and both are win32 platform specific; however, when I call the following in my ANT script on a linux, gtk, x86 system, the feature is built, but the plugin isn't (correct).
<eclipse.buildScript elements="feature@foo" configInfo="${os},${ws},${arch}" buildDirectory="${edge.build.eclipse.loc}" baseL...
While i'm developing in C/C++ and Java, i simply make a compile.bat script that does everything, that's fine for me. Why should i use make and why should i use ant?
...
Greetings all,
I need to write an Ant target that appends together (comma-delimited) a list of '.jar' file names from a folder into a variable, which is later used as input to an outside utility. I am running into barriers of scope and immutability. I have access to ant-contrib, but unfortunately the version I am stuck with does not hav...
I use Hibernate to generate my database automatically for testing, and I have some tables in my schema that contain static data that takes a very long time to import. In the past, I've used the following code in my build file to generate the database (from mapping files):
<target name="schema-gen" depends="hibernate-gen">
<taskdef n...
I'm using ant 1.6.2 and am trying to set up a task that will compare a source and a target directory, identify all the subdirectories that exist in the source directory and delete liked named subdirectories in the target directory.
So, say the source directory has sub directories sub1, sub2, and sub3 in it and the target directory has s...
Is there any way to speed up MXMLC compiles using Flextasks in Ant in Eclipse. Compared to FDT and Flex Builder's in-built compilation, it is painfully slow.
...
I have some files :
dir/foo.txt
dir/bar.txt
dir/foobar.txt
During a apply task, I want to pass the list of file as arguments:
<target name="atask">
<apply executable="${cmd}" parallel="false" verbose="true">
<arg value="-in"/>
<srcfile/>
<arg value="dir/foo.txt"/>
<arg value="dir/bar.txt"/>
...
Hi everybody.
I'm trying to build apache-solr webapp (not the whole project) using maven . Also want to reuse the build.xml ant file.
The directory structure is:
+build
+client
+contrib
.....
+src
+webapp/src --webapp code
+dist --generated artifacts by the ant script
--must be copied to the webapp WEB-INF/lib
--some of th...
Hi, I expected ant to figure out when not to recompile the files which are up to date - unfortunately it keeps happening. My build target contains only:
<javac srcdir="configuration" destdir="${build_env}">
<compilerarg value="-Xlint"/>
</javac>
In verbose ant output I get:
conf:
[javac] MissingConfigurationException.java added as ...