How can I make netbeans to only display the browser on run if a certain file is missing. I want to keep it from re-launching the browser every time I hit run. I can ensure that the file is only created after the first run.
...
I am attempting to install software onto my Debian Lenny server. Specifically, Capture-HPC. I have setup VMWare server, along with all the prerequisites. When I go to run ant in the directory, i get the following error:
[taskdef] Could not load definitions from resource net/sf/antcontrib/antcontrib.properties. It could not be found.
A...
Exporting a project as a runnable jar takes approx 30sec to build, the (auto created) Ant script that does the same takes about 10 minutes to build.
What am I missing?
...
That is, will calling the following target when testSetupDone evaluates to false, execute the targets in dependency chain?
<target name="-runTestsIfTestSetupDone" if="testSetupDone" depends="-runTests" />
...
Hello experts,
I have an ant file I use to compile my scala project. I'm using fsc which works wonders to avoid the 2~3 seconds my core 2 needs to just load the compiler.
My problem is: the ant fsc task does incur the same 2~3 seconds penalty, to the best of my knowledge. It is pretty annoying, because there is fsc specifically for this...
How to convert a Ant project to Maven project? A sample project that would link (a Wicket project)
Thanks
...
I hava the next task in my ant file:
<target name="initdb">
<sql driver="com.mysql.jdbc.Driver"
url="jdbc:mysql://localhost:3306/dtest"
userid="root" password="oksaoksaoksa" >
<classpath>
<pathelement path="./lib/mysql-connector-java-5.1.13-bin.jar"/>
</classpath>
<transaction src="./init.sql"/...
I can compile the main application but am having an issue with compiling a nested module.
I have the following application structure:
src
MyApp.mxml
view
MyView.mxml
module
MyModule.mxml
view
AnotherView.mxml
When using the following command
<mxmlc file="${SRC_DIR}/${MODULE_DIR}/MyModule.mxml"
debug="false"
output="${...
I'm running JUnit via Ant using a target something like this:
<target name="junit" depends="compile">
<mkdir dir="${report.dir}"/>
<junit printsummary="yes" haltonfailure="yes" showoutput="yes" >
<classpath>
<path refid="classpath"/>
<path location="${classes.dir}"/>
</classpath>
<...
When trying to build with Ant, I'm getting an error that Ant can't find a compiler, and that JAVA_HOME is set to /usr/lib/jvm/java-6-open-jdk/jre. An echo check reveals that JAVA_HOME is set to /usr/local/lib/jdk1.6.0_22 (where Ant OUGHT to think it is, btw). So the environment variables are generally right, but Ant apparently has its ...
hello,
is it possible to change the JRE (from 64bit to 32bit) that is used to run ant from inside eclipse?
if yes, how?
thanks!
...
I have a servlet that performs an ANT build, I've attached a org.apache.tools.ant.listener.Log4jListener as you can see below and at the end of the build the org.apache.tools.ant.listener.Log4jListener is not released, the only way I've found around this is to restart Tomcat. If I don't restart Tomcat the next time I try to run the buil...
Hi,
My Flex application is built using ant. The html wrapper task is as follows:
<target name="wrapper">
<html-wrapper
title="{$title}"
file="login.htm"
height="300"
width="400"
application="app"
swf="Main.swf"
version-major="9"
version-minor="0"
version-revis...
Hi,
I'm googling without success to figure out how to make ANT print System.out.println/System.out.print messages in the console. Messages simply don't appear. I haven't found any simple way of doing this. Is there any?
Thanks
...
MobiStudio is an Eclipse plugin to develop mobile phone applications.
The projects are written in mscript, and then need to be compiled into phone specific packages.
Has anyone already tackled this?
Thanks,
Mike
...
I know this question has been asked many times, but here are my specific needs. The obfuscator needs to come in a form of a java library, so I can make an Ant task in order to automate the build process. IE7, 8, Firefox and Chrome must be able to interpret the resulting js very fast (original js file is pretty big - 18k lines of code). I...
I have an project in NetBeans. I made some preparations to make database migration easier, and I put all things related to migration in one folder in root of my project.
Now I want to make this whole directory included in the distribution jar or war.
I deducted that i have to modify the ="-pre-dist" target, but I not very familiar with...
Hello.
Starting from a series of xml files and a stylesheet I generate a HTML file using docbook-xsl-ns-1.73, libxslt-1.1.22.win32 and fop-0.94. the stylesheet says that code chunks must have numbered lines and a gray background.
here is the piece of the and task that converts xmls to html:
<exec executable="${XSLTPROC_EXECUTABLE}">
...
Hi
I am getting the following build error-
BUILD FAILED
C:\eclipse\workspace\ContinuousTesting\build.xml:55:
C:\eclipse\workspace\ContinuousTesting\${lib.dir}
Here is the build.properties file:
src.dir=./src
build.dir=./bin
lib.dir=./lib
This is the whole task
<target name="compile" depends="properties, create.build.dir, xm...
While I'm trying to run TestNG from ant as a 'testng' task, i'm getting strange behaviour. TestNG does not create class instance in @BeforeSuite method and in child classes in @Test method i'm getting NullPointerException. E.g.
public class TestBase {
Page mainPage;
@BeforeSuite
public void login() {
...
ma...