

- #APACHE ANT BUILD.XML DOES NOT EXIST UBUNTU HOW TO#
- #APACHE ANT BUILD.XML DOES NOT EXIST UBUNTU INSTALL#
I wanted to know if my knowledge is incorrect about the /usr/bin directory.Ģ) I wanted to know how to see the installation path or the root directory of the software installed in ubuntu 13.
#APACHE ANT BUILD.XML DOES NOT EXIST UBUNTU INSTALL#
which got me the my query.ġ) I am not sure what path to use, initially I was under the impression that sudo apt-get install xyz installs the software in /usr/bin directory but then when I browsed through the directory it was not there instead I found ant folder sitting in /usr/bin/shared directory. Now I wanted to setup ANT_HOME environment variable in my ~/.bashrc file. Gave me the following output Buildfile: build.xml does not exist! Apache Ant(TM) version 1.9.2 compiled on July 14 2013 The above command spitted out the following. I wanted to install "ant" on my local machine today so I did a normal sudo apt-get install ant I just did a quick-test on an Ubuntu 16.Forgive me for the superfluous questions, but i have been thinking about it for some time now. + tee logs/CLI-Install-log-Dec-13-42.logĬreate a new 'build.xml' (in a new clean directory): setupDatabase.xml install -noclasspath 2>&1 | tee $logfile + echo 'Ant Process returned a non 0 value' setupDatabase.xml install -noclasspathĮrror: Could not find or load main class .launch.LauncherĮcho "Ant Process returned a non 0 value" still facing the issue after trying multiple ways. Thanks Pritj, for your interest and assistance. The second change is just to make it more obvious to us which exact 'ant' file is being picked-up - the script actually looks correct to me ("$0" should find the location of the 'install.sh' script and then locate the subdirectory 'bin' - but maybe this isn't working properly somehow?) If thenĪnd I'm not sure whether this is causing it to pick up other settings from another copy of ant installed on this system ? (hence the first thing to try and do is force the ANT_HOME to pickup the one in the media - which should then stop it picking up the system-wide ant configuration). # load system-wide ant configuration (ONLY if ANT_HOME has NOT been set) I'm not sure what is going on in your case but it looks like the 'ant' script in the \scripts\bin directory does this: Where PUT_IN_THE_REAL_PATH_HERE is what you should replace with the actual real path (it's not a variable I mean). PUT_IN_THE_REAL_PATH_HERE/bin/ant" $ANT_PROPS -f. # Run Ant, given the configuration we collected Make a copy of 'install.sh' to 'install.sh.orig' (say). Make sure you export the variable, then run 'install.sh'. First set the ENV Variable ANT_HOME to point at the (fully-qualified-path) to the \scripts\bin path. This is just a guess (I haven't had chance to try this yet) but can you try the following :ġ. ***:Updated by moderator: Lochan to add SR details*** ***Moderator Edit: Vidyaranjan| Updated Categories*** This is not a bug it is a configuration problem a directory added on the command line with the -lib argument This looks like one of Ant's optional components.Īction: Check that the appropriate optional JAR exists in app/pega/install/114716_Pega717/scripts/setupDatabase.xml:618: Problem: failed to create task or type propertyfileĬause: the class. was not found. =/app/pega/weblogic/oracle_common/modules/oracle.jdbc_11.2.0/ojdbc7.jar This message is there because you need to write a buildfile for your project. You should get a message like this Buildfile: build.xml does not exist Build failed So Ant works. Reading Properties from : /app/pega/install/114716_Pega717/scripts/setupDatabase.properties You can check the basic installation with opening a new shell and typing ant. It cannot be moved to the master build file. Created dir: /app/pega/install/114716_Pega717/scripts/taskRuntimes Writing Ant build file The next line which defines the property project.name is and must not be changed. Deleting directory /app/pega/install/114716_Pega717/scripts/taskRuntimes I can see the ant.jar link file under /usr/share/ant/lib path.

I am getting below error while running the install.sh script. Robotic Process Automation Design Patterns
