Home Answers Viewqa Ant problem in setting path

 
 


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

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 Pages:
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
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 setting - JSP-Servlet
path setting  Hi, friends How to set the oracle 10g path on browser to servlet program
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
/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
_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
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 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 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
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
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
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
problem in installation - Ant
problem in installation  hi friends i got a problem in setting... problem plz check it its urgent 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
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->
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
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
Getting a absolute path
Getting a absolute path     ... the path of the file or directory so that you can access it. If you know the path then it is very easy to work on it. Suppose a situation where a problem comes
JAVA CLASSPATH PROBLEM
solved this problem by putting the path of classes to the classpath... but got same problem again. Now this time i doing the all procedure for setting... servlets and problem raise for classpath. I had a problem with servlet to call
poi & class path - Java Beginners
poi & class path  This is the same problem regarding POI , Sir , i.... Also after downloading how to set class path.  Hi Friend... of your jdk version.After this set the path in 'PATH' variable of Environment
Setting Up SSI on WAMP
Setting up SSI on WAMP Server   Server Side Includes (SSI) - Definition... or ASP: <!--#include virtual="/path_relative_to_site" --> PHP: <?php include("../path_relative_to_document") ?> The above
Getting File path error - JSP-Servlet
Getting File path error  I have a requirement where i need to get...); This seems to be working in expanded form. However first problem is that this method (request.getRealPath) is deprecated. Second problem is that when i create a war
compilation problem
folder,but its giving compilation problem that package open symphony doesnot... havenot set the build path.if this is the problem then tell me how to set the build path.i am using JCreator.how do i set the path in jcreator
problem with package
problem with package  Dear sir, i have created one java file... in " net" folder.The problem is i want to use that .class file in some other project.well i created the object and set the class_path but still it showing error
compilation problem
folder,but its giving compilation problem that package open symphony doesnot... havenot set the build path.if this is the problem then tell me how to set the build path.i am using JCreator.how do i set the path in jcreator
Problem in enctype=
Problem in enctype=  im using a page which is in JSP. i have some.... but the problem is the uploaded file is not stored in the prefered folder. i printed the path it shows correctly. here the code, the form is post method
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
jcuda problem
-path option set the class path many time with many option but nothing
uploading problem
=session.getAttribute("filename").toString(); String path =( "C:/Users/nidi... fileP = new File(path).getName(); int i=st.executeUpdate...(); } } } } %> my problem...: firstly
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
Java problem - Java Beginners
Java problem  I have an image in my application and I need to restrict the image path view on the browser. Noone should be able to right click and see the image path. Please help
Maximize Sales By Setting up Your Shopping Cart
Maximize Sales By Setting up Your Shopping Cart Setting up a shopping cart... programming analyst to handle your problem. It is also important to know..., if these kinds of aborts are handled within a good amount of time, then the problem can
tomcat problem - JSP-Servlet
at the above said path and cannot complete the installation. I tried... it stands still at the above path. Previously for all these versions it was working perfectly. Kindly let me know what is the problem at an earliest. Thanking
Hibernate code problem - Hibernate
in Build path. I think it is unable to create session Object. Can u help me.....How can i solve this problem. Am i need to Kept any other jars in path. ... problem please send me code. Visit for more information. http
setting web page size
setting web page size  How to set the webpage size in Java
Join problem with JPA Criteria Builder
Join problem with JPA Criteria Builder  I need to make this Query...;Setting> settingRoot = cr.from(Setting.class); Join<Setting, SettingValue>... as col_0_0_, setting0_.setting_name as col_1_0_, setting0_.setting_level as col_2_0
how to devide a web page into parts and setting the targets like frames but without using frames
how to devide a web page into parts and setting the targets like frames but without using frames  Here is my requirement, I have to devide a web... and iframes). Please help me in resolving this problem.   Please visit
problem with dynamic url
problem with dynamic url  Hello! I was asked to implement a dynamic url code below to a html template I designed. I am a web designer... it right. Can't figure out why there is a space in the path on the "$t_url
problem scrolling jtable
); MAIN PROBLEM HERE'S M TABLE IS NOT PROPERLY SETTING IN SCROLLPANE...REPLY SOON...problem scrolling jtable  hi, i've to query the table thousand of times...m table display is not getting stable/proper,especially after getting
deploymnet problem - Struts
deploymnet problem  I am shifting from struts1 to strus2 , what all required for it? When I changed my web.xml I am not able start my application in tomcat server? Why? Error:Fail-Application at context path /myproject
Proxy Setting in Windows 8 for IE
If you have installed Windows 8 in your computer and facing problem in connecting to the internet, all you need is to do the proxy settings using your browser. Here we will learn to do the proxy settings in Internet explorer.  
Compilatation problem - Java Beginners
Compilatation problem  Hi All, I had uninstalled Java1.5 and installed java1.4 for some reasons. Before i was able to compile and execute the code but after installing 1.4 and setting up the classpath also i am getting
how to get the image path when inserting the image into pdf file in jsp - JSP-Servlet
how to get the image path when inserting the image into pdf file in jsp  Hi Friend, my image path;C:/images/photo.jpg. i am getting the below...: Thanks  I am getting the same problem. error is coming
Problem with external DTD - XML
Problem with external DTD  Hi, This class generate an XML file.But... = ResourceBundle.getBundle("Path"); public static void main(String[] args){ FileOutputStream fos=null; try { String lsPath=readPath.getString("READ_PATH"); fos = new

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.