Hi Jane,
If you run Ant from the command line do you still get the error?
If you're not getting as far as running Ant, or even generating the
build.xml, then it seems to me you have an Eclipse issue rather than an Ant
problem, and would be better off asking on an Eiclipse list or forum...
Regards
Hi Mark,
On 29/05/12 23:37, Mark Giffin wrote:
I'm making a single PDF out of a group of XML documentation files.
It's an API reference document and the items will be alphabetized so
input order doesn't matter.
I want to use a fileset of XML files as input to an XSLT script,
something like t
Hi John,
How exactly are you doing the transformation? Does it compile the xslt to a
java "translet" (possibly in a tmp directory) that actually does the
transformation, and if so is that being updated when the xslt file is? Is
the transformation being done from the copy or the original file, and
t script, the way it's
chiefly designed to be run ;-)
Just my opinion, anyway.
Andy.
On 23 Mar 2012 10:44, "Dominique Devienne" wrote:
>
> On Fri, Mar 23, 2012 at 9:29 AM, Andy Stevens
> wrote:
> > Why not just create your own mybuild.xml and run that with ant -f
Why not just create your own mybuild.xml and run that with ant -f ?
No need to alter the original build.xml, but you could always import it to
take advantage of any initialise targets etc.
Andy.
On 23 Mar 2012 02:50, "Mike Van" wrote:
> How would you execute a third-party-task from the command-l
With best regards,
>
> Ashish Soni
>
>
>
> Siemens Information Systems Ltd.
>
> Corporate Technology
>
> Corporate Development Center India
>
> Healthcare 1
>
> PACS
>
>
>
> No 84, Keonics Electronics City,**
You need to supply a catalog entry to map the system uri to a local copy.
Can't remember the details offhand, but I'm pretty sure the task's
configuration allows for this. Or it might be a separate xml catalog task.
Check the docs.
Andy
On 6 Feb 2012 05:41, "Soni, Ashish IN BLR SISL"
wrote:
> He
On 6 Jan 2012 21:12, wrote:
> Say I have a string in a file like this:
>
>require(["a","foo/b","foo/c"], function(){...})
>
> What I want to do is replace all the "foo" with "bar" so the final product
> looks like this:
>
>require(["a","bar/b","bar/c"], function(){...})
>
> With re
Hmm... wonder if netbeans has switched to those for the build scripts it
uses in project definitions? Sounds like they'd be just the thing to
replace various -pre & -post "hook" targets that were in them last time I
looked...
Andy.
On 18 Dec 2011 12:17, "Nicolas Lalevée" wrote:
>
> Le 16 déc. 20
You didn't mention what version of Ant was involved...
Andy.
On 20 Dec 2011 05:31, "Frank Astier" wrote:
> Hi -
>
> I’m trying to use the Apache Tar package (1.8.2) for a Java program that
> tars large files in Hadoop. I am currently failing on a file that’s 17 GB
> long. Note that this code wor
At a guess, the unexpected "Files" is part of "C:\Program Files" and
there's a batch file somewhere that needs quotes adding around some
command? But don't bet any money on that as I've never even seen Windows 7,
much less run Ant on it...
Andy
On 2 Dec 2011 16:32, "Scott Stark" wrote:
> Hi, I'
On 4 August 2011 09:20, Miras Bastien wrote:
> I'm trying to use the rowcountproperty parameter in the sql task.
>
> My ant code looks like:
> driver="oracle.jdbc.driver.OracleDriver"
> url=" jdbc:oracle:thin:@localhost:11522:TINSTA"
>
Hi Steve,
Given that @category (as described at the URL you gave) is a javadoc
tag, and Ant scripts are XML files and don't contain javadocs, I doubt
it...
I dare say some similar functionality could maybe be added to
eclipse's Outline support for XML files, perhaps using a specific
format of com
Run the file through a javascript compressor and include the
compressed versions in the war instead of the originals?
For example, the YUI Compressor
(http://developer.yahoo.com/yui/compressor/) can be run with a
task, or there's an Ant task wrapper for it at
http://code.google.com/p/javaflight-co
Hi,
Does anyone know of an easy way (using standard or custom Ant task(s),
or
2009/11/18 Sim Soon Huat :
> Hi,
>
> I've a server which is mounting a nfs share. When I do a copy on a file
> larger than 2GB, the following error comes up. It works perfectly for
> smaller files.
What file system is used on the partition containing the server's
exported directory? It may be the
Varman wrote:
Hi,
Great thanks..that works.
But its not working in windows. For windows we have to give something like
See the change in regexp. How can i make it generic for both linux and
windows?
regexp=".*[\\/]([^\\/]*)\.zip"
perhaps? Won't work on linux if you actually have a ba
2009/9/22 Arne v.Irmer :
> Hi,
> with the command line program "zip" I can create a zip-File with annotated
> folders inside. I try to generate such a zip-File with the
> org.apache.tools.zip classes coming with ant.jar.
>
> Here is my small example program:
>
> package org.example.zip;
>
> impor
2009/9/24 Varman :
> Hi all,
>
> I too have same requirements in which i want extract zip files to different
> folders without using custom codes. This is the code am using. this extracts
> all zip files to "destination_dir" and so files with same name gets
> overwitten (i want to avoid this). For
2009/9/9 :
> The enhancement of seems to be good candidate.
...
>
> --> ../my/file.txt
../file.txt, surely? my/dir + .. -> my, my/dir + ../my -> my/my,
my/dir + ../my/file.txt -> my/my/file.txt
You might also like to add a test case for
--> ../dir1/file.txt
which I don't think is covered b
2009/9/8 Francis GALIEGUE :
> On Tue, Sep 8, 2009 at 21:03, Andy
> Stevens wrote:
>> 2009/9/8 Francis GALIEGUE :
>>> On Tue, Sep 8, 2009 at 08:41, Andy
>>> Stevens wrote:
>>>> Hi,
>>>>
>>>> Is there an easy way to calculate an ar
2009/9/8 Jan.Materne :
> I am not aware of any built in task, but there is a method in FileUtils you
> could use.
>
> Jan
>
>
>
>
>
>
>
>
Strange, that looks like it ought to be just the job, but with
build.dir=build
buil
2009/9/8 Francis GALIEGUE :
> On Tue, Sep 8, 2009 at 08:41, Andy
> Stevens wrote:
>> Hi,
>>
>> Is there an easy way to calculate an arbitrary relative path between two
>> files?
>> Part of my Ant script copies a default configuration file to a build
>>
Hi,
Is there an easy way to calculate an arbitrary relative path between two files?
Part of my Ant script copies a default configuration file to a build
folder, in the course of which I modify it (with xmltask) with the
location of some source files. At the moment I'm using to get the absolute p
2009/8/14 Mike Baranczak :
>2009/8/14 supareno :
>>
>>
>>
>
> 2. What this fileset specifies is "all Java files in directory
> /dv/ws/javasources/". It doesn't say anything about creating a "javasources"
> directory in the jar.
>
> You probably want something like thi
2009/7/2 Dominique Devienne :
> On Thu, Jul 2, 2009 at 12:21 PM, Andy
> Stevens wrote:
>> I've got a bit of a puzzle with an uptodate task, and I'm hoping I've
>> just missed something obvious...
>
> To cut to the chase, do yourself a favor and use Ant-Co
Hi,
I've got a bit of a puzzle with an uptodate task, and I'm hoping I've
just missed something obvious...
Part of my build script "compiles" various database objects by copying
them with token replacement, to substitute the environment-specific
database name at various points. I didn't want to
On 26/06/2009, jscripter wrote:
>
> The main problem with this is that I don't want to keep track of which
> symlinks to delete.
> The tree I am deleting may have lots of symlinks.
>
> I realize that Java doesn't know about symlinks and that Ant uses a
> heuristic to determine if a file objec
2009/5/28 Quanah Gibson-Mount :
> Hello,
>
> I build our software (Zimbra Collaboration Suite) on a multitude of
> platforms. Part of the build process uses Ant. However, I have found that
> when I got to build our software on the Fedora 10 OS, it fails due to Ant
> not recognizing a particular f
2009/1/27 Sunils_82 :
> I'm using the sample specified in the ANT
>
>
>
>
>
...
> But this extracts contents from all the folders present in the zip file.
Take a guess at what the "**" wildcard means...
> Wanted to know how to specify the folder name from
2008/11/15 Patrick Waugh <[EMAIL PROTECTED]>:
> So, in short, I need to be able to either move the file as is, or if I
> determine it can be unzipped, unzip it to the dist.dir.
>
> Problem is, I have no idea how I can determine if it needs to be unzipped!
>
> Ideas?
Just guessing, as it's not some
2008/11/16 ilango_g <[EMAIL PROTECTED]>:
>
> I have a Java project in Eclipse and I am trying to build and deploy the
> project. Unfortunately my build.xml is failing with two errors.
...
> [echo] # Building ejb #
> clean:
> compile:
>[mkdir] Created dir: C:\Users\i\workspace\RREJB
2008/10/20 scuzzie <[EMAIL PROTECTED]>:
> Hi,
>
> I have a project written in NetBeans 6.1 that I need to be able to compile
> on demand using any JDK version from 1.4.2, on a machine that does not have
> NetBeans installed (but does have Ant of course). The app compiles under
> 1.4.2 and up using
2008/10/2 Kothari, Shivani <[EMAIL PROTECTED]>:
> Hi,
> I want to replace tokens inside a war file. How to do that? I am able to
> replace tokens in to exploded war folder, but I want to replace tokens
> in context.xml inside a war.
Simplest approach I can think of is
Extract file to temporary dir
2008/9/29 Vivek Payala <[EMAIL PROTECTED]>:
> Our build fails while executing the following task. It fails only when the
> application is installed in a directory having space.
>
> errorproperty="runerror">
>
>
>
>
>
>
>
> If the @{conf
2008/7/31 tacman <[EMAIL PROTECTED]>:
> Hi
>
> I am using JUnit and Ant to run/build/test my java code.
Using the optional task, presumably. What versions of Ant & JUnit?
> Whenever I try to run a test class (ant test) I receive the following error:
>
> junit.framework.AssertionErrorFailed => n
I've seen the example in the docs for dynamically creating a fileset
type in the script being run by a
2008/7/9 rahulrocks <[EMAIL PROTECTED]>:
>
> I have changed the port number of selenium server in command line like this
> java -jar selenium-server.jar -port 4445
>
> How to change the port number of a server(selenium-server.jar) through ant
> script?
>
>
>
>
>
2008/7/2 <[EMAIL PROTECTED]>:
> Hi Raymond,
>
> Thanks for your reply.
> Actually I have two task in my build.xml. First task would
> compile everything from src dir "Adir" and jar it. Second task
> will compile a few java file from "Bdir" which could override some of
> first ones and create an
2008/6/26 Andy Stevens <[EMAIL PROTECTED]>:
> Another possiblity I was wondering about, given jslint is itself
> written in javascript, was using the optional task to run it
> rather than calling Rhino. Ideally, I'd use the src attribute to read
> in an unmodified jsl
2008/6/24 Rebhan, Gilbert <[EMAIL PROTECTED]>:
> -Original Message-
> From: Andy Stevens
...
>> I haven't found a way to combine the echo & java commands into a
>> single command line (separating them with ; just makes it ignore the
>> second comman
Hi,
I'm trying to include jslint in the build script for one of our web
apps, using Rhino to run the jslint.js javascript file.
Initially, I used
(an earlier target copies main.js from the original source folder to
the build directory ${bui
42 matches
Mail list logo