[prev in list] [next in list] [prev in thread] [next in thread] 

List:       slide-dev
Subject:    AW: AW: How to apply Richie's patch?
From:       Unger Richard <runger () camino ! at>
Date:       2002-12-18 13:43:00
[Download RAW message or body]

Hi There!

The patch should really be applied to the CVS head... A recent nightly build
should theoretically be ok too, but I would recommend the version from CVS.

Under cygwin or linux:

cd /path/to/where/youwanttoputslide
cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic login
(password=anoncvs)
cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic -z3 co jakarta-slide
cd jakarta-slide
patch -p0 </path/to/sliderealm.patch
tar -xzvf /path/to/slideream.newfiles.tgz
ant full-dist

I am really really busy right now, but I can probably find time this weekend
to generate another patch against the CVS head to try again.

Richie




> -----Ursprüngliche Nachricht-----
> Von: B. Shadgar [mailto:shadgar@compsci.bristol.ac.uk]
> Gesendet: Dienstag, 17. Dezember 2002 13:55
> An: Slide Developers Mailing List
> Betreff: Re: AW: How to apply Richie's patch?
> 
> 
> Unger Richard wrote:
> 
> > Hi!
> >
> > It is my understanding that something like this should do the trick:
> >
> > cvs -z3 co jakarta-slide
> > cd jakarta-slide
> > patch -p0 -u </path/to/sliderealm.patch
> >
> > But I will try it out myself tonight before I send the new patch...
> >
> > Richie
> >
> > > -----Urspr|ngliche Nachricht-----
> > > Von: Andreas Probst [mailto:andpro77@gmx.net]
> > > Gesendet: Freitag, 13. Dezember 2002 09:56
> > > An: Slide Developers Mailing List
> > > Betreff: How to apply Richie's patch?
> > >
> > >
> > > Hi all,
> > >
> > > excuse me please for asking the following question: How do I
> > > apply the patch, which Richie sent yesterday? I was searching
> > > through the net and could find information about how to create a
> > > patch, but unfortunately not how to apply one on Windows.
> > >
> > > I tried patch -i sliderealm.patch -p0
> > > on my SuSE Linux 7.3 installation, which I've never used before
> > > (and won't use much in future I suppose).
> > >
> > > I also tried the following Ant-script:
> > > <project name="MyProject" default="patch" basedir=".">
> > >   <!-- set global properties for this build -->
> > >   <property name="src" value="."/>
> > >   <property name="build" value="build"/>
> > >   <property name="dist"  value="dist"/>
> > >
> > >   <target name="patch">
> > >     <patch patchfile="sliderealm.patch" strip="0"/>
> > >   </target>
> > > </project>
> > > Ant gives me a
> > > IOException: CreateProcess: patch -i sliderealm.patch -p0
> > > error=2
> > >
> > > My cvs.exe doesn't seem to have a patch command. Is there a
> > > trick to use cvs.exe to apply a patch?
> > >
> > > BTW: I got the current Slide from CVS yesterday, 12th December.
> > >
> > > Thanks in advance.
> > >
> > > Andreas
> > >
> > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > > <mailto:slide-dev-unsubscribe@jakarta.apache.org>
> > > For additional commands, e-mail:
> > > <mailto:slide-dev-help@jakarta.apache.org>
> > >
> >
> > --
> > To unsubscribe, e-mail:   
> <mailto:slide-dev-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail: 
> <mailto:slide-dev-help@jakarta.apache.org>
> 
> Hi there,
> 
> I am trying to patch the Richie's code. I could patch the 
> code but when I am
> building slide, I have faced with the following error. I have 
> used the nightly
> slide 16-12-02. I had look at the code but I couldn't find 
> any inconsistency
> about the arguments matching. Can anybody helps.
> 
> Thanks.
> 
> main:
>      [echo] Building Slide Core API
>      [javac]
> /home/pgrad/shadgar/slide16-12-02/jakarta-slide/src/share/org/
> apache/slide/search/basic/BasicExpressionFactory.java:178:
> Wrong number of arguments in constructor.
>     [javac]                     result = new AndExpression 
> (new Element(name,
> NamespaceCache.getNamespace(namespace)),
>     [javac]                              ^
>     [javac]
> /home/pgrad/shadgar/slide16-12-02/jakarta-slide/src/share/org/
> apache/slide/search/basic/BasicExpressionFactory.java:182:
> Wrong number of arguments in constructor.
>     [javac]                     result = new OrExpression 
> (new Element(name,
> NamespaceCache.getNamespace(namespace)),
>     [javac]                              ^
>     [javac]
> /home/pgrad/shadgar/slide16-12-02/jakarta-slide/src/share/org/
> apache/slide/search/basic/BasicExpressionFactory.java:239:
> Wrong number of arguments in constructor.
>     [javac]             result = new GTExpression (e,
> getRequestedResourcePool());
>     [javac]                      ^
>     [javac]
> /home/pgrad/shadgar/slide16-12-02/jakarta-slide/src/share/org/
> apache/slide/search/basic/BasicExpressionFactory.java:245:
> Wrong number of arguments in constructor.
>     [javac]             result = new GTEExpression (e,
> getRequestedResourcePool());
>     [javac]                      ^
>     [javac]
> /home/pgrad/shadgar/slide16-12-02/jakarta-slide/src/share/org/
> apache/slide/search/basic/BasicExpressionFactory.java:251:
> Wrong number of arguments in constructor.
>     [javac]             result = new LTExpression (e,
> getRequestedResourcePool());
>     [javac]                      ^
>     [javac]
> /home/pgrad/shadgar/slide16-12-02/jakarta-slide/src/share/org/
> apache/slide/search/basic/BasicExpressionFactory.java:257:
> Wrong number of arguments in constructor.
>     [javac]             result = new LTEExpression (e,
> getRequestedResourcePool());
>     [javac]                      ^
>     [javac]
> /home/pgrad/shadgar/slide16-12-02/jakarta-slide/src/share/org/
> apache/slide/search/basic/BasicExpressionFactory.java:263:
> Wrong number of arguments in constructor.
>     [javac]             result = new EQExpression (e,
> getRequestedResourcePool());
>     [javac]                      ^
>     [javac] 7 errors
> 
> BUILD FAILED
> 
> 
> 

--
To unsubscribe, e-mail:   <mailto:slide-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:slide-dev-help@jakarta.apache.org>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic