The Source for Java Technology Collaboration

Home » java.net Forums » GlassFish » Metro and JAXB

Thread: Building 1.4 using extra sources in NetBeans

Welcome, Guest Help
Login Login
Guest Settings Guest Settings
This question is not answered. Helpful answers available: 2. Correct answers available: 1.

Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 1 - Last Post: Nov 24, 2008 1:20 AM by: Fabian Ritzmann
pbw

Posts: 24
Building 1.4 using extra sources in NetBeans
Posted: Nov 23, 2008 6:26 PM
 
  Click to reply to this thread Reply

I asked a similar question in the NetBeans mailing list without getting any response, so I'll try here.

The source distribution of metro 1.4 contains numerous zipped sources; one for pretty much each of the jars required in running metro.

I tried deleting most of these src zips from the relevant lib subdirectory. I was able to clean and rebuild without complaint.

How can I incorporate these sources into my metro build so that I can debug through them using NetBeans?

Peter

Fabian Ritzmann
Re: Building 1.4 using extra sources in NetBeans
Posted: Nov 24, 2008 1:20 AM   in response to: pbw
  Click to reply to this thread Reply

On 24. Nov 2008, at 04:26, metro@javadesktop.org wrote:

> I asked a similar question in the NetBeans mailing list without
> getting any response, so I'll try here.
>
> The source distribution of metro 1.4 contains numerous zipped
> sources; one for pretty much each of the jars required in running
> metro.
>
> I tried deleting most of these src zips from the relevant lib
> subdirectory. I was able to clean and rebuild without complaint.
>
> How can I incorporate these sources into my metro build so that I
> can debug through them using NetBeans?

Depends on the type of project I guess, but usually select the Project
Properties, select the Libraries category, press Add Library..., press
Create... and a few clicks later you should be able to configure the
archives with the sources for your library.

When you run the debugger, make sure that the sources are actually
enabled. Go to Windows, then Debugging, then Sources and verify that
your sources are checked.

Fabian

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@metro.dev.java.net
For additional commands, e-mail: users-help@metro.dev.java.net





 XML java.net RSS