Not able to find the properties file
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   sarathy_rambha
Posted On:   Thursday, October 17, 2002 05:55 PM

Why I am getting "Not able to find the properties file" I have compile.properties file in the current directory ---------------------------------------------------------- Output: C:Antjakarta-ant-1.5 in>ant -buildfile justcompile.xml Buildfile: justcompile.xml checkForPropFile: outputLocations: noPropertiesFile: [echo] Not able to find the properties file. [echo] Command line syntax: ant -buildfile -DpropertiesFi le= . BUILD FAILED file:C:/Ant/jakarta-ant-1.5/bin/justcompile.xml:22: Not able to find the propert ies file. Due to this the compile failed. -------------------------------   More>>

Why I am getting "Not able to find the properties file"
I have compile.properties file in the current directory
----------------------------------------------------------
Output:

			
C:Antjakarta-ant-1.5 in>ant -buildfile justcompile.xml
Buildfile: justcompile.xml

checkForPropFile:

outputLocations:

noPropertiesFile:
[echo] Not able to find the properties file.
[echo] Command line syntax: ant -buildfile -DpropertiesFi
le= .

BUILD FAILED
file:C:/Ant/jakarta-ant-1.5/bin/justcompile.xml:22: Not able to find the propert
ies file.

Due to this the compile failed.
-----------------------------------------------------------
Here is the justcompile.xml
			


















-DpropertiesFile= ."/>





























Total time: 2 seconds
   <<Less

Re: Not able to find the properties file

Posted By:   Erik_Hatcher  
Posted On:   Monday, October 21, 2002 01:39 AM

It looks like you're just not in the same directory where you think you are. Try specifying a full path to the properties file and see if that works.
About | Sitemap | Contact