Re: eclipse jgit related compile errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Okay, now I'm seeing jgit compiler error with ptp:
> 
> ERROR] Failed to execute goal
> org.eclipse.tycho:tycho-compiler-plugin:0.21.0:compile (default-compile) on
> project org.eclipse.ptp.rdt.sync.git.core: Compilation failure: Compilation
> failure:
> [ERROR]
> /export/home/orion/fedora/eclipse-ptp/org.eclipse.ptp-9bb29a9a48849f848111613a27a5dff793123e83/rdt/org.eclipse.ptp.rdt.sync.git.core/src/org/eclipse/ptp/internal/rdt/sync/git/core/GitSyncFileFilter.java:[119]
> [ERROR] return (rule.getNegation() ? "!" : "") + rule.getPattern() +
> (rule.dirOnly() ? "/" : ""); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
> //$NON-NLS-4$
> [ERROR] ^^^^^^^^^^
> [ERROR] The method getPattern() is undefined for the type FastIgnoreRule
> [ERROR]
> /export/home/orion/fedora/eclipse-ptp/org.eclipse.ptp-9bb29a9a48849f848111613a27a5dff793123e83/rdt/org.eclipse.ptp.rdt.sync.git.core/src/org/eclipse/ptp/internal/rdt/sync/git/core/GitSyncFileFilter.java:[124]
> [ERROR] return rule.getPattern() + (rule.dirOnly() ? "/" : ""); //$NON-NLS-1$
> //$NON-NLS-2$
> [ERROR] ^^^^^^^^^^
> [ERROR] The method getPattern() is undefined for the type FastIgnoreRule
> [ERROR] 2 problems (2 errors)
> 
> Which appears to be caused by Fedora updating to jgit 3.7.0, but Eclipse Luna
> still using 3.4.2.  Anyone have some patches lying around to fix this?

I don't know if anyone has encountered it yet, but FastIgnoreRule seems to
have been patched in rawhide [1]. Could you try removing that and seeing if it
works ? Alex might be able to shed some light on why it was needed to begin
with.

As far as I can tell FastIgnoreRule completely restricts access to the
underlying pattern, but IgnoreRule should still work.

Cheers,
-- 
Roland Grunberg

[1] http://pkgs.fedoraproject.org/cgit/eclipse-ptp.git/tree/eclipse-ptp.spec#n336
--
java-devel mailing list
java-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/java-devel





[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux