🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #1121

Re: How to make packages ?

#1121
From: Joi Ellis [TeamB]
Date: Sat, 11 May 2002 18:26
34 lines
2196 bytes
Vincent DOYELLE <vdoyelle@yahoo.fr> wrote:
> Hi all

> I hope this is the right forum.
> I 'm a novice in java programming and especially in creating packages.
> I have 2 projects (2 differents apps) but first needs infos provided by the 
> second. These projects have some classes which are exactly the same (for 
> now, in JB, the classes are stored twice in the 2 project directories with 
> 2 different package names.

> Is there a way to store once only and make my 2 projects referencing this 
> single store ? If yes, how ?

> I think this can be done via packages but I don't know how to create one 
> and whre to store it.

> TIA for giving me the way to do this.

> I'm using JB 5.0 ent on RH 7.1

> Projects are stored in jbproject/NetWatch and jbproject/Agent (top 
> directories).

Pretend your two projects are 3rd party libraries, and see here:

http://www.visi.com/~gyles19/cgi-bin/fom.cgi?file=104


-- 
Joi Ellis (TeamB)               http://www.teamb.com/
No direct email, please.
For best results, post on news server newsgroups.borland.com!
Newsgroup Guidelines: http://www.borland.com/newsgroups/guide.html
Only posts which violate the rules in guide.html are subject to cancelation.
Technical Details
Message-ID: <3cdd623a_2@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fr.usenet-edu.net!usenet-edu.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!dnews!not-for-mail
References: <3cdd5870_2@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,a3d91cc173d8399a
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2002-05-11 11:39:17 PST
Sender: Joi Ellis <joi@artoo.gyles19.visi.com>
Message-ID: <3cdd623a_2@dnews>
From: "Joi Ellis [TeamB]" <joi@aravox.com>
Subject: Re: How to make packages ?
Newsgroups: borland.public.jbuilder.java.api
References: <3cdd5870_2@dnews>
User-Agent: tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (Linux/2.2.19-6.2.7 (i686))
NNTP-Posting-Host: 66.134.231.90
Date: 11 May 2002 11:26:02 -0700
X-Trace: dnews 1021141562 66.134.231.90 (11 May 2002 11:26:02 -0700)
Lines: 34
X-Authenticated-User: jellis
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fr.usenet-edu.net!usenet-edu.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!dnews!not-for-mail