- First error: null pointer exception. This was b/c I stupidly did not include the anthome argument. However, as the link above states, it looks like this argument is required (probably so that the ant.home variable can be set internally, but it appears to be ignored when it comes to actually loading the ant jars
- Second error: I hit something like "attribute "else" is not supported on Condition tag". Since I was quite certain "else" was in fact a supported attribute, I immediately suspected an ant version problem. Maybe my ant home (which is the latest 1.7) was being ignored? So I did an <echoproperties/> in my build file, then hit snag #3
- optional task org.apache.tools.ant.taskdefs.optional.EchoProperties is not found (or something like that)
CFANT and ANT 1.7 on CF8
You probably know that CF ships with an undocumented tag for running ANT build files: CFANT. There's a writeup here. I tried getting it to work today and hit several snags. The steps I took to get it all working properly are these:
Subscribe to: Post Comments (Atom)
2 comments:
Adding to my Ant wiki - wonder in which version of CF this was first introduced??
I'd assume MX7
Post a Comment