Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Ant problem in setting path

Have Programming Question? Ask it here!
 
 
 


edara977
problem in setting path
1 Answer(s)      5 years and 10 months ago
Posted in : Ant



Advertisement
View Answers

October 1, 2008 at 3:01 PM


Hi friend,


Your code :

i setted the path as
ANT_HOME=D:\installations\apache-ant-1.7.1-bin\apache-ant-1.7.1;
like this
and path=D:\installations\apache-ant-1.7.1-bin\apache-ant-1.7.1\bin;D:\installations\java\JDK\bin;.;

and the javapath as
JAVA_HOME=D:\installations\java\JDK

Do some changes setting the path :

1)ANT_HOME=D:\installations\apache-ant-1.7.1-bin\apache-ant-1.7.1

Remove the ";" at the end

2)path=D:\installations\apache-ant-1.7.1-bin\apache-ant-1.7.1\bin;D:\installations\java\JDK\bin;

Remove the ".;" at the end


3)You have not mention classpath : set the "lib" of Ant.

for e.g :

classpath=D:\installations\apache-ant-1.7.1-bin\apache-ant-1.7.1\lib;D:\installations\java\JDK\lib;

For more information on Ant visit to :

http://www.roseindia.net/tutorials/ant/introduction-to-apache-ant.shtml

Thanks




Related Tutorials/Questions & Answers:
problem in setting path - Ant
problem in setting path  hi friends i am getting a problem in setting... Do some changes setting the path : 1)ANT_HOME=D:\installations\apache... the reply its urgent  Hi friend, Your code : i setted the path
setting path problem for org.jfree files - Java Beginners
setting path problem for org.jfree files  Hi deepak, As u said, i... org.jfree and so on........after setting the path, i have restarted my system also but then also iam facing the same problem.......... please if u tell me proper
Advertisements
Setting of java1.4.2 path
Setting of java1.4.2 path  Hello I have uploaded java1.4.2 into my laptop and i have done path settings for System variabales as Path (C:\j2sdk1.4.2\bin) and classpath(C:\j2sdk1.4.2\lib) .But when i write simple
path setting - JSP-Servlet
_upload.xhtml.shtml. And i changed the file saving path into a different folder. While setting this path i need to give the full path from drive name, instead of this if i...path setting   Hello friends, I download file uploading coding
path setting - JSP-Servlet
/Sinle_upload.xhtml.shtml. And i changed the file saving path into a different folder. While setting this path i need to give the full path from drive name, instead...path setting  Hello friends, I download file
path setting - JSP-Servlet
path setting  Hi, friends How to set the oracle 10g path on browser to servlet program
path setting for tomcat to java for Desktop PC - JDBC
. So my problem here is i dont know how to set path setting for that can u please...path setting for tomcat to java for Desktop PC  Hi sir, I... the following links which illustrates in detail the path setting
path problem - Java Beginners
path problem  I dont know how to set the path. What path should we...-FINAL-20081019.jar in jdk's lib folder. I entered path as "C:\Program Files\Java\jdk1.6.0_07\lib" , is this correct? Becoz even after this path compilation
problem in setting the values from database
problem in setting the values from database  hello friends, can anyone help me?? I am facing this problem for past one week. I could't set... Stmt after setting the values " + pst.toString()); rs
Problem in getting file path in js
Problem in getting file path in js  hi, I am using ofbiz framework , How i can get the file path in javascript for input type = "file" and i am using only firefox not other browser. so please help me it is very important for me
Problem in setting IP address for a JFrame Class Desktop Application
Problem in setting IP address for a JFrame Class Desktop Application  I have designed a browser for our final year project, it is working well. But when we put it in a system which has a proxy setting for internet connection
JSF with Facelets - Problem setting attribute maxlength - Java Server Faces Questions
JSF with Facelets - Problem setting attribute maxlength  Hi, I have just started working on JSF along with facelets. I have created a xhtml file... you please help me out in setting the maxlength attribute for ? I dont know what
setting keys
setting keys  Hi Sir\Mam,At present we are doing Payroll Project .I would like to set some special keys for my forms and i want the coding to do the same .Pls Provide me source code for setting keys as soon as possible
Regarding path settings in java
Regarding path settings in java  Hello I had a problem of setting paths in Java.I setted classpath(C:\java\j2sdk1.4.2\lib) and path(c:\java... the solution for the problem whether there is any fault in settings or compiling(javac
Path was not found
Path was not found  The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path
path classpath
path classpath  EXPLAIN PATH AND CLASSPATH ? DIFF send me ans plz..., Path is system wide variable that tells where to find your commands. Lets... be in path. While Classpath is Enviroment Variable that tells JVM or Java Tools where
classpath and path for structs1.3.8
.....there is no need of setting path...classpath and path for structs1.3.8  How to set classpath and path for structs1.3.8 ?   just add struts-core-1.3.8.jar file to CLASSPATH
setting web page size
setting web page size  How to set the webpage size in Java
variable setting for servlet - JSP-Servlet
variable setting for servlet  how to set environment variable and class path variable for servlet and to compile servlet files i am using tomcat 6.0  Hi Friend, Please visit the following links: http
Setting the Monitor brightness using Java
Setting the Monitor brightness using Java  I am Facing problem in writing a code to change the Monitor Brightness using Java. This problem is solved using ASP.net how to change in java please give me some suggestions
Setting file extension
Setting file extension  Hi, I have used FileChooser to save a file. When I was trying to save it, the extension of the file is showing 'File'. How can I save that file to .xls ? Thanks
Setting Cookie
Setting Cookie  setcookie function is used for setting up a cookie. In the following example, if you use $_COOKIE command, you will view one cookie value, and if you see print_r ($_COOKIE), you will view all cookie value. We have
Setting environment variables
Setting environment variables  Hi, I have a java web application running on jboss AS. 1)How do I set the environment variable in jboss? 2)How do I get the environment variable from jboss
Setting File Attributes
Setting File Attributes  I would be glad if anyone could help me set file attributes in java I would like to know how to set the hidden file attribute or the read only file attribute. Thank you
setting RGB for a circle
setting RGB for a circle  how can i change the color of the circle(not through filling it) and i want to use RGB (not regular colors such as black or red..) i should include RGB numbers (for example 240, 150, 19) but i am
Setting File Attributes
Setting File Attributes  I would be glad if anyone could help me set file attributes in java I would like to know how to set the hidden file attribute or the read only file attribute. Thank you
How to get project path
How to get project path  my problem is,i have one jar file,in that one xml is their,i am adding this jar file to my project,my question is how i can open or get that xml path
How to get project path
How to get project path  my problem is,i have one jar file,in that one xml is their,i am adding this jar file to my project,my question is how i can open or get that xml path
Setting File Attributes
Setting File Attributes  I would be glad if anyone could help me set file attributes in java I would like to know how to set the hidden file attribute or the read only file attribute. Thank you   Hi Friend, If you want
setting classpath of tomcat - Java Beginners
setting classpath of tomcat  hello i am giri. I Installed the Tomcat6 in my system and the problem is, How to set the classpath, Please give the solution.  Hi Friend, Go to Start->Settings->Control Panel->
Setting File Attributes
Setting File Attributes  I would be glad if anyone could help me set file attributes in java I would like to know how to set the hidden file attribute or the read only file attribute. Thank you   Let me know
Setting the default Java character encoding?
Setting the default Java character encoding?  Setting the default Java character encoding
absolute path in php - PHP
absolute path in php  how to get absolute path in php
No SDK with the name or path
or path....version xyz. Base SDK Missing. What is this error and how can i set... Missing or No SDK with the name or path for XYZ version follow the steps below and change the setting.. Project->Edit Project Settings->Build->Base
Modifying the Path Example.
; <body> <?php // Setting output of the path if (isset($_POST['posted...Modifying the Path In this example, you will learn how to modify the corrupted path using $outpath command in PHP. This command will modify the path
Setting up the environment
Setting up the environment       To run the example of DbUnit in Eclipse, we need jar files of  DbUnit, JUnit and Jakarta Commons IO. DbUnit is available from
Setting Variable Scope
Setting Variable Scope In this section we will learn about the different scope of the JSP variables. While developing the program you can store the variables in different scope. If you store the values in the application scope
path - Java Beginners
meaning of path and classpath  what is the meaning of path and classpath. How it is set in environment variable.  Path and ClassPath in in JAVAJava ClassPath Resources:-http://www.roseindia.net/java/java-classpath.shtml
Setting source port on a Java Socket?
Setting source port on a Java Socket?  Is it possible to explicitly set the the source port on a Java Socket
how to set class path
how to set class path  how to set class path in java
Class path
. Setting the class path is mandatory to run a java application. Class path in java... the CLASSPATH environment variable. Setting the class path by using the -classpath.... and org.roseindia.MyApp is the path of the main class. Setting the path by using
Fileupload from source path to destination path
Fileupload from source path to destination path  first we will create... source path &Destination path fields and BOTH INPUT TYPES ARE "TEXT" we will give source path as statically where the .doc or .rtf files path will be their.and
PHP hide file path
PHP hide file path  PHP to read a path and convert that to the virtual link
Enable Proxy Setting
In this section, you will learn to enable proxy setting for Maven using setting.xml file
Setting up development Environment for spring
Setting up development Environment for spring  Hi, Am learning spring from this site.. I found how to install the spring at http://www.roseindia.net... to setting up development environment for that.. It directly skipped
How to give path to the Dfile?
How to give path to the Dfile?  Hello erveryone, I want to make... on sphinx, i have to give path to the sphinx4.jar file which is present in my... not linux ,i want to try above but in this i can't get the write Dfile path , can
Path Separator
Path Separator       In this example, path.separator is used to separate the path and file by semicolon (;). When it is run, Ant checks for the path separator and directory
Class Path - Java Beginners
Class Path  Hello I was able to set the class path as You have......; there u can type the path both in user variables for administrator   Hi...-->environment variables--> there u can type the path both in user variables
File path for jar file
File path for jar file  Hi Experts, I have created one eclipse... path of the template, which is working as per expectation. But I have created... not found for the template file. Also I had tried to get that path from user
path - Java Beginners
path  how to set the path in environment variables to run java programs in my pc?   Hi friend, Read for more information. http://www.roseindia.net/java/learn-java-in-a-day/download-and-install-java.shtml
 

 

 

DMCA.com