There is a much more straightforward way to get to the Project Properties screen. Simply;
Open NetBeans Open the project. Click on the File menu and from the drop down musn that opens select the Project Properties option. Then you can proceed as described in my previous message. Also, I forgot to mention the 'Exclude From JAR File' field; I guess that it is obvious what this fileds funtion is but I did not mention what to put into it. I use a simple regex that looks like this - **/*.java,**/*.form - and I cannot claim any credit for authorship, this is simply the default that NetBeans created for me when I began using the package. I am guessing that you may need to enter it manually after checking the Build JAR after Compiling check box. Finally, the name of the JAR file should be defaulted into the top field as it is not editable. I cannot believe that there is another location somewhere that allows you to specify the folder the archive ought to be created in; and of course the name of the JAR will be taken from the package statement or location you specified for the project. Hope this helps. Yours Mark B Dave Coventry-4 wrote: > > Hi Mark, > > 2009/12/15 MSB <[email protected]>: >> Now, one of the easiest ways to achieve all of this is to use the >> contents >> of the dist sub-folder that Netbeans will create for you. It will create >> an >> archive that contains your class and ensure that the other archives your >> application needs are copied into it's lib sub-folder. > > It seems I was a little overoptimistic. > > I have written the Java code without error. > > However, I am unable to generate the dist subfolder tha you mention. > > Nether can I get it to create an archive with my class and the other > archives. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > -- View this message in context: http://old.nabble.com/Installing-the-POI-jars-for-Netbeans-tp26765779p26925910.html Sent from the POI - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
