This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Ant, Maven and Other Build Tools and the fly likes tau java build Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "tau java build" Watch "tau java build" New topic
Author

tau java build

Pie Jang
Greenhorn

Joined: Jun 13, 2012
Posts: 1
ant newbie...in TAU (http://www.cs.uoregon.edu/Research/tau/home.php) in order to execute an instrumented program you would set PATH to TAU bin and set LD_LIBRARY_PATH to TAU lib then just tau_java <a program> instead of java <a program>...how can i change an ant build to make this work, please? the error message for:


Problem: failed to create task or type tau_java
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.

is this really declaring a custom task?
Greg Charles
Sheriff

Joined: Oct 01, 2001
Posts: 2840
    
  11

Hi Jang, welcome to JavaRanch!

First please add code tags for code samples. I've added them for you here (type=XML).

Normally there should be a <taskdef> tag associating the tau_java task with a Java class that implements it. They must document that somewhere in the site you linked.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: tau java build
 
Similar Threads
Jikes in Ant
The name is undefined
Problem getting log4j.properties picked up when I use security.manager ?
wondering how to launch tomcat from ant without ant freezing up.
NoClassDefFoundError with no class name