Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » How to change "default package" to a real pakage name
How to change "default package" to a real pakage name [message #304172] Thu, 01 June 2006 14:20 Go to next message
Eclipse UserFriend
Originally posted by: lenny.CecilRep.com

I've been doing development on a package for awhile. It started out as just
something to fool with so I left it without a package name when I created
it. (It's package name is "default package)". Now I find it's actually
useful as a component and would like to give it a "real" package name like
"com.kledarastech.ETLInfileParser, so I can import it into other programs.
But so far I haven't figured out how this is done.

I suspect it's pretty easy, but I don't want to experiment on it and find
I've messed it up.

Any help would be appreciated.

Thanks,
Lenny Wintfeld
Re: How to change "default package" to a real pakage name [message #304177 is a reply to message #304172] Thu, 01 June 2006 18:33 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Click on the "New Java Package" toolbar item.

Lenny Wintfeld wrote:
> I've been doing development on a package for awhile. It started out as just
> something to fool with so I left it without a package name when I created
> it. (It's package name is "default package)". Now I find it's actually
> useful as a component and would like to give it a "real" package name like
> "com.kledarastech.ETLInfileParser, so I can import it into other programs.
> But so far I haven't figured out how this is done.
>
> I suspect it's pretty easy, but I don't want to experiment on it and find
> I've messed it up.
>
> Any help would be appreciated.
>
> Thanks,
> Lenny Wintfeld
>
>

--
Thanks,
Rich Kulp
Re: How to change "default package" to a real pakage name [message #304202 is a reply to message #304172] Fri, 02 June 2006 08:06 Go to previous messageGo to next message
Eclipse UserFriend
after you've created the package you want, you should just be able to
select and move all of the classes to that package ...


Just remember, you can't import from the default package into a real
package.

Later,
PW
Re: How to change "default package" to a real pakage name [message #304221 is a reply to message #304172] Fri, 02 June 2006 14:14 Go to previous message
Eclipse UserFriend
Originally posted by: lenny.CecilRep.com

Thanks! It worked out fine. I appreciate you taking the time to reply.

Lenny


"Lenny Wintfeld" <lenny@CecilRep.com> wrote in message
news:e5nb4i$6nv$1@utils.eclipse.org...
> I've been doing development on a package for awhile. It started out as
> just something to fool with so I left it without a package name when I
> created it. (It's package name is "default package)". Now I find it's
> actually useful as a component and would like to give it a "real" package
> name like "com.kledarastech.ETLInfileParser, so I can import it into other
> programs. But so far I haven't figured out how this is done.
>
> I suspect it's pretty easy, but I don't want to experiment on it and find
> I've messed it up.
>
> Any help would be appreciated.
>
> Thanks,
> Lenny Wintfeld
>
Previous Topic:baseTOCS settings don't filter-out unwanted content
Next Topic:Default preferences not available
Goto Forum:
  


Current Time: Thu Oct 30 19:14:52 EDT 2025

Powered by FUDForum. Page generated in 0.03936 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top