Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » emf : package not found error while executing CLI frm comm prompt
emf : package not found error while executing CLI frm comm prompt [message #421985] Wed, 20 August 2008 05:41 Go to next message
Neeraj is currently offline NeerajFriend
Messages: 1
Registered: July 2009
Junior Member
Hi,

I am getting
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1$Diagno sticWrappedException:
org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package with uri .....
This error I am getting for some packages while some packages are
executing successfully from same code using command line for eclipse using
startup.jar.

Please suggest

Regards
Neeraj
Re: emf : package not found error while executing CLI frm comm prompt [message #422004 is a reply to message #421985] Wed, 20 August 2008 09:41 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
Neeraj,

Did you read the FAQ about this? When running stand alone, you need to
take steps to ensure that your packages and resource factories are
registered... A common idiom is to use XyzPackage.eINSTANCE.eClass() as
a way to force your package to be initialized will will register it
globally as a side effect.


Neeraj Gupta wrote:
> Hi,
> I am getting
> org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1$Diagno sticWrappedException:
> org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package with uri
> ..... This error I am getting for some packages while some packages
> are executing successfully from same code using command line for
> eclipse using startup.jar.
> Please suggest
> Regards Neeraj
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: emf : package not found error while executing CLI frm comm prompt [message #422018 is a reply to message #422004] Wed, 20 August 2008 12:21 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: yogesh.gupte.amdocs.com

Many than ED!

Will you please let us know how/where do i register package & where
exactly can i find FAQ to read?

This is kind of show-stopper for us so any additional help will be useful
as well

Thank You,
Yogesh
Re: emf : package not found error while executing CLI frm comm prompt [message #422021 is a reply to message #422018] Wed, 20 August 2008 12:42 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------030509000508060700050009
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Yogesh,

If you type "EMF FAQ" in Google, it finds
http://wiki.eclipse.org/index.php/EMF-FAQ and I did already explain
already how to register your package. You'd be amazed what Google
finds. There's also a new feature on the newsgroup portable for
searching the newsgroup to find the hundreds of times your question has
been asked and answered:

http://www.eclipse.org/newsportal/thread.php?group=eclipse.t ools.emf

A common answer is to tell you to invoke Generate Test Code and look at
the XyzExample.java in the generated *.tests project.


Yogesh Gupte wrote:
> Many than ED!
>
> Will you please let us know how/where do i register package & where
> exactly can i find FAQ to read?
>
> This is kind of show-stopper for us so any additional help will be
> useful as well
>
> Thank You,
> Yogesh
>

--------------030509000508060700050009
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Yogesh,<br>
<br>
If you type "EMF FAQ" in Google, it finds <a
href="http://wiki.eclipse.org/index.php/EMF-FAQ">http://wiki.eclipse.org/index.php/EMF-FAQ</a>


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:xsd import/export
Next Topic:[CDO] Multivalued EAttributes
Goto Forum:
  


Current Time: Thu Apr 25 08:00:21 GMT 2024

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

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

Back to the top