ram wrote:
Hi All,
I tried to install Derby and followed all the instructions given at this link:-
http://svn.apache.org/repos/asf/db/derby/code/trunk/BUILDING.txt

I installed all the required softwares (except the optional packages).
I have setup all the environment variables also.
>
> But when I run command "ant" then it gives me error:-
> -----------------------------------------------------------------------------------
> Unknown argument: -cp

Hello,

I guess you are trying to build Derby from sources based on your URL above. Could you please let us know which platform you are running on, and which version of Ant and Java you are using?

I know that some versions/implementations of javac does not accept the -cp option (only -classpath), but based on the current information I can't see how this could cause your trouble.

You could also try to run ant with -verbose and/or -debug and look for possible causes, but the amount of information printed is usually huge... Maybe something useful is printed at the very start or at the very end (just before the error).



thanks,
--
Kristian


[ snip - ant usage/help screen ]

Reply via email to