Page 3 of 3
Re: Netbeans 6.8 / Glassfish 3 / Java EE 6
Posted: 16. Dec 2009, 19:23
by damNageHack
Thanks, but I understand the licence (see above) so that I am not allowed to split the package in parts over several folders. I go with thenktor, use of /usr/lib/netbeans[-6.8} and add the folder to execution path (or create a start script in /usr/bin).
Re: Netbeans 6.8 / Glassfish 3 / Java EE 6
Posted: 16. Dec 2009, 20:22
by JRD
No, according to the licence, you have the right to move the files in different folders in a package.
(a) You distribute the Redistributable complete and unmodified and only bundled
as part of Your applets and applications ("Programs"),
You must not modify the files or drop some of them. But you can move the config files in /etc/.
/usr/lib/netbean-ver is the right place. Do not use "/opt" as in the slackbuild example.
config files must go to /etc or a subdirectory. using ".new" in another directory (like /opt in the slackbuild example) does not work.
Re: Netbeans 6.8 / Glassfish 3 / Java EE 6
Posted: 25. Dec 2009, 16:41
by damNageHack
Here is another one as an alternative:
http://repository.slacky.eu/slackware-1 ... SlackBuild
I have to investigate in it a little bit.
Re: Netbeans 6.8 / Glassfish 3 / Java EE 6
Posted: 26. Dec 2009, 21:02
by damNageHack
JRD wrote:using ".new" in another directory (like /opt in the slackbuild example) does not work.
".new" files will be handled by doinst.sh, see
http://slackbuilds.org/slackbuilds/13.0 ... /doinst.sh
http://repository.slacky.eu/slackware-1 ... /doinst.sh
So, what is the correct Salix way of doing?
Building packages with slkbuild
Features
Optional
* dotnew - These are generally configuration files. They will be renamed with a .new extension and the appropriate addition will be made to the doinst.sh to move them over if appropriate to do so during install.
Re: Netbeans 6.8 / Glassfish 3 / Java EE 6
Posted: 2. Jan 2010, 19:01
by damNageHack
http://netbeans.org/community/releases/68/install.html#requiredsoftware wrote:
Required Software
Before you install the IDE, the Java SE Development Kit (JDK) 5.0 Update 19 (version 1.5.0_19) or JDK 6 Update 14 or newer must be installed on your system. If you do not have an installation of JDK, you cannot proceed with the installation. You can download the latest JDK version at
http://java.sun.com/javase/downloads.
For the PHP, Ruby, and C/C++ download options, you can install the JRE instead of the JDK. However, if you are planning to use any of the Java features, you will need the JDK.
This means for my package:
Dependencies required: jre (OR) jdk
Suggestions (strongly recommended): jdk
Other suggestions: apache-maven
For C/C++/Fortran support please take a look at
http://netbeans.org/community/releases/ ... tions.html
I would appreciate getting some test reports for using C/C++/Fortran with netbeans. Maybe I can then add suggestions for additional compiler tools required for the plugin of Netbeans.
Because build-netbeans.sh uses the OS independent zip file, Glassfish and Tomcat are not parts of my netbeans package. Therefore also availabe with arch=noarch, Netbeans is written in java and uses some additional embedded jars.
I hope that you can confirm with my decisions here.

Re: Netbeans 6.8 / Glassfish 3 / Java EE 6
Posted: 2. Jan 2010, 20:20
by damNageHack
-rw-r--r-- 1 raphael users 844 2010-01-02 19:02 README
-rw-r--r-- 1 raphael users 495 2010-01-02 20:03 community.txt
-rw-r--r-- 1 raphael users 927 2010-01-02 00:48 doinst.sh
-rw------- 1 raphael users 227M 2009-12-10 03:09 netbeans-6.8-200912091457-ml.zip
-rw-r--r-- 1 raphael users 8 2010-01-02 20:45 netbeans-6.8-noarch-1rg.dep
-rw-r--r-- 1 raphael users 67 2010-01-02 20:45 netbeans-6.8-noarch-1rg.md5
-rw-r--r-- 1 raphael users 17 2010-01-02 20:45 netbeans-6.8-noarch-1rg.sug
-rw-r--r-- 1 raphael users 186M 2010-01-02 20:45 netbeans-6.8-noarch-1rg.txz
-rwxr-xr-x 1 raphael users 3,4K 2010-01-02 20:10 netbeans.SlackBuild
-rw-r--r-- 1 raphael users 177 2009-08-21 11:42 netbeans.desktop
-rw-r--r-- 1 raphael users 1,2M 2010-01-02 20:16 netbeans.log
-rw-r--r-- 1 raphael users 1,9K 2009-10-01 04:30 netbeans.png
-rw-r--r-- 1 raphael users 1,2K 2010-01-02 19:23 slack-desc
Is this according to your rules and needs? Notice that the .txz file has 186MB

Re: Netbeans 6.8 / Glassfish 3 / Java EE 6
Posted: 2. Jan 2010, 21:58
by gapan
No way to tell anything from that list.
Re: Netbeans 6.8 / Glassfish 3 / Java EE 6
Posted: 4. Jan 2010, 00:18
by damNageHack
Here you go:
https://sourceforge.net/apps/trac/salix/ticket/167
Notice that *no server* (Glassfish, Tomcat) is included.