Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Re: [Subclipse-dev] svnClientAdapter failed to build?

subclipse
Discussion topic

There will be a brief maintenance window every Friday at 17:00 Pacific.
For further details, see CollabNet's maintenance and upgrade policy.

Back to topic list

Re: [Subclipse-dev] svnClientAdapter failed to build?

Author Shawn Jin <shawnemails at gmail dot com>
Full name Shawn Jin <shawnemails at gmail dot com>
Date 2010-09-17 08:25:08 PDT
Message Mark,

Thanks for the prompt reply. However I am seeing other issues building
r4658... Do you have a patch for that?
compile:
[mkdir] Created dir:
/scratch/xujin/works​pace_galilio/svnClie​ntAdapter_latest/bui​ld/classes/main
[javac] Compiling 48 source files to
/scratch/xujin/works​pace_galilio/svnClie​ntAdapter_latest/bui​ld/classes/main
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] Compiling 23 source files to
/scratch/xujin/works​pace_galilio/svnClie​ntAdapter_latest/bui​ld/classes/main
[javac]
/scratch/xujin/works​pace_galilio/svnClie​ntAdapter_latest/src​/javahl/org/tigris/s​ubversion/svnclienta​dapter/javahl/JhlCli​entAdapter.java:95:
warning: non-varargs call of varargs method with inexact argument type for
last parameter;
[javac] cast to java.lang.Object for a varargs call
[javac] cast to java.lang.Object[] for a non-varargs call and to suppress
this warning
[javac] new String[] { fsType, target }));
[javac] ^
[javac] Note:
/scratch/xujin/works​pace_galilio/svnClie​ntAdapter_latest/src​/javahl/org/tigris/s​ubversion/svnclienta​dapter/javahl/Abstra​ctJhlClientAdapter.j​ava
uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 1 warning
[javac] Compiling 3 source files to
/scratch/xujin/works​pace_galilio/svnClie​ntAdapter_latest/bui​ld/classes/main
[javac] Compiling 27 source files to
/scratch/xujin/works​pace_galilio/svnClie​ntAdapter_latest/bui​ld/classes/main
[javac]
/scratch/xujin/works​pace_galilio/svnClie​ntAdapter_latest/src​/commandline/org/tig​ris/subversion/svncl​ientadapter/commandl​ine/CmdLineClientAda​pter.java:69:
org.tigris.subversio​n.svnclientadapter.c​ommandline.CmdLineCl​ientAdapter is
not abstract and does not override abstract method
diffSummarize(java.i​o.File,org.tigris.su​bversion.svnclientad​apter.SVNUrl,org.tig​ris.subversion.svncl​ientadapter.SVNRevis​ion,boolean)
in org.tigris.subversio​n.svnclientadapter.I​SVNClientAdapter
[javac] public class CmdLineClientAdapter extends AbstractClientAdapter {
[javac] ^
[javac] Note:
/scratch/xujin/works​pace_galilio/svnClie​ntAdapter_latest/src​/commandline/org/tig​ris/subversion/svncl​ientadapter/commandl​ine/SvnCommandLine.j​ava
uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 1 error

BUILD FAILED
/scratch/xujin/works​pace_galilio/svnClie​ntAdapter_latest/bui​ld.xml:71:
Compile failed; see the compiler error output for details.

Shawn


On 17 September 2010 16:18, Mark Phippard <markphip at gmail dot com> wrote:

> This looks like a rookie mistake on my part. Sorry. I made a branch
> of svnClientAdapter to work on SVN 1.7 support but I did not update
> the usage of svn:externals in that branch so I have been committing my
> changes to trunk.
>
> Please just run:
>
> $ svn up -r4658
>
> This will put your working copy back where trunk is supposed to be. I
> will work on merging my changes over to the branch they belong and
> getting trunk back to where it was at 4658.
>
> Mark
>
>
>
>
> On Fri, Sep 17, 2010 at 11:09 AM, Shawn Jin <shawnemails at gmail dot com> wrote:
> > Hello,
> >
> > I checked
> http://subclipse.tig​ris.org/svn/subclips​e/trunk/svnClientAda​pter
> > Revision 4703 in Eclipse and tried to build the project, it firstly gave
> me
> > error like:
> > [javac]
> >
> /workspace_galilio/s​vnClientAdapter_late​st/src/javahl/org/ti​gris/subversion/svnc​lientadapter/javahl/​AbstractJhlClientAda​pter.java:323:
> > generics are not supported in -source 1.4
> > [javac] (use -source 5 or higher to enable generics)
> > I then changed targetJvm=1.4 to targetJvm=1.6 in build.properties to
> allow
> > the generics but then the following error message appears:
> > [javac]
> >
> /scratch/xujin/works​pace_galilio/svnClie​ntAdapter_latest/src​/javahl/org/tigris/s​ubversion/svnclienta​dapter/javahl/Abstra​ctJhlClientAdapter.j​ava:37:
> > package org.apache.subversion.javahl does not exist
> > [javac] import org.apache.subversio​n.javahl.ClientExcep​tion;
> > It looks the org.apache.subversion.javahl package is missing. Could you
> > advise where I can find the library and what to do to get a successful
> build
> > of svnClientAdapter?
> >
> > Thank you
> > Shawn
> >
> >
>
>
>
> --
> Thanks
>
> Mark Phippard
> http://markphip.blogspot.com/
>
> --------------------​--------------------​--------------
>
> http://subclipse.tig​ris.org/ds/viewMessa​ge.do?dsForumId=1043​&dsMessageId=266​1310
>
> To unsubscribe from this discussion, e-mail: [
> dev-unsubscribe@subc​lipse.tigris.org].
Attachments

« Previous message in topic | 3 of 7 | Next message in topic »

Messages

Show all messages in topic

[Subclipse-dev] svnClientAdapter failed to build? Shawn Jin <shawnemails at gmail dot com> Shawn Jin <shawnemails at gmail dot com> 2010-09-17 08:09:25 PDT
     Re: [Subclipse-dev] svnClientAdapter failed to build? markphip Mark Phippard 2010-09-17 08:18:28 PDT
         Re: [Subclipse-dev] svnClientAdapter failed to build? Shawn Jin <shawnemails at gmail dot com> Shawn Jin <shawnemails at gmail dot com> 2010-09-17 08:25:08 PDT
             Re: [Subclipse-dev] svnClientAdapter failed to build? markphip Mark Phippard 2010-09-17 08:34:20 PDT
                 Re: [Subclipse-dev] svnClientAdapter failed to build? Shawn Jin <shawnemails at gmail dot com> Shawn Jin <shawnemails at gmail dot com> 2010-09-17 08:52:28 PDT
         Re: [Subclipse-dev] svnClientAdapter failed to build? jcompagner jcompagner 2010-09-17 08:54:42 PDT
             Re: [Subclipse-dev] svnClientAdapter failed to build? markphip Mark Phippard 2010-09-17 09:07:34 PDT
Messages per page: