Mika,

Thanks for the note on this.  I've added your information to the Wiki 
page on DSpace + NetBeans installation.

Dan had emailed me off this list to let me know that his problem was 
with trying to "Build" the wrong DSpace project in NetBeans.

- Tim

mikan.d.dspace listmail wrote:
> Daniel & Tim,
> 
> I managed to compile and run DSpace on Netbeans some weeks ago.
> Strangely, recently it had stopped working again allthough I hadnt
> really changed anything. I re-installed Netbeans, checked out fresh
> source from SVN (tried both 1_5_1 and 1_5_x) but I always got "build
> failed".
> 
> The solution I found, is you have to manually set your local Maven
> repository path. Actually the warning below hints to this. So I
> clicked the link provided in the log (the other way is from plug-in
> menu) and set my local repository as c:\data\mika\.m2. And now, build
> succeeds with all the packages mentioned in Tims post.
> 
> Hope this helps,
> Mika
> 
> 
> 
> -----
> 
> WARNING: You are running embedded Maven builds, some build may fail
> due to incompatibilities with latest Maven release.
>          To set Maven instance to use for building, click here.
> Scanning for projects...
> Reactor build order:
>   DSpace Addon Modules
>   DSpace XML-UI (Manakin) :: Web Application
>   DSpace LNI :: Web Application
>   DSpace OAI :: Web Application
>   DSpace JSP-UI :: Web Application
>   DSpace SWORD :: Web Application
>   DSpace Assembly and Configuration
> [#clean]
> [clean:clean]
> [#package]
> [site:attach-descriptor]
> [#install]
> [install:install]
> Installing C:\Data\Mika\dspace-1_5_1\dspace\modules\pom.xml to
> C:\Documents and
> Settings\Administrator\.m2\repository\org\dspace\modules\1.5.1\modules-1.5.1.pom
> [#clean]
> [clean:clean]
> [#process-resources]
> [resources:resources]
> Using default encoding to copy filtered resources.
> [#compile]
> ------------------------------------------------------------------------
> Reactor Summary:
> ------------------------------------------------------------------------
> DSpace Addon Modules .................................. SUCCESS [0.421s]
> DSpace XML-UI (Manakin) :: Web Application ............ FAILED [0.484s]
> DSpace LNI :: Web Application ......................... NOT BUILT
> DSpace OAI :: Web Application ......................... NOT BUILT
> DSpace JSP-UI :: Web Application ...................... NOT BUILT
> DSpace SWORD :: Web Application ....................... NOT BUILT
> DSpace Assembly and Configuration ..................... NOT BUILT
> ------------------------------------------------------------------------
> [ERROR]Transitive dependency resolution for scope: compile has failed
> for your project.
> [ERROR]Error message: No versions are present in the repository for
> the artifact with a range [1.5.0.0,1.6.0.0)
> [ERROR]  org.dspace:dspace-api-lang:jar:null
> [ERROR]from the specified remote repositories:
> [ERROR]  central (http://repo1.maven.org/maven2),
> [ERROR]  maven.dspace.org/snapshot (http://maven.dspace.org/snapshot)
> [ERROR]Path to dependency:
> [ERROR]        1) org.dspace.modules:xmlui:war:1.5.1
> [ERROR]        2) org.dspace:dspace-xmlui-api:jar:1.5.1
> [ERROR]Group-Id: org.dspace.modules
> [ERROR]Artifact-Id: xmlui
> [ERROR]Version: 1.5.1
> [ERROR]From file: C:\Data\Mika\dspace-1_5_1\dspace\modules\xmlui\pom.xml
> ------------------------------------------------------------------------
> For more information, run with the -e flag
> ------------------------------------------------------------------------
> BUILD FAILED
> ------------------------------------------------------------------------
> Total time: 2 seconds
> Finished at: Thu Jan 15 14:42:31 EET 2009
> Final Memory: 95M/226M
> ------------------------------------------------------------------------
> 

-- 
Tim Donohue
Research Programmer, IDEALS
http://www.ideals.uiuc.edu/
University of Illinois
[email protected] | (217) 333-4648

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to