Details

    • Type: New Feature
    • Status: Open
    • Priority: 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.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            adreghiciu@gmail.com 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
            adreghiciu@gmail.com 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.org 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.org 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
            kork 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
            kork 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:
                adreghiciu@gmail.com Alin Dreghiciu
                Reporter:
                adreghiciu@gmail.com Alin Dreghiciu
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Development