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

Add KarafDistributionOption.systemBundle #53

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Flamenco
Copy link

@Flamenco Flamenco commented Dec 8, 2016

Copy link
Member

@hwellmann hwellmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please check README.md in the repository root, add some tests and use the project's formatting style.

Thanks!

import org.ops4j.pax.exam.options.ProvisionOption;
import org.ops4j.pax.exam.options.UrlReference;
import org.ops4j.pax.exam.karaf.options.SystemBundleOption;
import org.ops4j.pax.exam.options.*;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't use wildcard import.

private File file;


public SystemBundleOption(String aGroup, String artifact, String version, File file) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add Javadoc to all public classes.

}

/**
*
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Incomplete

}

/**
*
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Incomplete

if (file != null) {
try {
return new RawUrlReference(file.toURI().toURL().toString());
} catch (MalformedURLException e) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Incorrect formatting.

@Flamenco
Copy link
Author

Besides these issues, are we OK with combining both adding to system directory AND adding to properties file at same time?

@Flamenco
Copy link
Author

OK. Test added. I did not see any other tests for the standard options though...

We probably should add a start level parameter defaulting to '5', but besides that, anything else?

@rhierlmeier
Copy link

Any progress with this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants