Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8756315
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T14:03:08+00:00 2026-06-13T14:03:08+00:00

I have used add as link option available in Visual Studio 2010 (Screen shot

  • 0

I have used add as link option available in Visual Studio 2010 (Screen
shot attached below).

https://dl.dropbox.com/u/70687768/link.png

Same thing I want to achieve in Java using NetBeans IDE.

When try to attach file it gives below ErrorAddAsLink.JPG.

https://dl.dropbox.com/u/70687768/ErrorAddAsLink.JPG

In brief I want to have a common code (Ex methods :
readFileAsString(path) , LoadXML(path) ) which will be kept at a
location and should be able to accessed by multiple projects (Not as
jar because I want to give access to everybody to see and alter those
methods too)

I referred below link , but not helpfull,

“Add as link” in Netbeans?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T14:03:10+00:00Added an answer on June 13, 2026 at 2:03 pm

    Just in case, I’m posting the steps on how you do what I describe in comments to the question (I’d consider this a viable alternative).

    1. create a Netbeans Java class library project for the code that you want shared
    2. commit this code to your SVN or a similar system (you can commit an entire project if you see that as beneficial)
    3. have your team check-out the code/project into a local working copy
    4. open this as a project in NB so it is beside the opened main project(s)
    5. add this project as a library to your main project(s); right-click Projects > [main-project-name] > Libraries and select “Add Project…”
    6. select the new java class library project and confirm

    Now your main project depends on another project’s JAR, so this JAR will be rebuilt whenever it’s code is updated and before main is built. You don’t have to build it individually.

    Each team member may now edit the common code and commit it to SVN (can be done through Netbeans IDE without any external clients such as Tortoise). Others just need to check for updates often enough and update when necessary.

    This has the same effect as having an external file as a link but it’s much more organized. I don’t think Netbeans has the exact feature you described.

    I’m assuming Netbeans is being used for Java coding in this case.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have used the folllowing steps to add classes to my build path still
I have only used MapRoute and slightly wondering where Routes.Add is used and on
I have used custom listview and custom rating bar. If I add that custom
I have used hook_form_FORM_ID_alter( ) function to alter a menu_edit_menu form to add few
I wish to add new contacts in WP7. I have used the following private
I used to have a great Firefox add-on for this and I can't remember
I have the following code below on my website. It's used to find the
I have used the silverlight control in CRM 2011.It also published on form but
We have used Shibboleth to authenticate users. It works great. The issue is that
I have used some jquery components in my web site, Suddenly i'm getting an

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.