Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jgit-dev] Errors compiling jgit(master)

2010/8/17 Shawn Pearce <spearce@xxxxxxxxxxx>
On Tue, Aug 17, 2010 at 4:03 AM, Matthias Sohn
<matthias.sohn@xxxxxxxxxxxxxx> wrote:
> 2010/8/17 Chris Aniszczyk <caniszczyk@xxxxxxxxx>
>>
>> On Mon, Aug 16, 2010 at 7:35 PM, Ketan Padegaonkar
>> <ketanpadegaonkar@xxxxxxxxx> wrote:
>> > Hey JGit team,
>> >
>> > I was trying to get my hands dirty building a git based browser using
>> > jruby+jgit. I got compiler errors when building jgit on java 1.5.
>> >
>> > The contribution guide mentions that jgit needs java 1.5 to build, which
>> > clearly does not seem to be the case according to the error message.
>> >
>> > The compile goes ahead when I switch to java 1.6. But I think this is
>> > something you might want to fix in the build scripts or the contribution
>> > guide.
>>
>> Maybe Shawn can shed some light on this but jgit.console's
>> Bundle-RequiredExecutionEnvironment is JavaSE-1.6 indicating that it
>> requires 1.6... jgit itself will run on 1.5+
>
> Yes, that's correct, org.eclipse.jgit.console is an optional bundle used by

In theory you can skip that bundle with -Djgit.java6.skip=true on the
Maven command line.  But last time I tried it I don't think it worked
as we expected.  :-(

I tried: the flag -Djgit.java6.skip works as you described when running
maven on the jgit parent pom.xml. 

--
Matthias

Back to the top