[done] Netbeans 6.8 / Glassfish 3 / Java EE 6

If there's software you need and you can't find, make a request for it.
User avatar
damNageHack
Posts: 663
Joined: 24. Sep 2009, 17:07

Re: Netbeans 6.8 / Glassfish 3 / Java EE 6

Post by damNageHack »

fredg wrote:Here is a good example :
<span><a linkindex="36" href="http://slackbuilds.org/slackbuilds/13.0 ... SlackBuild" class="smarterwiki-linkify">http://slackbuilds.org/slackbuilds/13.0 ... </a></span>

++
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).
Image
This is the oppinion of the author, it does not force you to share and is signed automatically.
You are free to keep them all errors for your own. Linux is the best game I ever played.
User avatar
JRD
Salix Warrior
Posts: 950
Joined: 7. Jun 2009, 22:52
Location: Lyon, France

Re: Netbeans 6.8 / Glassfish 3 / Java EE 6

Post 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.
Image
User avatar
damNageHack
Posts: 663
Joined: 24. Sep 2009, 17:07

Re: Netbeans 6.8 / Glassfish 3 / Java EE 6

Post by damNageHack »

fredg wrote:Here is a good example :
http://slackbuilds.org/slackbuilds/13.0 ... SlackBuild

++
Here is another one as an alternative:

http://repository.slacky.eu/slackware-1 ... SlackBuild

I have to investigate in it a little bit.
Image
This is the oppinion of the author, it does not force you to share and is signed automatically.
You are free to keep them all errors for your own. Linux is the best game I ever played.
User avatar
damNageHack
Posts: 663
Joined: 24. Sep 2009, 17:07

Re: Netbeans 6.8 / Glassfish 3 / Java EE 6

Post 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.
Image
This is the oppinion of the author, it does not force you to share and is signed automatically.
You are free to keep them all errors for your own. Linux is the best game I ever played.
User avatar
damNageHack
Posts: 663
Joined: 24. Sep 2009, 17:07

Re: Netbeans 6.8 / Glassfish 3 / Java EE 6

Post 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.
http://netbeans.org/community/releases/68/install.html#install_zip wrote: Note: Note that the runtimes, such as the GlassFish application server and Apache Tomcat, are available only with platform-specific installers.
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. :)
Image
This is the oppinion of the author, it does not force you to share and is signed automatically.
You are free to keep them all errors for your own. Linux is the best game I ever played.
User avatar
damNageHack
Posts: 663
Joined: 24. Sep 2009, 17:07

Re: Netbeans 6.8 / Glassfish 3 / Java EE 6

Post 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 :!:
Image
This is the oppinion of the author, it does not force you to share and is signed automatically.
You are free to keep them all errors for your own. Linux is the best game I ever played.
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: Netbeans 6.8 / Glassfish 3 / Java EE 6

Post by gapan »

No way to tell anything from that list.
Image
Image
User avatar
damNageHack
Posts: 663
Joined: 24. Sep 2009, 17:07

Re: Netbeans 6.8 / Glassfish 3 / Java EE 6

Post by damNageHack »

Here you go:

https://sourceforge.net/apps/trac/salix/ticket/167

Notice that *no server* (Glassfish, Tomcat) is included.
Image
This is the oppinion of the author, it does not force you to share and is signed automatically.
You are free to keep them all errors for your own. Linux is the best game I ever played.
Post Reply