Bugs item #1627199, was opened at 2007-01-03 11:14 Message generated for change (Settings changed) made by tdonohue You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=119984&aid=1627199&group_id=19984
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Batch tools Group: None >Status: Closed >Resolution: Out of Date Priority: 5 Private: No Submitted By: ChristopheDestin (christophedd) Assigned to: Nobody/Anonymous (nobody) Summary: DSRUN.BAT does not run a new class? Initial Comment: I added a new class with a "main" function that I want to be accessible to DSRUN(.BAT). It did not worked until I modified DSRUN.BAT: set DSPACE_CLASSPATH=%CLASSPATH%;R:\DSpace-source\build\classes;%cd%\config Original line is: set DSPACE_CLASSPATH=%CLASSPATH%;config Remarks: 1) ";config" is strange... Normaly, path are absolute in a CLASSPATH. I changed it for ";%cd%\config" 2) The compiled classes are in the "build" directory of DSpace-source but NOT in the target directory (DSpace). They are also in the Tomcat WEB-INF/classes. I cannot immediatly imagine a way to include automatically either directory in the CLASSPATH. A small java program which would read dspace.cfg where this information could be added ??? Meanwhile I recommend that installation instructions explain how to modify DSRUN.BAT at this level... ---------------------------------------------------------------------- Comment By: Andrea Bollini (bollini) Date: 2007-02-09 07:45 Message: Logged In: YES user_id=1293299 Originator: NO Hi Christophe, are you sure to have run dsrun.bat from the bin of installation directory? you don't really need .class file in classpath because you have already the dspace installation lib (dspace.jar) in the classpath - Andrea ---------------------------------------------------------------------- Comment By: ChristopheDestin (christophedd) Date: 2007-02-09 05:26 Message: Logged In: YES user_id=1614618 Originator: YES I have imported records with DSRUN (under Windows XP) and I have accented Author names garbled. Is it possible that the Java runtime should be called in DSRUN.BAT specifying -Dfile.encoding=UTF-8: java -Dfile.encoding=UTF-8 -Xmx256m -classpath "%DSPACE_CLASSPATH%" %* Or is it the default encoding for Java 1.5 ??? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=119984&aid=1627199&group_id=19984 ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ Dspace-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-devel
