diff --git a/doc/dev_macosx.md b/doc/dev_macosx.md index 8d1b5ab..4760e63 100644 --- a/doc/dev_macosx.md +++ b/doc/dev_macosx.md @@ -1,8 +1,29 @@ # bndtools.p2.repo ```bash +################################## +# testing with local file urls +################################## + +# https://wiki.eclipse.org/Eclipse_Oomph_Authoring#Testing_a_Setup_in_a_Clean_Environment +vmargs="-vmargs -Duser.home=$(pwd)/.oomph/user.home -Doomph.setup.user.home.redirect=true" + +# bnd next on master +"/Applications/Eclipse Installer.app/Contents/MacOS/eclipse-inst" \ + file:///$(pwd)/setup/config_ecl-latest_bnd-next_on_master.setup ${vmargs} + +# bnd next on next +"/Applications/Eclipse Installer.app/Contents/MacOS/eclipse-inst" \ + file:///$(pwd)/setup/config_ecl-latest_bnd-next_on_next.setup ${vmargs} + +# bnd release on master +"/Applications/Eclipse Installer.app/Contents/MacOS/eclipse-inst" \ + file:///$(pwd)/setup/config_ecl-latest_bnd-release_on_master.setup ${vmargs} + +# bnd release on next "/Applications/Eclipse Installer.app/Contents/MacOS/eclipse-inst" \ - file:///$(pwd)/setup/config_bnd-master_ecl-latest.setup + file:///$(pwd)/setup/config_ecl-latest_bnd-release_on_next.setup ${vmargs} + ``` https://www.eclipse.org/setups/installer/?url=https://raw.githubusercontent.com/eclipse-oomph/oomph/master/setups/configurations/OomphConfiguration.setup&show=true @@ -11,15 +32,23 @@ https://shields.io/badges/static-badge ```bash +############################## +# launch with github setups +############################## + +# bnd next on master "/Applications/Eclipse Installer.app/Contents/MacOS/eclipse-inst" \ https://raw.githubusercontent.com/bndtools/bndtools.p2.repo/master/setup/config_ecl-latest_bnd-next_on_master.setup +# bnd next on next "/Applications/Eclipse Installer.app/Contents/MacOS/eclipse-inst" \ https://raw.githubusercontent.com/bndtools/bndtools.p2.repo/master/setup/config_ecl-latest_bnd-next_on_next.setup +# bnd release on master "/Applications/Eclipse Installer.app/Contents/MacOS/eclipse-inst" \ https://raw.githubusercontent.com/bndtools/bndtools.p2.repo/master/setup/config_ecl-latest_bnd-release_on_master.setup +# bnd release on next "/Applications/Eclipse Installer.app/Contents/MacOS/eclipse-inst" \ https://raw.githubusercontent.com/bndtools/bndtools.p2.repo/master/setup/config_ecl-latest_bnd-release_on_next.setup diff --git a/setup/index.html b/setup/index.html deleted file mode 100644 index d61ca00..0000000 --- a/setup/index.html +++ /dev/null @@ -1,18 +0,0 @@ - - - - - \ No newline at end of file diff --git a/setup/prj-bnd.setup b/setup/prj-bnd.setup index ed12efa..1d27d35 100644 --- a/setup/prj-bnd.setup +++ b/setup/prj-bnd.setup @@ -43,8 +43,23 @@ + id="git.clone.bnd" + remoteURI="bndtools/bndtools.p2.repo"> + + + github.remoteURIs + + + ${scope.project.label} Github repository + + + remoteURI + + ${scope.project.label} Set an Oomph redirection system property to redirect the logical location of this setup to its physical location in the Git clone. @@ -181,7 +196,7 @@ bndtools.test bndtools.core.test/resource @@ -226,7 +241,7 @@ xsi:type="setup:EclipseIniTask" disabled="true" option="-Doomph.redirection.bndtools" - value="=https://raw.githubusercontent.com/bndtools/bnd/master/.../BndtoolsBnd.setup->${git.clone.bndtools.location|uri}/.../BndtoolsBnd.setup" + value="=https://raw.githubusercontent.com/bndtools/bnd/master/.../BndtoolsBnd.setup->${git.clone.bnd.location|uri}/.../BndtoolsBnd.setup" vm="true"> Set an Oomph redirection system property to redirect the logical location of this setup to its physical location in the Git clone. @@ -281,7 +296,7 @@ biz.aQute.bndlib.tests biz.aQute.repository @@ -293,7 +308,7 @@ + rootFolder="${git.clone.bnd.location}/maven-plugins"/> + + + + + + Initialize JDT's package explorer to show working sets as its root objects + + <?xml version="1.0" encoding="UTF-8"?> + <section name="Workbench"> + <section name="org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart"> + <item value="true" key="group_libraries"/> + <item value="false" key="linkWithEditor"/> + <item value="2" key="layout"/> + <item value="2" key="rootMode"/> + <item value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#x0D;&#x0A;&lt;packageExplorer configured=&quot;true&quot; group_libraries=&quot;1&quot; layout=&quot;2&quot; linkWithEditor=&quot;0&quot; rootMode=&quot;2&quot; sortWorkingSets=&quot;false&quot; workingSetName=&quot;&quot;&gt;&#x0D;&#x0A;&lt;localWorkingSetManager&gt;&#x0D;&#x0A;&lt;workingSet editPageId=&quot;org.eclipse.jdt.internal.ui.OthersWorkingSet&quot; factoryID=&quot;org.eclipse.ui.internal.WorkingSetFactory&quot; id=&quot;1382792884467_1&quot; label=&quot;Other Projects&quot; name=&quot;Other Projects&quot;/&gt;&#x0D;&#x0A;&lt;/localWorkingSetManager&gt;&#x0D;&#x0A;&lt;activeWorkingSet workingSetName=&quot;Other Projects&quot;/&gt;&#x0D;&#x0A;&lt;allWorkingSets workingSetName=&quot;Other Projects&quot;/&gt;&#x0D;&#x0A;&lt;/packageExplorer&gt;" key="memento"/> + </section> + </section> + + + + + Install the tools needed in the IDE to work with the source code for ${scope.project.label} + + + + + github.remoteURIs + + + ${scope.project.label} Github repository + + + remoteURI + + + ${scope.project.label} + + + + + + + + + + + defaultPerspectiveId=bndtools.perspective + showIntro=false + + + + + + WORKSPACE_NAME=bnd-${scope.project.stream.label} + org.eclipse.ui.internal.views.markers.CachedMarkerBuilderorg.eclipse.ui.views.ProblemView=<?xml version\="1.0" encoding\="UTF-8"?>\n<filterGroups andFilters\="false" markerLimit\="250" markerLimitEnabled\="true">\n<filterGroup IMemento.internal.id\="org.eclipse.ui.ide.projectErrorsWarningsGrouping" enabled\="true" filterLimit\="-1" scope\="3">\n<fieldFilter IMemento.internal.id\="org.eclipse.ui.ide.severityAndDescriptionField" containsModifier\="CONTAINS" containsText\="" selectedSeverities\="6"/>\n<fieldFilter IMemento.internal.id\="org.eclipse.ui.ide.markerType"/>\n</filterGroup>\n<filterGroup IMemento.internal.id\="org.eclipse.ui.ide.selectedErrorsWarningsGrouping" enabled\="false" filterLimit\="-1" scope\="2">\n<fieldFilter IMemento.internal.id\="org.eclipse.ui.ide.severityAndDescriptionField" containsModifier\="CONTAINS" containsText\="" selectedSeverities\="6"/>\n<fieldFilter IMemento.internal.id\="org.eclipse.ui.ide.markerType"/>\n</filterGroup>\n<filterGroup IMemento.internal.id\="org.eclipse.ui.ide.selectedWarningsGrouping" enabled\="false" filterLimit\="-1" scope\="2">\n<fieldFilter IMemento.internal.id\="org.eclipse.ui.ide.severityAndDescriptionField" containsModifier\="CONTAINS" containsText\="" selectedSeverities\="2"/>\n<fieldFilter IMemento.internal.id\="org.eclipse.ui.ide.markerType"/>\n</filterGroup>\n<filterGroup IMemento.internal.id\="org.eclipse.ui.ide.errorsFilter" enabled\="false" filterLimit\="-1" scope\="0">\n<fieldFilter IMemento.internal.id\="org.eclipse.ui.ide.severityAndDescriptionField" containsModifier\="CONTAINS" containsText\="" selectedSeverities\="4"/>\n<fieldFilter IMemento.internal.id\="org.eclipse.ui.ide.markerType"/>\n</filterGroup>\n</filterGroups> + + + + + + + Set the heap space needed to work with the projects of ${scope.project.label} + + + + + + + + + + + + + Set an Oomph redirection system property to redirect the logical location of this setup to its physical location in the Git clone. + Before enabling this task, replace '...' with the repository path of this setup's containing project. + + + + + + + + + + + + + + + + + + + + + Define the JRE needed to compile and run the Java projects of ${scope.project.label} + JavaSE-17 + + + + + bndtools.test + bndtools.core.test/resource + + + + + + + + + + + + + + + + + Set an Oomph redirection system property to redirect the logical location of this setup to its physical location in the Git clone. + Before enabling this task, replace '...' with the repository path of this setup's containing project. + + + + + + + + + + + + + + + + + + + + + Define the JRE needed to compile and run the Java projects of ${scope.project.label} + JavaSE-17 + + + + + biz.aQute.bndlib.tests + biz.aQute.repository + bndtools.test + bndtools.core.test + maven-plugins + + + + + + + + + + + + + + + + + + bndtools/bnd provides cool stuff. + diff --git a/site/index.html b/site/index.html index 1ae878c..094eb9d 100644 --- a/site/index.html +++ b/site/index.html @@ -32,7 +32,8 @@ } .toggle-btn { - padding: 8px; + padding: 2px; + font-size: 10px; background-color: #007bff; color: white; border: none; @@ -56,7 +57,7 @@

released bndtools for bugfixing of latest released bndtools sources

alt="eclipse + bnd release on bndtools next" /> - +
"/Applications/Eclipse Installer.app/Contents/MacOS/eclipse-inst" \
@@ -118,8 +119,10 @@ 

p2 repository

// Toggle visibility if (content.style.display === "none") { content.style.display = "block"; + button.textContent = "hide terminal instructions"; // Change button text } else { content.style.display = "none"; + button.textContent = "display terminal instructions"; // Change button text } }