How do I exclude a specific method/constructor from the results of the javadoc Ant task?
I'm using javadocs generated by the javadoc Ant task to document a web service, and I want to exclude some constructors from the output. How do I do that? ...
I'm using javadocs generated by the javadoc Ant task to document a web service, and I want to exclude some constructors from the output. How do I do that? ...
How would you execute ant tasks at different phases in a maven build cycle? ...
I am just moving to Kodo JPA version 4.2 and it isn't going smoothly. when I run my any build script (in eclipse 3.4.1) I get BUILD FAILED D:\My Documents\eclipseWorkspaces\cnmp e341\blue ebig\ebig\src\java\build.xml:91: <openjpa-1.1.0-r422266:657916 fatal user error> org.apache.openjpa.util.MetaDataException: MetaDataFactory could no...
...do the same thing to the other files, but it takes a long time I only want to delete and copy files that have been updated. (With the modified date in clearcase later than that in RSA) ...
I have a main build file with a path declaration <path id="path.app.src"> <pathelement location="myfolder/src"/> </path> Then i call a task in sub file with <ant> <ant antfile="subbuild.xml" inheritAll="false" inheritRefs="false"> <reference refid="path.app.src"/> </ant> in subbuild.xml i have: <path id="subpath.app.src"> ...
Hello, I am trying to compile and run a simple java class within eclipse. The compile task works fine, and since I do not specify a destination folder the build files are in the same directory as the source. Which is alright, at the moment all I need is to learn how I can run the class with the main() method. I have tried using the ful...
I've got a bunch of selenium test cases set up in a JUnit class as four methods. The first runs fine - but the remaining three close the Firefox browser before the final step of the method is complete - giving a ERROR: Command execution failure. Please search the forum at http://clearspace.openqa.org for error details from the log windo...
I wrote some Groovy code, and I'd like to integrate it with the existing Java code. We'd like to be able to keep our ant scripts, and only add the needed Groovy functionality. Will Gant allow us to keep our existing scripts? ...
Hello, I am having issues integrating junit with a working ant build.xml file. My test class is in the same directory as my source classes. As I am learning how to use ant, I simply want to compile all the source and the test classes. I am using eclipse and the junit test classes work fine when execute through eclipse. Which means the ...
Is there a way to run JUnit-Tests from several projects conveniently fast in Eclipse? The JUnit-Runner lets you define a package or a folder where from all contained tests are executed. Is there a way to do this with tests from several projects inside Eclipse? Preferably it should be via the Junit-Runner. If there is some way to have ...
I have a fileset which contains a number of jars of which I only want a subset. I'm currently doing this: <target name="work-around"> <delete dir="${dir.deps}" failonerror="false" /> <copy todir="${dir.deps}" flatten="true"> <restrict> <fileset refid="mvn.deps.fileset" /> <rsel:name name="**/mycompany-core*...
I'm using ant as my primary builder for a flex project in IntelliJ. Every time I build, IntelliJ runs the code analysis tool and finds a bunch of errors in my build file, which pops up the "Messages" window every time. Actually, the errors that it finds are complaining mostly about properties which are defined in a separate file, which...
I don't understand the difference between these methods. Here's what the JavaDoc says: setLine(String) = Line to split into several commandline arguments. setValue(String) = Sets a single commandline argument. My confusion is that I see them being used interchangeably in the code I'm updating. An example: Commandline comma...
Dear Gurus, I am using NetBeans 6.5 and whenever I save a LessCSS file I would like to run less compiler to compile it to native css. How do I go about achieving this? Many Thanks. Ravi EDIT: I can do a build file as Kim recommended below. I am searching for a solution where I can run an external command. So the question now is How Do ...
I have a DirSet which I would like to convert to a comma-delimited list of directory names. I'm not interested in the full path, just the names. Using the ant-contrib "for" task I've been able to iterate the directories and create the target list, but for the life of me I can't figure out how to extract just the directory name from the f...
I'm trying to create a comma-delimited list of files or directories under the current directory. For instance, suppose I have the following folder structure: Root -- Directory1 -- Directory2 ... I want to generate a variable or property that contain "Directory1,Directory2." I've tried iterating (using ant-contrib "for" task) over a <...
i am using mxmlc for building the flex projects using ant.how to use flex builder-> copy non embeded files to destination folder compiler option in ANT ...
Hey everyone, I was just wondering how I use Ant to build my web applications that I have written in PHP? I've googled around a bit and I have seen that it is possible but there are not any examples of the basic idea or any advanced use for them. Can any of you help me out? Thanks! ...
After building an application by using ant, i am copied the component to a temp folder. But, the cvs folder is also copied and it increases the no of folder and file almost double by number. Is there any solution to ignore cvs folder in ant build file? ...
Is it possible to specify a library path in a java task? Like the equivalent of: java -Djava.library.path=somedir Whatever ...