Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: arrgh
  • Order by date
  1. arrgh

    Problems with running ant.

    1. List your environment variables 2. List the contents of the directory you run ant in. 3. List the contents of your build file - "my_build.xml". 4. Run: ant -version and let me know the results. Regards Bill
  2. arrgh

    Problems with running ant.

    Hmmm, using -buidfile (although I usually use -f because it is less typing) and -h works ok for me - I am using version 1.6.5. Try renaming the existing build.xml file and retesting to see what result you get and let us know.
  3. arrgh

    extract and compare values

    # start of contents of property file appl.properties appl.type=java or appl.type=c # end of contents of property file <project name="compile-java-or-c" default="do-build"> <property file="appl.properties" /> <target name="do-build" depends="echo-build, build-java-files,build-c-files"/>...
  4. arrgh

    error while executing ant

    Alternativly use this link http://ant.apache.org/faq.html#InstantiationException this is on the ANT FAQ page!
  5. arrgh

    &quot;error: webxml attribute is required&quot; but update=true !

    Did you previously run the script using the webxml attribute? I do not know but I would gues there is no pre-existing web.xml file referenced which is why you are getting that message.
  6. arrgh

    error while executing ant

    It looks like you have not set up ant correctly - the script works ok for me; check out http://ant.apache.org/manual/index.html and go to the manual/installing ANT the instruction ar very good, let us know if you get it working !!
  7. arrgh

    Can Ant echo the environment variables

    Use the -debug option it will display your properties, defined in the build.xml file itself, the properties defined in any properties file referenced in the build file AND the environment properties.
  8. arrgh

    Ant: Change extension on file

    Tested now works OK in windows XP and in unix (well CYGWIN on an XP box)!
  9. arrgh

    Ant: Change extension on file

    Sorry have not tested this, but, this should copy all files in c:\myindir with a ".sqlx" extension to c:\myoutdir, changing the extension to ".sql". This should work on windows/unix.Let me know if you are still having problems! And remember all this stuff is in the online manual! <project...
  10. arrgh

    Problem building ant

    Search for "Library dependencies" at http://ant.apache.org/manual/index.html It sounds as if you may not have a (the correct) XML paraser in your classpath.
  11. arrgh

    Need help with compiling C++ code with ANT

    You can call the make from wityhin an ANT task using the EXEC built in ANT task. You can start here: http://ant.apache.org/manual/index.html
  12. arrgh

    Can Ant set the environment?

    You can use the ANT "EXEC" task to run a bat/sh script to set paths and classpaths from within an ANT script. E.G. <?xml version="1.0" encoding="ISO-8859-1"?> <project name="setjavahome" basedir="." default="main"> <target name="main"> <echo> OSNAME = ${java.home}</echo> <exec dir="."...

Part and Inventory Search

Back
Top