ops4j / org.ops4j.pax.runner

Multi Framework OSGi Runner
http://team.ops4j.org/wiki/display/paxrunner/
47 stars 39 forks source link

IntelliJ IDEA plugin [PAXRUNNER-77] #101

Open ops4j-issues opened 16 years ago

ops4j-issues commented 16 years ago

Alin Dreghiciu created PAXRUNNER-77

Will be nice to have a IntelliJ IDEA plugin that starts up Pax Runner and which allows to set the bundles to be deployed as well as exposing settings for Pax Runner options.


Votes: 0, Watches: 0

ops4j-issues commented 16 years ago

Alin Dreghiciu commented

Initial API proposed by NIclas (from mail list):
This should be shared between all the plugins.

public interface PaxRunner

{ RunProfile[] getRunProfiles(); void addRunProfile( RunProfile profile ); void deleteRunProfile( RunProfile profile ); RunController prepareRun( RunProfile profile ); BundleRepository[] getBundleRepositories(); }

public interface RunProfile
{
String getName();
RunFramework getFramework();
BundleInfo[] getBundleInfos();
boolean isFreshStart();
int getMaxHeap();
int getStartHeap();
int getStackSize();
Map getOsEnvironment();
Map getSystemProperties();
String[] getJvmArguments();
String[] getApplicationArguments();
}

public interface RunController
{
PrintStream getSystemOut();
void setSystemOut( PrintStream out );

PrintStream getSystemErr();
void setSystemErr( PrintStream err );

InputStream getSystemIn();
void setSystemIn( InputStream in );

void run();
}

public interface RunFramework
{
String getName();
String getVendor();
URL getDownloadSite();
:
:
}

public interface BundleRepository
{
BundleInfo[] getBundleInfo();
}

public interface BundleInfo
{
String getSymbolicName();
Version getVersion();
String getBundleName();
String getDescription();
URL getDownloadUrl();
URL getDocumentationUrl();
:
:
}

public class Version
implements Comparable
{
:
:
}

ops4j-issues commented 16 years ago

NiclasH commented

Have been looking at the existing code, and perhaps too much work to extract out an clean external API.

ops4j-issues commented 14 years ago

Jan Thomハ commented

Hi Alin,

seems your email is broken, so I try here :smile: I am trying to integrate Pax Runner into IntellIJ and have come pretty far with it. There are a few things to iron out, though, please contact me when you read this. Thanks.

Kind regards,
Jan