Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: IDE plugins
    • Labels:
      None

      Description

      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.

        Activity

        Hide
        Alin Dreghiciu added a comment -

        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
        {
        :
        :
        }

        Show
        Alin Dreghiciu added a comment - 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 { : : }
        Hide
        Niclas Hedhman added a comment -

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

        Show
        Niclas Hedhman added a comment - Have been looking at the existing code, and perhaps too much work to extract out an clean external API.
        Hide
        Jan Thomハ added a comment -

        Hi Alin,

        seems your email is broken, so I try here 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

        Show
        Jan Thomハ added a comment - Hi Alin, seems your email is broken, so I try here 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

          People

          • Assignee:
            Alin Dreghiciu
            Reporter:
            Alin Dreghiciu
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development