Hi Christian,
Yeah the ant optional did the trick . I installed three optional
package which made the clean operation successfull "Ant-apache-regexp
1.6.5" and "Ant-apache-resolver 1.6.5" . I will update the wiki in
couple of days.
Now when i am trying to rebuild its giving me strange errors saying
dspace.jar is read only. It seems errors are recursive :) . Can anyone
please help me with this.
/usr/local/src/dspace/dspace-1.4.2-source/build.xml:250:
/usr/local/dspace/lib/dspace.jar is read-only.
at org.apache.tools.ant.taskdefs.Zip.executeMain(Zip.java:373)
at org.apache.tools.ant.taskdefs.Zip.execute(Zip.java:350)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at org.apache.tools.ant.Main.runBuild(Main.java:668)
at org.apache.tools.ant.Main.startAnt(Main.java:187)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
I have one more questions. It may be stupid. I am adding a new java
class so should i rebuild my dspace or can anyone please tell me the
protocol to be followed when we add any new java source.
Thanks
Pavan
On Jan 22, 2008 1:13 PM, Christian Voelker <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Am 22.01.2008 um 20:38 schrieb pavan krishnamurthy:
>
>
> > I am trying to recompile dspace . When i do "ant clean" it says Build
> > Failed . Can anyone please point out the error i am encountering
> >
> > [EMAIL PROTECTED] dspace-1.4.2-source]$ ant clean
> > Buildfile: build.xml
> >
> > BUILD FAILED
> > /usr/local/src/dspace/dspace-1.4.2-source/build.xml:88: No supported
> > regular expression matcher found
> >
> > Total time: 0 seconds
> >
> > I am using Fedora 6 , dspace 1.4.2.
>
> ant is build in a very modular fashion. You dont see that
> if you download it from the apache site, but we have had
> a similar thing before with somebody running DSpace on
> Debian. There, the package management splits up ant into
> two packages ant and ant-optional. I bet Fedora does
> something similar. So, you should go to your favorite
> package manager, may it be rpm, yum or whatever and search
> for packages containing ant and installing the add-ons if
> there are any. If I am right with my guess, it would be
> fine if you could update the wiki with your findings.
>
> Bye, Christian
>
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech