Best graphing utility for Ant-scripts

2011-08-30 Thread Kent Larsson
Hi! We have pretty complex scripts, which I'd like to graph in an automatic way. We use which Vizant doesn't seem to support. Grand from ggTools doesn't seem to work well, it complains about syntax errors due to our use of Ant 1.7-only features which it doesn't recognize. So, all tips are welco

Need JAR-files not available in ibiblio (for JavaMail), suggestions

2009-05-04 Thread Kent Larsson
Hi, Currently: - I have no ivysettings.xml (only ivy.xml). - I have no JAR-files in version control. My idea of a solutions: - Create a directory named localrepository directly under the project root. Setup a file repository for Ivy in it. Check it into version control. - Have Ivy first check i

Re: How to enable source and javadoc downloads and integerate them with Eclipse?

2009-02-24 Thread Kent Larsson
repository, but not Javadocs. I > submitted a new IVYDE issue about it. > > I can try to take a look on your config. Are you using a public Maven > repository? If so, would you mind posting your Ivy config file as well? > > Kent Larsson wrote: >> >> Hi, >> >&

Problem retrieving Hibernate 3.2.1.ga

2009-02-03 Thread Kent Larsson
Hi, When I try to download Hibernate 3.2.1.ga using Ivy I get: [ivy:retrieve] :: [ivy:retrieve] :: FAILED DOWNLOADS:: [ivy:retrieve] :: ^ see resolution messages for details ^ :: [ivy:retrieve] :

Is it possible to only have Eclipse use runtime dependencies for its exploded WAR?

2009-01-26 Thread Kent Larsson
Hi! I have my project setup as a "Dynamic Web Project" in my IDE of choice, Eclipse Ganymede. And I'm using IvyDE. In project properties under the "Libraries" tab I have: ivy.xml [*] Access rules: No rules defined Native library location: (None) Publish/export dependency: /WEB-INF/lib wic

If you do, which way do you visualize Ant build scripts?

2009-01-17 Thread Kent Larsson
Hi, I think visualizing build scripts is a good way to get some overview, which can be nice to have simply for personal use as well as when introducing new developers to a project. I'm just wondering what I should use myself, since there are a number of options. So, what are you using to visualiz

Re: Do something if downloads file

2009-01-16 Thread Kent Larsson
y named "localfiletimestamp" 2. Perform the using "usetimestamp" as I do now. It may or may not download and overwrite the local file. 3. Check the timestamp of the local file now, if it has changed and is different from "localfiletimestamp" then the task downloaded the

Validate properties (for example see that directories and files really exists before processing)

2009-01-15 Thread Kent Larsson
Hi, I have two files for my new build setup, one is build.xml and the other is build.properties. The latter one is used to override default values for some properties as well as providing values for properties which vary between computers. Their contents are: $cat build.properties # Override

Re: doe sn't pick up an environment variable

2009-01-15 Thread Kent Larsson
On Thu, Jan 15, 2009 at 5:45 PM, Anna Teittinen wrote: > > Hi Kent, > > Great! You found a solution! > > I had the same problem recently with a project at work. > In my build.xml, I have the following to make it work: > > path="${env.PATH}:${cto7.home}/Plugin/FacetTfm/carat_sharp/init"/> > > wher

Re: doesn't pick up an environment variable

2009-01-15 Thread Kent Larsson
On Thu, Jan 15, 2009 at 5:48 PM, Francis Galiegue wrote: > Le Thursday 15 January 2009 17:25:26 Kent Larsson, vous avez écrit : > > Hi, I have a build.xml for my Ant build script and a build.properties > file > > for easier configuration. > > > >$ ls build.*

Re: doesn't pick up an environment variable

2009-01-15 Thread Kent Larsson
e same shell? Meaning...is it possible you have say 2 > xterms open...running your build.xml where CATALINA_HOME is not set? > > for example, in the same xterm do: > > echo $CATALINA_HOME > ant > > If not, I can't see why its not output... > > > On Thu,

Re: doesn't pick up an environment variable

2009-01-15 Thread Kent Larsson
sure there is some way to load it in, I'm just not proficient enough with Linux. Best regards, Kent On Thu, Jan 15, 2009 at 5:25 PM, Kent Larsson wrote: > Hi, I have a build.xml for my Ant build script and a build.properties file > for easier configuration. > >$ ls build.*

doesn't pick up an environment variable

2009-01-15 Thread Kent Larsson
Hi, I have a build.xml for my Ant build script and a build.properties file for easier configuration. $ ls build.* -rw-r--r-- 1 tnek tnek 29 2009-01-15 17:01 build.properties -rw-r--r-- 1 tnek tnek 270 2009-01-15 17:05 build.xml They are short and easy to understand: $ cat build.

Re: Do something if downloads file

2009-01-09 Thread Kent Larsson
the file does not > exist. With the "if", the target is only executed if the property is > actually set, which it won't be if the destination file does not exist after > attempted download. > > Brian > > > On Jan 9, 2009, at 11:58 AM, Kent Larsson wrote: &g

Do something if downloads file

2009-01-09 Thread Kent Larsson
In a target I download a remote file if it's newer than the current local one or if no local copy exists. I do it using the following code and it works as it's supposed to: http://a.com/b.jar"; dest="${destination.file}" usetimestamp="true"/> Now to my problem: I would like to do somethin

Sv: Re: Ant script for building Javadoc, is there a way to bundle common tags?

2008-03-14 Thread Kent Larsson
urserver.com/javadoc/downloadClient/"/> > > > > > destdir="${javadoc.dir}/common" > classpathref="path.combined" > windowtitle="SOM Common API Doc"> > > > > > > Peter Thank you! That worked out really we

Re: Ant script for building Javadoc, is there a way to bundle common tags?

2008-03-14 Thread Kent Larsson
> Why not using XML entities, which is not specific to Ant but simply XML ? > Nico Hi Nico, I have tried a couple of ways to use XML Enteties for this without any luck so far. I don't know how to set an entity to contain a tag structure like: http://java.sun.com/j2se/1.5.0/docs/api/"; packagelist

Ant script for building Javadoc, is there a way to bundle common tags?

2008-03-14 Thread Kent Larsson
Hi, In our Ant script to build Javadoc we have lots of 's inside our 's where the 's are duplicated into most of our 's. We would like to reference these so we don't have the same lines of code in lots of places in the build script. We have tried googling and reading the Ant and Javadoc manuals wi