Re: Creer un executable sur Mac OS X

Pierre-François HAUVETTE <[email protected]>
Newsgroups gmane.comp.java.netbeans.general.french
Message-ID <[email protected]>
Je m'suis mal exprimé:
J'ai créée un 'module suite project' qui me permet de developper une 
appli qui utilise la platforme de Netbeans et certains de ses outils.
Y a quelques exemples de ce principe-là: 
http://platform.netbeans.org/index.html

Lorsque je fait 'build', alors je n'ai  pas de dossier 'dist'. J'obtiens 
ce dossier lorsque je fait 'build ZIP distribution'.
Dans ce dossier zippé, j'ai alors l'appli executable pour windows, un 
script bash, et toute l'arborescence des libraries, mais pas de jar 
executable (du moins j'ai pas trouvé).

Ma question est donc comment faire un executable pour mac, ou alors un 
jar executable à partir de tout cela?

PIF

Laurent Forêt wrote:

>Inline
>
>On 3/23/06, Pierre-François HAUVETTE <[email protected]> wrote:
>  
>
>>Bonjour à tous,
>>
>>Je suis nouveau sur la liste, et nouveau dans le developpement avec
>>netbeans...
>>    
>>
>Bienvenu, plus on est de fou  ...
>
>  
>
>>Je suis en train de faire une appli à partir de la platform de netbeans5.
>>    
>>
>Bonne idée ;) !
>
>  
>
>>Lorsque je lui demande de creer l'archive ZIP, il me creer un executable
>>windows, et un script bash.
>>    
>>
>Comment ca, c'est nouveau ca ! Aurais je loupé quelque chose ?
>
>  
>
>>Ma question: comment utiliser tout ceci pour faire un executable mac??
>>Bref, un bundle?
>>    
>>
>
>Un jar exécutable n'est il pas suffisant ?
>
>le build te génére un jar éxécutable dans dist avec le
>META-INF/manifest.mf tout bien renseigné si je ne m'abuse .
>
>
>  
>
>>PIF
>>
>>    
>>
>
>Hercule ;) !
>
>
>ps : POUR infos :
>
>========================
>BUILD OUTPUT DESCRIPTION
>========================
>
>When you build an Java application project that has a main class, the IDE
>automatically copies all of the JAR
>files on the projects classpath to your projects dist/lib folder. The IDE
>also adds each of the JAR files to the Class-Path element in the application
>JAR files manifest file (MANIFEST.MF).
>
>To run the project from the command line, go to the dist folder and
>type the following:
>
>java -jar "yourApp.jar"
>
>To distribute this project, zip up the dist folder (including the lib folder)
>and distribute the ZIP file.
>
>Notes:
>
>* If two JAR files on the project classpath have the same name, only the first
>JAR file is copied to the lib folder.
>* If the classpath contains a folder of classes or resources, none of the
>classpath elements are copied to the dist folder.
>* If a library on the projects classpath also has a Class-Path element
>specified in the manifest,the content of the Class-Path element has to be on
>the projects runtime path.
>* To set a main class in a standard Java project, right-click the project node
>in the Projects window and choose Properties. Then click Run and enter the
>class name in the Main Class field. Alternatively, you can manually type the
>class name in the manifest Main-Class element.
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [email protected]
>For additional commands, e-mail: [email protected]
>
>
>
>  
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.