Hi, I've installed DSpace 1.5.1 successfully. Now, I'm trying to change and add source .java files.
To do this I've read this link: http://wiki.dspace.org/index.php/BuildCookbook and I've read a similar message from the list: http://sourceforge.net/mailarchive/message.php?msg_id=48066B8C.8060906%40hulmail.harvard.edu In fact, I have two problems: - First, I've changed the class ItemImport.java. This class is in dspace-api, but not in a module (sword, jspui, xmlui, oai), so I don't have a directory in modules to put a new version of this class. So how can I do this change in the modules directory of dspace? - Secondly, I've finally changed the ItemImport.java inside dspace-1.5.1-src-release/dspace-api directory. In this change, I need another class which I have in another package. Let me to show you: ItemImport.java: .... import new.newpack.NewClass; .... NewClass.execute.... .... To do this I've created the hierarchical needed directories: dspace-1.5.1-src-release/dspace/modules/xmlui/src/main/java/new/newpack/ and I put my NewClass inside. Maven compile this NewClass well but can't compile ItemImport. Without changing dspace-1.5.1-src-release/dspace-api/pom.xml I have this error: /dades/src/dspace-1.5.1-src-release/dspace-api/src/main/java/org/dspace/app/itemimport/ItemImport.java:[96,21] package new.newpack does not exist /dades/src/dspace-1.5.1-src-release/dspace-api/src/main/java/org/dspace/app/itemimport/ItemImport.java:[664,29] cannot find symbol and adding to the pom.xml this lines: <dependency> <groupId>new</groupId> <artifactId>newpack</artifactId> </dependency> I have this problems: Validation Messages: [0] 'dependencies.dependency.version' is missing for new:newpack Reason: Failed to validate POM for project org.dspace:dspace-api at /dades/src/dspace-1.5.1-src-release/dspace-api/pom.xml Could you help to solve this? Thanks in advance, Jesús -- ...................................................................... __ / / Jesús Martín García C E / S / C A Tècnic en Sistemes /_/ Centre de Supercomputació de Catalunya Gran Capità 2-4 (Edifici Nexus) 08034 Barcelona T. 93 205 6464 F. 93 205 6979 [EMAIL PROTECTED] ...................................................................... ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech