You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by lk...@apache.org on 2022/01/17 19:14:25 UTC
[netbeans] branch master updated: Moving snap packaging to netbeans-tools repo
This is an automated email from the ASF dual-hosted git repository.
lkishalmi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans.git
The following commit(s) were added to refs/heads/master by this push:
new 0d32f3f Moving snap packaging to netbeans-tools repo
0d32f3f is described below
commit 0d32f3f568881c1d649e0c63c55430d8b94b315c
Author: Laszlo Kishalmi <la...@gmail.com>
AuthorDate: Fri Nov 26 13:19:51 2021 -0800
Moving snap packaging to netbeans-tools repo
---
.../netbeans-dev_snap/snap/gui/netbeans.desktop | 26 --------
.../netbeans-dev_snap/snap/snapcraft.yaml | 77 ----------------------
.../netbeans_snap/snap/gui/netbeans.desktop | 26 --------
.../packaging/netbeans_snap/snap/snapcraft.yaml | 67 -------------------
4 files changed, 196 deletions(-)
diff --git a/nbbuild/packaging/netbeans-dev_snap/snap/gui/netbeans.desktop b/nbbuild/packaging/netbeans-dev_snap/snap/gui/netbeans.desktop
deleted file mode 100644
index ad720d3..0000000
--- a/nbbuild/packaging/netbeans-dev_snap/snap/gui/netbeans.desktop
+++ /dev/null
@@ -1,26 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-[Desktop Entry]
-Type=Application
-Encoding=UTF-8
-Name=Apache NetBeans (development)
-Comment=Apache NetBeans, The Smarter Way to Code
-Exec=netbeans-dev.netbeans %F
-Categories=Development;IDE
-Icon=${SNAP}/meta/gui/icon.png
-Terminal=false
-
diff --git a/nbbuild/packaging/netbeans-dev_snap/snap/snapcraft.yaml b/nbbuild/packaging/netbeans-dev_snap/snap/snapcraft.yaml
deleted file mode 100644
index 51aad31..0000000
--- a/nbbuild/packaging/netbeans-dev_snap/snap/snapcraft.yaml
+++ /dev/null
@@ -1,77 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-name: netbeans-dev
-
-summary: Apache NetBeans IDE (Development Build)
-description: |
- Disclaimer:
- This is an in Development Build of Apache NetBeans IDE , this is for sole
- testing purposes and shall be not considered as a release.
-
- This package is refreshed weekly automatically from the NetBeans master
- repository. Take it as it is, there are no additional testing is being
- made on these builds.
-
- Apache NetBeans IDE lets you quickly and easily develop Java
- desktop, enterprise, and web applications, as well as HTML5 applications
- with HTML, JavaScript, and CSS. The IDE also provides a great set of tools for
- PHP and C/C++ developers.
- It is free and open source and has a large community of users and developers
- around the world.
-
- It requires Java 8 or later Java Development Kit installed.
-
-icon: ../../../platform/core.startup/src/org/netbeans/core/startup/frame512.png
-confinement: classic
-grade: devel
-architectures: [ amd64 ]
-adopt-info: netbeans-version
-
-parts:
- netbeans-version:
- plugin: dump
- source: .
- override-pull: |
- snapcraftctl pull
- snapcraftctl set-version "$(date +%Y%m%d)"
-
- build:
- build-attributes: [ no-patchelf ]
- build-packages:
- - unzip
- - openjdk-11-jdk-headless
- plugin: ant
- source: ../../../
- filesets:
- netbeans: [ netbeans/*, -netbeans/*.built ]
- override-build: |
- export JAVA_HOME="/usr/lib/jvm/java-11-openjdk-amd64"
- ant -quiet -Djavac.compilerargs=-nowarn -Dbuild.compiler.deprecation=false -Dbuildnumber=$(date +%Y%m%d) -Dmetabuild.jsonurl=https://raw.githubusercontent.com/apache/netbeans-jenkins-lib/master/meta/netbeansrelease.json
- mv nbbuild/netbeans $SNAPCRAFT_PART_INSTALL/netbeans
- # Make the default cache and data directory relative to Snap user directory
- sed -i 's/${HOME}\/.netbeans/${SNAP_USER_DATA}\/data/' $SNAPCRAFT_PART_INSTALL/netbeans/bin/netbeans
- sed -i 's/${HOME}\/.cache\/netbeans/${SNAP_USER_DATA}\/cache/' $SNAPCRAFT_PART_INSTALL/netbeans/bin/netbeans
- sed -i 's/"${DEFAULT_USERDIR_ROOT}\/.*"/"${DEFAULT_USERDIR_ROOT}"/g' $SNAPCRAFT_PART_INSTALL/netbeans/etc/netbeans.conf
- sed -i 's/"${DEFAULT_CACHEDIR_ROOT}\/.*"/"${DEFAULT_CACHEDIR_ROOT}"/g' $SNAPCRAFT_PART_INSTALL/netbeans/etc/netbeans.conf
- sed -i 's/-J-Dapple.laf.useScreenMenuBar=true/-J-Dplugin.manager.install.global=false/' $SNAPCRAFT_PART_INSTALL/netbeans/etc/netbeans.conf
- chmod a+r $SNAPCRAFT_PART_INSTALL/netbeans/etc/netbeans.conf
- stage:
- - $netbeans
-
-apps:
- netbeans:
- command: netbeans/bin/netbeans
diff --git a/nbbuild/packaging/netbeans_snap/snap/gui/netbeans.desktop b/nbbuild/packaging/netbeans_snap/snap/gui/netbeans.desktop
deleted file mode 100644
index 3fc953f..0000000
--- a/nbbuild/packaging/netbeans_snap/snap/gui/netbeans.desktop
+++ /dev/null
@@ -1,26 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-[Desktop Entry]
-Type=Application
-Encoding=UTF-8
-Name=Apache NetBeans
-Comment=Apache NetBeans, The Smarter Way to Code
-Exec=netbeans %F
-Categories=Development;IDE
-Icon=${SNAP}/meta/gui/icon.png
-Terminal=false
-
diff --git a/nbbuild/packaging/netbeans_snap/snap/snapcraft.yaml b/nbbuild/packaging/netbeans_snap/snap/snapcraft.yaml
deleted file mode 100644
index a90c600..0000000
--- a/nbbuild/packaging/netbeans_snap/snap/snapcraft.yaml
+++ /dev/null
@@ -1,67 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-name: netbeans
-
-summary: Apache NetBeans IDE
-description: |
- Apache NetBeans IDE lets you quickly and easily develop Java
- desktop, enterprise, and web applications, as well as HTML5 applications
- with HTML, JavaScript, and CSS. The IDE also provides a great set of tools for
- PHP and C/C++ developers.
- It is free and open source and has a large community of users and developers
- around the world.
-
- It requires Java 8 or later Java Development Kit installed.
-
-icon: ../../../platform/core.startup/src/org/netbeans/core/startup/frame512.png
-confinement: classic
-grade: stable
-architectures: [ amd64 ]
-adopt-info: netbeans-version
-
-parts:
- netbeans-version:
- plugin: dump
- source: .
- override-pull: |
- snapcraftctl pull
- snapcraftctl set-version "${VERSION}"
- parse-info: []
-
- build:
- build-attributes: [ no-patchelf ]
- build-packages:
- - unzip
- - openjdk-8-jdk-headless
- plugin: ant
- source: ../../../
- filesets:
- netbeans: [ netbeans/*, -netbeans/*.built ]
- override-build: |
- export JAVA_HOME="/usr/lib/jvm/java-8-openjdk-amd64"
- ant -quiet -Djavac.compilerargs=-nowarn -Dbuild.compiler.deprecation=false -Dmetabuild.jsonurl=https://raw.githubusercontent.com/apache/netbeans-jenkins-lib/master/meta/netbeansrelease.json
- mv nbbuild/netbeans $SNAPCRAFT_PART_INSTALL/netbeans
- # Make the default cache and data directory relative to Snap user directory
- sed -i 's/${HOME}\/.netbeans/${SNAP_USER_COMMON}\/data/' $SNAPCRAFT_PART_INSTALL/netbeans/bin/netbeans
- sed -i 's/${HOME}\/.cache\/netbeans/${SNAP_USER_COMMON}\/cache/' $SNAPCRAFT_PART_INSTALL/netbeans/bin/netbeans
- sed -i 's/-J-Dapple.laf.useScreenMenuBar=true/-J-Dplugin.manager.install.global=false/' $SNAPCRAFT_PART_INSTALL/netbeans/etc/netbeans.conf
- stage:
- - $netbeans
-
-apps:
- netbeans:
- command: netbeans/bin/netbeans
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists