🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How to make packages ?

#1122
From: Vincent DOYELLE
Date: Sat, 11 May 2002 21:09
40 lines
2172 bytes
Joi Ellis [TeamB] wrote:

> 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
> 
> 
 Thanks Joi for this response to my second interrogation (where to store 
it). 
Maybe, Is it a stupid question : 
how can I create a package with these classes : should I make another 
project with these common classes and after create a packege (if yes, how) 
or is there any ohet solution ?

Very great thanks for answering me.

Vincent
Technical Details
Message-ID: <3cdd87b8$1_2@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!cox.net!newspeer1-gui.server.ntli.net!ntli.net!newsfeed01.sul.t-online.de!t-online.de!dnews
References: <3cdd5870_2@dnews> <3cdd623a_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 14:09:08 PST
From: Vincent DOYELLE <vdoyelle@yahoo.fr>
Subject: Re: How to make packages ?
Newsgroups: borland.public.jbuilder.java.api
Date: Sat, 11 May 2002 23:09:58 +0200
References: <3cdd5870_2@dnews> <3cdd623a_2@dnews>
Lines: 40
User-Agent: KNode/0.4
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7Bit
NNTP-Posting-Host: 80.15.150.246
Message-ID: <3cdd87b8$1_2@dnews>
X-Trace: dnews 1021151160 80.15.150.246 (11 May 2002 14:06:00 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!cox.net!newspeer1-gui.server.ntli.net!ntli.net!newsfeed01.sul.t-online.de!t-online.de!dnews