Hello, Am 07.11.2007 um 19:46 schrieb pavan krishnamurthy:
> I was trying to install dspace. When i try to do ant fresh_install; > i get so many warnings plus two errors saying > > 1)The import sun.misc cannot be resolved > 2)BASE64Encoder cannot be resolved to a type ... > error report: > > BUILD FAILED > /home/pavan/dspace-1.4.2-source/build.xml:125: The error messages are shortened too much for me to understand what is going on. If sun.misc were a real domain name I would guess something is going completely wrong but I think it denominates a certain java library/module that should be available with a standard installation of the JDK but is not on your machine. Which leads to the question which operating system/distribution are you using and which version of Java and how you installed it. Ah, and then, try and run an "ant -diagnostics | grep misc" or some- thing like that to see if this is a message from ant. Ant has a modular structure too and is known that on some platforms, notably debian, you have to install ant-optional separately. The second error is clear in what it says but does not lead me anywhere useful, too. But lets step into the buildfile. This probably most helpful: 118 <target name="compile" 119 description="Compile the source code"> 120 <mkdir dir="build/classes"/> 121 <javac srcdir="src" 122 destdir="build/classes" 123 debug="on" 124 source="1.4" 125 target="1.4"> 126 <include name="**/*.java"/> 127 <classpath refid="build.class.path"/> 128 </javac> 129 </target> So it actually fails when trying to start the java compiler javac. What can be wrong with that? What happens if you try manually? It should give you something like this: % javac Usage: javac <options> <source files> where possible options include: ... Have you double checked your classpath? Not much help, but worth a try. > and also should i try to resolve all th warnings, > or is it okay if we ignore the warnings. First things first is alright and errors are more important than warnings. You can deal with them later and there are cases where you just cant re- solve all of them but everything runs fine for you. But there are also cases where a simple warning gives the proper hint do the base problem. So, appending the full error log at the bottom of the message does not hurt anybody but might be useful next time. Bye, Christian ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

