Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After bdd925b20 plugin lost the ability to run using defaults #63

Closed
velo opened this issue Aug 7, 2015 · 8 comments
Closed

After bdd925b20 plugin lost the ability to run using defaults #63

velo opened this issue Aug 7, 2015 · 8 comments

Comments

@velo
Copy link
Contributor

velo commented Aug 7, 2015

By reverting bdd925b I can run the plugin w/o any eclipse config.xml

If none is found, it does fall back to eclipse default configuration, which is, a good maven CoC practice.

@velo
Copy link
Contributor Author

velo commented Aug 7, 2015

Fixed at:
#64

@hazendaz
Copy link
Member

hazendaz commented Aug 7, 2015

That prior commit has a bug plus the entire point was to fix it so it reads resources like jars. Pretty sure the javascript formatter is broke this way. We should be able to do both...no settings plus all other options.

Sent by Outlook for Android

On Fri, Aug 7, 2015 at 4:02 PM -0700, "Marvin Froeder" notifications@github.com wrote:
Fixed at:
#64


Reply to this email directly or view it on GitHub:
#63 (comment)

@hazendaz
Copy link
Member

hazendaz commented Sep 8, 2015

Branch revert now exists for this as the original velo-merge was removed as it is in master. There were notes of merge conflicts so that will need rebased and looked at further.

@hazendaz
Copy link
Member

hazendaz commented Sep 8, 2015

Marked as both a bug and enhancement given the changes were to retain original functionality before merge and it's a loss on the other end so it sort of fits both types.

@velo
Copy link
Contributor Author

velo commented Sep 9, 2015

agreed

@hazendaz hazendaz changed the title After bdd925b20 plugin lost the hability to run using defautls After bdd925b20 plugin lost the hability to run using defaults Dec 14, 2015
@hazendaz hazendaz changed the title After bdd925b20 plugin lost the hability to run using defaults After bdd925b20 plugin lost the ability to run using defaults Sep 29, 2017
@hazendaz
Copy link
Member

hazendaz commented Oct 3, 2017

This issue was indirectly resolved as a result of issue #109 closed on PR #114

@hazendaz hazendaz closed this as completed Oct 3, 2017
@hazendaz
Copy link
Member

hazendaz commented Oct 3, 2017

@velo ok maybe this isn't fixed yet entirely. It no longer fails for missing setup but it actually has nothing to default back too. The only thing I can think in the code it attempts to do is setting some compilation level items. However, that section is not reachable code.

I suspect you are referring to this code snippit. Can you confirm? If so, should this apply for both java and javascript or everything in general?

// TODO Review this as this is not exactly reachable code as file can never be null (ie defaults or spaces)
        Map<String, String> options = new HashMap<>();
        options.put(JavaCore.COMPILER_SOURCE, this.compilerSource);
        options.put(JavaCore.COMPILER_COMPLIANCE, this.compilerCompliance);
        options.put(JavaCore.COMPILER_CODEGEN_TARGET_PLATFORM, this.compilerTargetPlatform);

        return options;

@hazendaz hazendaz reopened this Oct 3, 2017
@hazendaz
Copy link
Member

hazendaz commented Oct 6, 2017

Above code is not reachable. Reviewed overall code. That was set in two places. Both were not reachable. I have reconfigured this. I'll open a new ticket regarding this issue. I'm closing this one.

@hazendaz hazendaz closed this as completed Oct 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants