Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Tools / February 2006

Tip: Looking for answers? Try searching our database.

netbean5 packaging travail

Thread view: 
C P - 08 Feb 2006 22:02 GMT
Hello
I have a project, an applet, that compiles and runs
fine with some 3rd party jars that are in the
libraries folder.  It never packages them into the
final project jar.  I fixed this problem for the
swing-layout with:

<jar update="true" destfile="${dist.jar}">
           <zipfileset
src="${libs.swing-layout.classpath}"/>
<!--            <zipfileset
src="${libs.3rdparty.classpath}"/> -->
       </jar>

unaware of the nameing convention and of course I dont
know how to get it to work with anything else.  Can
someone instruct what is necessary in config or
build.xml to get the 3rd party jars packaged?  tia.
Kroll, Michael - 10 Feb 2006 10:02 GMT
Hello,

I don't now it works for you.
I pack some extra packages for example:

    <target name="-post-jar">
        <jar update="true" destfile="${dist.jar}">
            <zipfileset src="${libs.swing-layout.classpath}" />
            <zipfileset src="${file.reference.ojdbc14.jar}" />
            <zipfileset src="${file.reference.looks-1.3.1.jar}" />
        </jar>
    </target>

I hope it help you.

Regards
Michael

Signature

http://www.smurfi.de
German NetBeans Site

C P - 10 Feb 2006 15:15 GMT
Hi Michael
Thanks for the response.  However I still dont understand the naming.  the EL
expression "${libs.swing-layout.classpath}" I understand as a Library module
called swing-layout.  But what is the classpath component.  Further how are
you using, where should the jars be for your reference?  Could your reference
be rewritten as "${libs.ojdbc14.classpath}" if you created that jar as a
Library?  Where is this nomenclature documented?  Is this Ant1.6?  Thanks for
any help.

>Hello,
>
[quoted text clipped - 13 lines]
>Regards
>Michael
C P - 10 Feb 2006 15:26 GMT
Hi Michael
Thanks for the response.  However I still dont understand the naming.  The EL
expression "${libs.swing-layout.classpath}" I understand as a Library module
called swing-layout. (That is not the full name, how does it know the correct
one).  But what is the classpath component?  Further how are you using, the
naming file.reference? Where should the jars be for your reference?  Could
your reference be rewritten as "${libs.ojdbc14.classpath}" if you created
that jar as a Library?  Where is this nomenclature documented?  Is this Ant1.
6?  Thanks for any help.

>Hello,
>
[quoted text clipped - 13 lines]
>Regards
>Michael
C P - 10 Feb 2006 19:39 GMT
Hi Michael
Thanks.  However I still dont understand the naming convention.  I somewhat
understand the EL phrase "${lib.swing-layout.classpath}", but the the jar
really is called swing-layout-1.0.jar.  How does it know the exact one to
pick?  Also what does the classpath component indicate?  That it wants the
jar on the classpath?  Isnt that redundant?  

Finally, newbies have these torrents of questions grin, where must the jars
be for your reference to work?  Could your reference be re-written as "${lib.
ojdbc14.classpath}"?  This nomenclature, is its namespace for Ant1.6 and is
that where I should followup?  Thanks for any additional help

>Hello,
>
[quoted text clipped - 13 lines]
>Regards
>Michael


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.