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:[EMAIL PROTECTED]]
> > 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:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> >
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

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


Reply via email to