Book a Demo

Author Topic: Importing DLLs and Jars once.  (Read 2968 times)

Pimenta

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Importing DLLs and Jars once.
« on: September 17, 2008, 12:11:07 am »
Hi.

I know how to import a DLL or Jar into my project.
Yesterday, I imported rt.jar into project 1. Today, I have to import the same rt.jar into project 2. Is it really necessary? Is there some way to import a Jar or DLL once and relate it with every new project?

I would like to know what is the needed DLLs for access the whole .NET platform class library, mainly accessing classes from C#. Any hint will be very helpful.

Thanks a lot.

Rodrigo Pimenta Carvalho.

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Importing DLLs and Jars once.
« Reply #1 on: September 17, 2008, 01:54:34 am »
First question:

There is no 'automatic' feature to do this, but that should not be a problem. Try exporting the package tree with your .jar file to XML. You can now import that tree into other packages. Depending on your needs and preferences you could strip GUIDs or not when doing this.

You might be able to set this up as a template to do the same thing.

If you do this often, try creating a template project with the .jar file tree. Then to create new projects with the same structure, use the Copy a Base Project hyperlink on the EA start page (near the upper left).

Second question:

There are a whole set of files, loosely corresponding to the main namespace hierarchy of .Net itself.

Look under your Windows folder, and you'll find a Microsoft.Net folder [or something similar if you have any third party .Net implementations, like Mono]. Under that you'll find a Framework folder, which provides yet another sub-folder for each version of .Net you have installed. The .dll files are there.

HTH, David
No, you can't have it!