Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » Re: Spaces in URLs
Re: Spaces in URLs [message #25489] Mon, 09 July 2007 20:24 Go to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

This is a multi-part message in MIME format.
--------------090409070101020602070709
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Scott,

I'm not sure where the URI
"file:C:/projects/regatta-workbench/workspace/RW FinishLynx/plugin.xml"
is being created, but it should be of the form
"file:/C:/projects/regatta-workbench/workspace/RW FinishLynx/plugin.xml"
(note the / after the file:) to be a proper hierarchical URI. Perhaps
this worked in the past because createURLInputStream was invoked where
really createFileInputStream is what should be kicking in but now, with
2.3, createEFSInputStream is used instead. I'm confused though why this
code wouldn't be using "platform:/resource/RW FinishLynx/plugin.xml"
instead, because that would seem the proper way to access something in
the workspace; using a file: URI for that will bypass the workspace and
access the underlying file system directly instead...

I'll add the M2T newsgroup to the reply since this appears to be a JET2
problem in this code:

private void updateProject(IProject project)
{
if(DEBUG)
System.out.println("PluginProjectMonitor.updateProject(" + project +
")"); //$NON-NLS-1$ //$NON-NLS-2$
try
{

final URL projectURL = new URL("file", "",
project.getLocation() + "/"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
final BundleManifest manifest =
JETBundleManager.loadManifest(projectURL);
Object pluginDocumentRoot = null;
if(hasPluginManifest(project)) {
if(DEBUG)System.out.println(" has plugin.xml"); //$NON-NLS-1$
URL extensionsURL = new URL(projectURL, "plugin.xml");
//$NON-NLS-1$
pluginDocumentRoot =
JETActivatorWrapper.INSTANCE.getLoaderManager().getLoader(ex tensionsURL.toExternalForm(),
null, "xml").load(extensionsURL); //$NON-NLS-1$
}


Scott Dybiec wrote:
> I installed Eclipse 3.3 and pointed it to my Eclipse 3.2 workspace.
> Now my .log file is filling up with many, many messages like the one
> below --- one for each project in my workspace. They are generated
> during my workspace automatic incremental builds. These builds now
> take a very long time - much longer than under 3.2.
>
> One thing I've noticed: It seem to be happening with projects that
> have names with spaces in them, such as the one below:
>
> "C:/projects/regatta-workbench/workspace/RW FinishLynx/plugin.xml"
>
> Perhaps it's similar in some way to this:
> http://dev.eclipse.org/newslists/news.eclipse.modeling.m2t/m sg00163.html
>
> Is this an EMF issue? If not, can you point me in the right direction?
>
> Sincerely,
>
> Lost In Spaces
>
> ------------------------------------------------------------ ------------
>
> !ENTRY org.eclipse.jet 2 0 2007-07-09 15:27:20.687
> !MESSAGE Illegal character in opaque part at index 47:
> file:C:/projects/regatta-workbench/workspace/RW FinishLynx/plugin.xml
> !STACK 0
> org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Illegal
> character in opaque part at index 47:
> file:C:/projects/regatta-workbench/workspace/RW FinishLynx/plugin.xml
> at
> org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createE FSInputStream(URIConverterImpl.java:671)
> at
> org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createI nputStream(URIConverterImpl.java:542)
> at
> org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:1152)
> at
> org.eclipse.jet.internal.runtime.model.EMFXMLModelLoader.loa d(EMFXMLModelLoader.java:151)
> at
> org.eclipse.jet.internal.runtime.model.EMFXMLModelLoader.loa d(EMFXMLModelLoader.java:131)
> at
> org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r.updateProject(PluginProjectMonitor.java:208)
> at
> org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r.access$0(PluginProjectMonitor.java:196)
> at
> org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r$1.visit(PluginProjectMonitor.java:129)
> at
> org.eclipse.core.internal.events.ResourceDelta.accept(Resour ceDelta.java:67)
> at
> org.eclipse.core.internal.events.ResourceDelta.accept(Resour ceDelta.java:76)
> at
> org.eclipse.core.internal.events.ResourceDelta.accept(Resour ceDelta.java:48)
> at
> org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r.handleWorkspaceChange(PluginProjectMonitor.java:112)
> at
> org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r.resourceChanged(PluginProjectMonitor.java:103)
> at
> org.eclipse.core.internal.events.NotificationManager$2.run(N otificationManager.java:282)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
> at
> org.eclipse.core.internal.events.NotificationManager.notify( NotificationManager.java:276)
> at
> org.eclipse.core.internal.events.NotificationManager.broadca stChanges(NotificationManager.java:148)
> at
> org.eclipse.core.internal.resources.Workspace.broadcastPostC hange(Workspace.java:311)
> at
> org.eclipse.core.internal.resources.Workspace.endOperation(W orkspace.java:1018)
> at
> org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1806)
> at
> org.eclipse.core.internal.events.NotificationManager$NotifyJ ob.run(NotificationManager.java:39)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
> Caused by: java.net.URISyntaxException: Illegal character in opaque
> part at index 47: file:C:/projects/regatta-workbench/workspace/RW
> FinishLynx/plugin.xml
> at java.net.URI$Parser.fail(Unknown Source)
> at java.net.URI$Parser.checkChars(Unknown Source)
> at java.net.URI$Parser.parse(Unknown Source)
> at java.net.URI.<init>(Unknown Source)
> at
> org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createE FSInputStream(URIConverterImpl.java:663)
> ... 21 more
>
>


--------------090409070101020602070709
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Scott,<br>
<br>
I'm not sure where the URI <tt><a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="file:C:/projects/regatta-workbench/workspace/RW">"file:C:/projects/regatta-workbench/workspace/RW </a>
FinishLynx/plugin.xml</tt>" is being created, but it should be of the
form <tt><a moz-do-not-send="true" class="moz-txt-link-freetext"
href="file:C:/projects/regatta-workbench/workspace/RW">"file:/C:/projects/regatta-workbench/workspace/RW </a>
FinishLynx/plugin.xml</tt>" (note the / after the file:) to be a proper
hierarchical URI.&nbsp; Perhaps this worked in the past because
createURLInputStream was invoked where really createFileInputStream is
what should be kicking in but now, with 2.3, createEFSInputStream is
used instead.&nbsp; I'm confused though why this code wouldn't be using
"platform:/resource/<tt>RW FinishLynx/plugin.xml"</tt> instead, because
that would seem the proper way to access something in the workspace;
using a file: URI for that will bypass the workspace and access the
underlying file system directly instead...<br>
<br>
I'll add the M2T newsgroup to the reply since this appears to be a JET2
problem in this code:<br>
<blockquote><small>&nbsp; private void updateProject(IProject project)</small><br>
<small>&nbsp; {</small><br>
<small>&nbsp;&nbsp;&nbsp; if(DEBUG)
System.out.println("PluginProjectMonitor.updateProject(" + project +
")"); //$NON-NLS-1$ //$NON-NLS-2$</small><br>
<small>&nbsp;&nbsp;&nbsp; try</small><br>
<small>&nbsp;&nbsp;&nbsp; {</small><br>
<small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </small><br>
<small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; final URL projectURL = new URL("file", "",
project.getLocation() + "/"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$</small><br>
<small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; final BundleManifest manifest =
JETBundleManager.loadManifest(projectURL);</small><br>
<small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Object pluginDocumentRoot = null;</small><br>
<small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if(hasPluginManifest(project)) {</small><br>
<small> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; if(DEBUG)System.out.println("&nbsp; has plugin.xml");
//$NON-NLS-1$</small><br>
<small> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; URL extensionsURL = new URL(projectURL, "plugin.xml");
//$NON-NLS-1$</small><br>
<small> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; pluginDocumentRoot =
JETActivatorWrapper.INSTANCE.getLoaderManager().getLoader(ex tensionsURL.toExternalForm(),
null, "xml").load(extensionsURL); //$NON-NLS-1$</small><br>
<small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</small><br>
</blockquote>
<br>
Scott Dybiec wrote:
<blockquote cite="mid:f6u3jd$2h0$1@build.eclipse.org" type="cite">I
installed Eclipse 3.3 and pointed it to my Eclipse 3.2 workspace. Now
my .log file is filling up with many, many messages like the one below
--- one for each project in my workspace. They are generated during my
workspace automatic incremental builds. These builds now take a very
long time - much longer than under 3.2.<br>
<br>
One thing I've noticed: It seem to be happening with projects that have
names with spaces in them, such as the one below: <br>
<br>
"<tt>C:/projects/regatta-workbench/workspace/RW FinishLynx/plugin.xml"<br>
<br>
</tt>Perhaps it's similar in some way to this:
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href=" http://dev.eclipse.org/newslists/news.eclipse.modeling.m2t/m sg00163.html"> http://dev.eclipse.org/newslists/news.eclipse.modeling.m2t/m sg00163.html</a><tt><br>
<br>
</tt>Is this an EMF issue? If not, can you point me in the right
direction?<br>
<br>
Sincerely,<br>
<br>
Lost In Spaces<br>
<br>
<hr size="2" width="100%"><br>
<tt>!ENTRY org.eclipse.jet 2 0 2007-07-09 15:27:20.687<br>
!MESSAGE Illegal character in opaque part at index 47:
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="file:C:/projects/regatta-workbench/workspace/RW">file:C:/projects/regatta-workbench/workspace/RW </a>
FinishLynx/plugin.xml<br>
!STACK 0<br>
org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Illegal
character in opaque part at index 47:
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="file:C:/projects/regatta-workbench/workspace/RW">file:C:/projects/regatta-workbench/workspace/RW </a>
FinishLynx/plugin.xml<br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createE FSInputStream(URIConverterImpl.java:671) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createI nputStream(URIConverterImpl.java:542) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:1152) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.jet.internal.runtime.model.EMFXMLModelLoader.loa d(EMFXMLModelLoader.java:151) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.jet.internal.runtime.model.EMFXMLModelLoader.loa d(EMFXMLModelLoader.java:131) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r.updateProject(PluginProjectMonitor.java:208) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r.access$0(PluginProjectMonitor.java:196) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r$1.visit(PluginProjectMonitor.java:129) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.events.ResourceDelta.accept(Resour ceDelta.java:67) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.events.ResourceDelta.accept(Resour ceDelta.java:76) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.events.ResourceDelta.accept(Resour ceDelta.java:48) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r.handleWorkspaceChange(PluginProjectMonitor.java:112) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r.resourceChanged(PluginProjectMonitor.java:103) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.events.NotificationManager$2.run(N otificationManager.java:282) <br>
&nbsp;&nbsp;&nbsp; at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)<br >
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.events.NotificationManager.notify( NotificationManager.java:276) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.events.NotificationManager.broadca stChanges(NotificationManager.java:148) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.resources.Workspace.broadcastPostC hange(Workspace.java:311) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.resources.Workspace.endOperation(W orkspace.java:1018) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1806) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.events.NotificationManager$NotifyJ ob.run(NotificationManager.java:39) <br>
&nbsp;&nbsp;&nbsp; at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)<br >
Caused by: java.net.URISyntaxException: Illegal character in opaque
part at index 47: <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="file:C:/projects/regatta-workbench/workspace/RW">file:C:/projects/regatta-workbench/workspace/RW </a>
FinishLynx/plugin.xml<br>
&nbsp;&nbsp;&nbsp; at java.net.URI$Parser.fail(Unknown Source)<br>
&nbsp;&nbsp;&nbsp; at java.net.URI$Parser.checkChars(Unknown Source)<br>
&nbsp;&nbsp;&nbsp; at java.net.URI$Parser.parse(Unknown Source)<br>
&nbsp;&nbsp;&nbsp; at java.net.URI.&lt;init&gt;(Unknown Source)<br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createE FSInputStream(URIConverterImpl.java:663) <br>
&nbsp;&nbsp;&nbsp; ... 21 more</tt><br>
<br>
<br>
</blockquote>
<br>
</body>
</html>

--------------090409070101020602070709--
Re: Spaces in URLs [message #25528 is a reply to message #25489] Mon, 09 July 2007 20:47 Go to previous messageGo to next message
Paul Elder is currently offline Paul ElderFriend
Messages: 849
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.

------=_NextPart_000_0020_01C7C248.E3CE9930
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Scott:

This is definitely a JET bug. Can you submit a bugzilla. The following =
link setup of most of the fields:

https://bugs.eclipse.org/bugs/enter_bug.cgi?product=3DM2T&am p;version=3Dunspe=
cified&component=3DJet&rep_platform=3DPC&op_sys= 3DWindows%20XP&priority=3D=
P3&bug_severity=3Dnormal&bug_status=3DNEW&bug_fi le_loc=3Dhttp%3A%2F%2F&sh=
ort_desc=3D&comment=3D&commentprivacy=3D0&keywor ds=3D&dependson=3D&blocke=
d=3D&maketemplate=3DRemember%20values%20as%20bookmarkabl e%20template&form=
_name=3Denter_bug&assigned_to=3Dm2t.jet-inbox%40eclipse. org

Thx,

Paul
"Ed Merks" <merks@ca.ibm.com> wrote in message =
news:f6u5ia$6v0$1@build.eclipse.org...
Scott,

I'm not sure where the URI =
"file:C:/projects/regatta-workbench/workspace/RW FinishLynx/plugin.xml" =
is being created, but it should be of the form =
"file:/C:/projects/regatta-workbench/workspace/RW FinishLynx/plugin.xml" =
(note the / after the file:) to be a proper hierarchical URI. Perhaps =
this worked in the past because createURLInputStream was invoked where =
really createFileInputStream is what should be kicking in but now, with =
2.3, createEFSInputStream is used instead. I'm confused though why this =
code wouldn't be using "platform:/resource/RW FinishLynx/plugin.xml" =
instead, because that would seem the proper way to access something in =
the workspace; using a file: URI for that will bypass the workspace and =
access the underlying file system directly instead...

I'll add the M2T newsgroup to the reply since this appears to be a =
JET2 problem in this code:

private void updateProject(IProject project)
{
if(DEBUG) =
System.out.println("PluginProjectMonitor.updateProject(" + project + =
")"); //$NON-NLS-1$ //$NON-NLS-2$
try
{
=20
final URL projectURL =3D new URL("file", "", =
project.getLocation() + "/"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
final BundleManifest manifest =3D =
JETBundleManager.loadManifest(projectURL);
Object pluginDocumentRoot =3D null;
if(hasPluginManifest(project)) {
if(DEBUG)System.out.println(" has plugin.xml"); =
//$NON-NLS-1$
URL extensionsURL =3D new URL(projectURL, "plugin.xml"); =
//$NON-NLS-1$
pluginDocumentRoot =3D =
JETActivatorWrapper.INSTANCE.getLoaderManager().getLoader(ex tensionsURL.t=
oExternalForm(), null, "xml").load(extensionsURL); //$NON-NLS-1$
}


Scott Dybiec wrote:=20
I installed Eclipse 3.3 and pointed it to my Eclipse 3.2 workspace. =
Now my .log file is filling up with many, many messages like the one =
below --- one for each project in my workspace. They are generated =
during my workspace automatic incremental builds. These builds now take =
a very long time - much longer than under 3.2.

One thing I've noticed: It seem to be happening with projects that =
have names with spaces in them, such as the one below:=20

"C:/projects/regatta-workbench/workspace/RW FinishLynx/plugin.xml"

Perhaps it's similar in some way to this: =
http://dev.eclipse.org/newslists/news.eclipse.modeling.m2t/m sg00163.html

Is this an EMF issue? If not, can you point me in the right =
direction?

Sincerely,

Lost In Spaces


------------------------------------------------------------ -------------=
---

!ENTRY org.eclipse.jet 2 0 2007-07-09 15:27:20.687
!MESSAGE Illegal character in opaque part at index 47: =
file:C:/projects/regatta-workbench/workspace/RW FinishLynx/plugin.xml
!STACK 0
org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Illegal =
character in opaque part at index 47: =
file:C:/projects/regatta-workbench/workspace/RW FinishLynx/plugin.xml
at =
org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createE FSInputStream=
(URIConverterImpl.java:671)
at =
org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createI nputStream(UR=
IConverterImpl.java:542)
at =
org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:1=
152)
at =
org.eclipse.jet.internal.runtime.model.EMFXMLModelLoader.loa d(EMFXMLModel=
Loader.java:151)
at =
org.eclipse.jet.internal.runtime.model.EMFXMLModelLoader.loa d(EMFXMLModel=
Loader.java:131)
at =
org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r.updateProje=
ct(PluginProjectMonitor.java:208)
at =
org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r.access$0(Pl=
uginProjectMonitor.java:196)
at =
org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r$1.visit(Plu=
ginProjectMonitor.java:129)
at =
org.eclipse.core.internal.events.ResourceDelta.accept(Resour ceDelta.java:=
67)
at =
org.eclipse.core.internal.events.ResourceDelta.accept(Resour ceDelta.java:=
76)
at =
org.eclipse.core.internal.events.ResourceDelta.accept(Resour ceDelta.java:=
48)
at =
org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r.handleWorks=
paceChange(PluginProjectMonitor.java:112)
at =
org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r.resourceCha=
nged(PluginProjectMonitor.java:103)
at =
org.eclipse.core.internal.events.NotificationManager$2.run(N otificationMa=
nager.java:282)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at =
org.eclipse.core.internal.events.NotificationManager.notify( NotificationM=
anager.java:276)
at =
org.eclipse.core.internal.events.NotificationManager.broadca stChanges(Not=
ificationManager.java:148)
at =
org.eclipse.core.internal.resources.Workspace.broadcastPostC hange(Workspa=
ce.java:311)
at =
org.eclipse.core.internal.resources.Workspace.endOperation(W orkspace.java=
:1018)
at =
org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1806)
at =
org.eclipse.core.internal.events.NotificationManager$NotifyJ ob.run(Notifi=
cationManager.java:39)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.net.URISyntaxException: Illegal character in opaque =
part at index 47: file:C:/projects/regatta-workbench/workspace/RW =
FinishLynx/plugin.xml
at java.net.URI$Parser.fail(Unknown Source)
at java.net.URI$Parser.checkChars(Unknown Source)
at java.net.URI$Parser.parse(Unknown Source)
at java.net.URI.<init>(Unknown Source)
at =
org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createE FSInputStream=
(URIConverterImpl.java:663)
... 21 more





------=_NextPart_000_0020_01C7C248.E3CE9930
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type =
content=3Dtext/html;charset=3DISO-8859-1>
<META content=3D"MSHTML 6.00.2900.3132" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY text=3D#000000 bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Scott:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>This is definitely a JET bug. Can you =
submit a=20
bugzilla. The following link setup of most of the fields:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><A=20
href=3D" https://bugs.eclipse.org/bugs/enter_bug.cgi?product=3DM2T&am p;amp;ver=
sion=3Dunspecified&amp;component=3DJet&amp;rep_platf orm=3DPC&amp;op_sys=3D=
Windows%20XP&amp;priority=3DP3&amp;bug_severity=3Dno rmal&amp;bug_status=3D=
NEW&amp;bug_file_loc=3Dhttp%3A%2F%2F&amp;short_desc= 3D&amp;comment=3D&amp=
;commentprivacy=3D0&amp;keywords=3D&amp;dependson=3D &amp;blocked=3D&amp;m=
aketemplate=3DRemember%20values%20as%20bookmarkable%20templa te&amp;form_n=
ame=3Denter_bug&amp;assigned_to=3Dm2t.jet-inbox%40eclips e.org ">https://bu=
gs.eclipse.org/bugs/enter_bug.cgi?product=3DM2T&amp;vers ion=3Dunspecified=
&amp;component=3DJet&amp;rep_platform=3DPC&amp;o p_sys=3DWindows%20XP&amp;=
priority=3DP3&amp;bug_severity=3Dnormal&amp;bug_stat us=3DNEW&amp;bug_file=
_loc=3Dhttp%3A%2F%2F&amp;short_desc=3D&amp;comment=3 D&amp;commentprivacy=3D=
0&amp;keywords=3D&amp;dependson=3D&amp;blocked=3 D&amp;maketemplate=3DReme=
mber%20values%20as%20bookmarkable%20template&amp;form_na me=3Denter_bug&am=
p;assigned_to=3Dm2t.jet-inbox%40eclipse.org</A></FONT></DIV >
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thx,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Paul</FONT></DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Ed Merks" &lt;<A =
href=3D"mailto:merks@ca.ibm.com">merks@ca.ibm.com</A>&gt;=20
wrote in message <A=20
=
href=3D"news:f6u5ia$6v0$1@build.eclipse.org">news:f6u5ia$6v0$1@build.ecli=
pse.org</A>...</DIV>Scott,<BR><BR>I'm=20
not sure where the URI <TT><A class=3Dmoz-txt-link-freetext=20
href=3D"file:C:/projects/regatta-workbench/workspace/RW"=20
=
moz-do-not-send=3D"true">"file:C:/projects/regatta-workbench/workspace/RW=
</A>=20
FinishLynx/plugin.xml</TT>" is being created, but it should be of the =
form=20
<TT><A class=3Dmoz-txt-link-freetext=20
href=3D"file:C:/projects/regatta-workbench/workspace/RW"=20
=
moz-do-not-send=3D"true">"file:/C:/projects/regatta-workbench/workspace/R=
W</A>=20
FinishLynx/plugin.xml</TT>" (note the / after the file:) to be a =
proper=20
hierarchical URI.&nbsp; Perhaps this worked in the past because=20
createURLInputStream was invoked where really createFileInputStream is =
what=20
should be kicking in but now, with 2.3, createEFSInputStream is used=20
instead.&nbsp; I'm confused though why this code wouldn't be using=20
"platform:/resource/<TT>RW FinishLynx/plugin.xml"</TT> instead, =
because that=20
would seem the proper way to access something in the workspace; using =
a file:=20
URI for that will bypass the workspace and access the underlying file =
system=20
directly instead...<BR><BR>I'll add the M2T newsgroup to the reply =
since this=20
appears to be a JET2 problem in this code:<BR>
<BLOCKQUOTE><SMALL>&nbsp; private void updateProject(IProject=20
project)</SMALL><BR><SMALL>&nbsp; =
{</SMALL><BR><SMALL>&nbsp;&nbsp;&nbsp;=20
if(DEBUG) System.out.println("PluginProjectMonitor.updateProject(" + =
project=20
+ ")"); //$NON-NLS-1$ =
//$NON-NLS-2$</SMALL><BR><SMALL>&nbsp;&nbsp;&nbsp;=20
try</SMALL><BR><SMALL>&nbsp;&nbsp;&nbsp;=20
{</SMALL><BR><SMALL>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
</SMALL><BR><SMALL>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; final URL =
projectURL =3D new=20
URL("file", "", project.getLocation() + "/"); //$NON-NLS-1$ =
//$NON-NLS-2$=20
//$NON-NLS-3$</SMALL><BR><SMALL>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; final =

BundleManifest manifest =3D=20
=
JETBundleManager.loadManifest(projectURL);</SMALL><BR><SMALL >&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;=20
Object pluginDocumentRoot =3D=20
null;</SMALL><BR><SMALL>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
if(hasPluginManifest(project))=20
{</SMALL><BR><SMALL> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;=20
if(DEBUG)System.out.println("&nbsp; has plugin.xml");=20
=
//$NON-NLS-1$</SMALL><BR><SMALL> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp=
;=20
URL extensionsURL =3D new URL(projectURL, "plugin.xml");=20
=
//$NON-NLS-1$</SMALL><BR><SMALL> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp=
;=20
pluginDocumentRoot =3D=20
=
JETActivatorWrapper.INSTANCE.getLoaderManager().getLoader(ex tensionsURL.t=
oExternalForm(),=20
null, "xml").load(extensionsURL);=20
//$NON-NLS-1$</SMALL><BR><SMALL>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
}</SMALL><BR></BLOCKQUOTE><BR>Scott Dybiec wrote:=20
<BLOCKQUOTE cite=3Dmid:f6u3jd$2h0$1@build.eclipse.org type=3D"cite">I =
installed=20
Eclipse 3.3 and pointed it to my Eclipse 3.2 workspace. Now my .log =
file is=20
filling up with many, many messages like the one below --- one for =
each=20
project in my workspace. They are generated during my workspace =
automatic=20
incremental builds. These builds now take a very long time - much =
longer=20
than under 3.2.<BR><BR>One thing I've noticed: It seem to be =
happening with=20
projects that have names with spaces in them, such as the one below: =

<BR><BR>"<TT>C:/projects/regatta-workbench/workspace/RW=20
FinishLynx/plugin.xml"<BR><BR></TT>Perhaps it's similar in some way =
to this:=20
<A class=3Dmoz-txt-link-freetext=20
=
href=3D" http://dev.eclipse.org/newslists/news.eclipse.modeling.m2t/m sg001=
63.html"=20
=
moz-do-not-send=3D"true">http://dev.eclipse.org/newslists/news.eclipse.mo=
deling.m2t/msg00163.html</A><TT><BR><BR></TT>Is=20
this an EMF issue? If not, can you point me in the right=20
direction?<BR><BR>Sincerely,<BR><BR>Lost In Spaces<BR><BR>
<HR width=3D"100%" SIZE=3D2>
<BR><TT>!ENTRY org.eclipse.jet 2 0 2007-07-09 =
15:27:20.687<BR>!MESSAGE=20
Illegal character in opaque part at index 47: <A =
class=3Dmoz-txt-link-freetext=20
href=3D"file:C:/projects/regatta-workbench/workspace/RW"=20
=
moz-do-not-send=3D"true">file:C:/projects/regatta-workbench/workspace/RW <=
/A>=20
FinishLynx/plugin.xml<BR>!STACK=20
0<BR>org.eclipse.emf.ecore.resource.Resource$IOWrappedException: =
Illegal=20
character in opaque part at index 47: <A =
class=3Dmoz-txt-link-freetext=20
href=3D"file:C:/projects/regatta-workbench/workspace/RW"=20
=
moz-do-not-send=3D"true">file:C:/projects/regatta-workbench/workspace/RW <=
/A>=20
FinishLynx/plugin.xml<BR>&nbsp;&nbsp;&nbsp; at=20
=
org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createE FSInputStream=
(URIConverterImpl.java:671)<BR>&nbsp;&nbsp;&nbsp;=20
at=20
=
org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createI nputStream(UR=
IConverterImpl.java:542)<BR>&nbsp;&nbsp;&nbsp;=20
at=20
=
org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:1=
152)<BR>&nbsp;&nbsp;&nbsp;=20
at=20
=
org.eclipse.jet.internal.runtime.model.EMFXMLModelLoader.loa d(EMFXMLModel=
Loader.java:151)<BR>&nbsp;&nbsp;&nbsp;=20
at=20
=
org.eclipse.jet.internal.runtime.model.EMFXMLModelLoader.loa d(EMFXMLModel=
Loader.java:131)<BR>&nbsp;&nbsp;&nbsp;=20
at=20
=
org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r.updateProje=
ct(PluginProjectMonitor.java:208)<BR>&nbsp;&nbsp;&nbsp;=20
at=20
=
org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r.access$0(Pl=
uginProjectMonitor.java:196)<BR>&nbsp;&nbsp;&nbsp;=20
at=20
=
org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r$1.visit(Plu=
ginProjectMonitor.java:129)<BR>&nbsp;&nbsp;&nbsp;=20
at=20
=
org.eclipse.core.internal.events.ResourceDelta.accept(Resour ceDelta.java:=
67)<BR>&nbsp;&nbsp;&nbsp;=20
at=20
=
org.eclipse.core.internal.events.ResourceDelta.accept(Resour ceDelta.java:=
76)<BR>&nbsp;&nbsp;&nbsp;=20
at=20
=
org.eclipse.core.internal.events.ResourceDelta.accept(Resour ceDelta.java:=
48)<BR>&nbsp;&nbsp;&nbsp;=20
at=20
=
org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r.handleWorks=
paceChange(PluginProjectMonitor.java:112)<BR>&nbsp;&nbsp;&nbsp;=20
at=20
=
org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r.resourceCha=
nged(PluginProjectMonitor.java:103)<BR>&nbsp;&nbsp;&nbsp;=20
at=20
=
org.eclipse.core.internal.events.NotificationManager$2.run(N otificationMa=
nager.java:282)<BR>&nbsp;&nbsp;&nbsp;=20
at=20
=
org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)<BR >&nbsp;&nbs=
p;&nbsp;=20
at=20
=
org.eclipse.core.internal.events.NotificationManager.notify( NotificationM=
anager.java:276)<BR>&nbsp;&nbsp;&nbsp;=20
at=20
=
org.eclipse.core.internal.events.NotificationManager.broadca stChanges(Not=
ificationManager.java:148)<BR>&nbsp;&nbsp;&nbsp;=20
at=20
=
org.eclipse.core.internal.resources.Workspace.broadcastPostC hange(Workspa=
ce.java:311)<BR>&nbsp;&nbsp;&nbsp;=20
at=20
=
org.eclipse.core.internal.resources.Workspace.endOperation(W orkspace.java=
:1018)<BR>&nbsp;&nbsp;&nbsp;=20
at=20
=
org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1806) <BR=
>&nbsp;&nbsp;&nbsp;=20
at=20
=
org.eclipse.core.internal.events.NotificationManager$NotifyJ ob.run(Notifi=
cationManager.java:39)<BR>&nbsp;&nbsp;&nbsp;=20
at =
org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)<BR >Caused by:=20
java.net.URISyntaxException: Illegal character in opaque part at =
index 47:=20
<A class=3Dmoz-txt-link-freetext=20
href=3D"file:C:/projects/regatta-workbench/workspace/RW"=20
=
moz-do-not-send=3D"true">file:C:/projects/regatta-workbench/workspace/RW <=
/A>=20
FinishLynx/plugin.xml<BR>&nbsp;&nbsp;&nbsp; at=20
java.net.URI$Parser.fail(Unknown Source)<BR>&nbsp;&nbsp;&nbsp; at=20
java.net.URI$Parser.checkChars(Unknown Source)<BR>&nbsp;&nbsp;&nbsp; =
at=20
java.net.URI$Parser.parse(Unknown Source)<BR>&nbsp;&nbsp;&nbsp; at=20
java.net.URI.&lt;init&gt;(Unknown Source)<BR>&nbsp;&nbsp;&nbsp; at=20
=
org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createE FSInputStream=
(URIConverterImpl.java:663)<BR>&nbsp;&nbsp;&nbsp;=20
... 21 =
more</TT><BR><BR><BR></BLOCKQUOTE><BR></BLOCKQUOTE></BODY ></HTML>

------=_NextPart_000_0020_01C7C248.E3CE9930--
Re: Spaces in URLs [message #25570 is a reply to message #25528] Tue, 10 July 2007 03:00 Go to previous messageGo to next message
Scott Dybiec is currently offline Scott DybiecFriend
Messages: 148
Registered: July 2009
Senior Member
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Bugzilla has been submitted.<br>
<br>
Thanks for all your great work on EMF and JET.<br>
<br>
$cott<br>
<br>
Paul Elder wrote:
<blockquote cite="mid:f6u6uu$a7f$1@build.eclipse.org" type="cite">
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<meta content="MSHTML 6.00.2900.3132" name="GENERATOR">
<style></style>
<div><font face="Arial" size="2">Scott:</font></div>
<div>&nbsp;</div>
<div><font face="Arial" size="2">This is definitely a JET bug. Can
you submit a bugzilla. The following link setup of most of the fields:</font></div>
<div>&nbsp;</div>
<div><font face="Arial" size="2"><a moz-do-not-send="true"
href=" https://bugs.eclipse.org/bugs/enter_bug.cgi?product=M2T& amp ;version=unspecified&amp;component=Jet&amp;rep_platf orm=PC&amp;op_sys=Windows%20XP&amp;priority=P3&a mp;bug_severity=normal&amp;bug_status=NEW&amp;bug_fi le_loc=http%3A%2F%2F&amp;short_desc=&amp;comment=&am p;amp;commentprivacy=0&amp;keywords=&amp;dependson=& amp;amp;blocked=&amp;maketemplate=Remember%20values%20as %20bookmarkable%20template&amp;form_name=enter_bug&a mp;assigned_to=m2t.jet-inbox%40eclipse.org "> https://bugs.eclipse.org/bugs/enter_bug.cgi?product=M2T& amp ;version=unspecified&amp;component=Jet&amp;rep_platf orm=PC&amp;op_sys=Windows%20XP&amp;priority=P3&a mp;bug_severity=normal&amp;bug_status=NEW&amp;bug_fi le_loc=http%3A%2F%2F&amp;short_desc=&amp;comment=&am p;amp;commentprivacy=0&amp;keywords=&amp;dependson=& amp;amp;blocked=&amp;maketemplate=Remember%20values%20as %20bookmarkable%20template&amp;form_name=enter_bug&a mp;assigned_to=m2t.jet-inbox%40eclipse.org </a></font></div>
<div>&nbsp;</div>
<div><font face="Arial" size="2">Thx,</font></div>
<div>&nbsp;</div>
<div><font face="Arial" size="2">Paul</font></div>
<blockquote
style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;">
<div>"Ed Merks" &lt;<a moz-do-not-send="true"
href="mailto:merks@ca.ibm.com">merks@ca.ibm.com</a>&gt; wrote in
message <a moz-do-not-send="true"
href="news:f6u5ia$6v0$1@build.eclipse.org">news:f6u5ia$6v0$1@build.eclipse.org</a>...</div>
Scott,<br>
<br>
I'm not sure where the URI <tt><a class="moz-txt-link-freetext"
href="file:C:/projects/regatta-workbench/workspace/RW"
moz-do-not-send="true">"file:C:/projects/regatta-workbench/workspace/RW </a>
FinishLynx/plugin.xml</tt>" is being created, but it should be of the
form <tt><a class="moz-txt-link-freetext"
href="file:C:/projects/regatta-workbench/workspace/RW"
moz-do-not-send="true">"file:/C:/projects/regatta-workbench/workspace/RW </a>
FinishLynx/plugin.xml</tt>" (note the / after the file:) to be a proper
hierarchical URI.&nbsp; Perhaps this worked in the past because
createURLInputStream was invoked where really createFileInputStream is
what should be kicking in but now, with 2.3, createEFSInputStream is
used instead.&nbsp; I'm confused though why this code wouldn't be using
"platform:/resource/<tt>RW FinishLynx/plugin.xml"</tt> instead, because
that would seem the proper way to access something in the workspace;
using a file: URI for that will bypass the workspace and access the
underlying file system directly instead...<br>
<br>
I'll add the M2T newsgroup to the reply since this appears to be a JET2
problem in this code:<br>
<blockquote><small>&nbsp; private void updateProject(IProject project)</small><br>
<small>&nbsp; {</small><br>
<small>&nbsp;&nbsp;&nbsp; if(DEBUG)
System.out.println("PluginProjectMonitor.updateProject(" + project +
")"); //$NON-NLS-1$ //$NON-NLS-2$</small><br>
<small>&nbsp;&nbsp;&nbsp; try</small><br>
<small>&nbsp;&nbsp;&nbsp; {</small><br>
<small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </small><br>
<small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; final URL projectURL = new URL("file", "",
project.getLocation() + "/"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$</small><br>
<small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; final BundleManifest manifest =
JETBundleManager.loadManifest(projectURL);</small><br>
<small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Object pluginDocumentRoot = null;</small><br>
<small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if(hasPluginManifest(project)) {</small><br>
<small> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; if(DEBUG)System.out.println("&nbsp; has plugin.xml");
//$NON-NLS-1$</small><br>
<small> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; URL extensionsURL = new URL(projectURL,
"plugin.xml"); //$NON-NLS-1$</small><br>
<small> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; pluginDocumentRoot =
JETActivatorWrapper.INSTANCE.getLoaderManager().getLoader(ex tensionsURL.toExternalForm(),
null, "xml").load(extensionsURL); //$NON-NLS-1$</small><br>
<small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</small><br>
</blockquote>
<br>
Scott Dybiec wrote:
<blockquote cite="mid:f6u3jd$2h0$1@build.eclipse.org" type="cite">I
installed Eclipse 3.3 and pointed it to my Eclipse 3.2 workspace. Now
my .log file is filling up with many, many messages like the one below
--- one for each project in my workspace. They are generated during my
workspace automatic incremental builds. These builds now take a very
long time - much longer than under 3.2.<br>
<br>
One thing I've noticed: It seem to be happening with projects that have
names with spaces in them, such as the one below: <br>
<br>
"<tt>C:/projects/regatta-workbench/workspace/RW FinishLynx/plugin.xml"<br>
<br>
</tt>Perhaps it's similar in some way to this: <a
class="moz-txt-link-freetext"
href=" http://dev.eclipse.org/newslists/news.eclipse.modeling.m2t/m sg00163.html"
moz-do-not-send="true"> http://dev.eclipse.org/newslists/news.eclipse.modeling.m2t/m sg00163.html</a><tt><br>
<br>
</tt>Is this an EMF issue? If not, can you point me in the right
direction?<br>
<br>
Sincerely,<br>
<br>
Lost In Spaces<br>
<br>
<hr size="2" width="100%"> <br>
<tt>!ENTRY org.eclipse.jet 2 0 2007-07-09 15:27:20.687<br>
!MESSAGE Illegal character in opaque part at index 47: <a
class="moz-txt-link-freetext"
href="file:C:/projects/regatta-workbench/workspace/RW"
moz-do-not-send="true">file:C:/projects/regatta-workbench/workspace/RW </a>
FinishLynx/plugin.xml<br>
!STACK 0<br>
org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Illegal
character in opaque part at index 47: <a class="moz-txt-link-freetext"
href="file:C:/projects/regatta-workbench/workspace/RW"
moz-do-not-send="true">file:C:/projects/regatta-workbench/workspace/RW </a>
FinishLynx/plugin.xml<br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createE FSInputStream(URIConverterImpl.java:671) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createI nputStream(URIConverterImpl.java:542) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:1152) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.jet.internal.runtime.model.EMFXMLModelLoader.loa d(EMFXMLModelLoader.java:151) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.jet.internal.runtime.model.EMFXMLModelLoader.loa d(EMFXMLModelLoader.java:131) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r.updateProject(PluginProjectMonitor.java:208) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r.access$0(PluginProjectMonitor.java:196) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r$1.visit(PluginProjectMonitor.java:129) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.events.ResourceDelta.accept(Resour ceDelta.java:67) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.events.ResourceDelta.accept(Resour ceDelta.java:76) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.events.ResourceDelta.accept(Resour ceDelta.java:48) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r.handleWorkspaceChange(PluginProjectMonitor.java:112) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r.resourceChanged(PluginProjectMonitor.java:103) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.events.NotificationManager$2.run(N otificationManager.java:282) <br>
&nbsp;&nbsp;&nbsp; at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)<br >
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.events.NotificationManager.notify( NotificationManager.java:276) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.events.NotificationManager.broadca stChanges(NotificationManager.java:148) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.resources.Workspace.broadcastPostC hange(Workspace.java:311) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.resources.Workspace.endOperation(W orkspace.java:1018) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1806) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.events.NotificationManager$NotifyJ ob.run(NotificationManager.java:39) <br>
&nbsp;&nbsp;&nbsp; at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)<br >
Caused by: java.net.URISyntaxException: Illegal character in opaque
part at index 47: <a class="moz-txt-link-freetext"
href="file:C:/projects/regatta-workbench/workspace/RW"
moz-do-not-send="true">file:C:/projects/regatta-workbench/workspace/RW </a>
FinishLynx/plugin.xml<br>
&nbsp;&nbsp;&nbsp; at java.net.URI$Parser.fail(Unknown Source)<br>
&nbsp;&nbsp;&nbsp; at java.net.URI$Parser.checkChars(Unknown Source)<br>
&nbsp;&nbsp;&nbsp; at java.net.URI$Parser.parse(Unknown Source)<br>
&nbsp;&nbsp;&nbsp; at java.net.URI.&lt;init&gt;(Unknown Source)<br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createE FSInputStream(URIConverterImpl.java:663) <br>
&nbsp;&nbsp;&nbsp; ... 21 more</tt><br>
<br>
<br>
</blockquote>
<br>
</blockquote>
</blockquote>
<br>
</body>
</html>
Re: Spaces in URLs [message #25609 is a reply to message #25570] Tue, 10 July 2007 03:05 Go to previous messageGo to next message
Scott Dybiec is currently offline Scott DybiecFriend
Messages: 148
Registered: July 2009
Senior Member
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
For reference, here's the URL:
<a class="moz-txt-link-freetext" href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=195924">https://bugs.eclipse.org/bugs/show_bug.cgi?id=195924</a><br>
<br>
Scott Dybiec wrote:
<blockquote cite="mid:f6usnc$o6k$1@build.eclipse.org" type="cite">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
Bugzilla has been submitted.<br>
<br>
Thanks for all your great work on EMF and JET.<br>
<br>
$cott<br>
<br>
Paul Elder wrote:
<blockquote cite="mid:f6u6uu$a7f$1@build.eclipse.org" type="cite">
<meta http-equiv="Content-Type" content="text/html;">
<meta content="MSHTML 6.00.2900.3132" name="GENERATOR">
<style></style>
<div><font face="Arial" size="2">Scott:</font></div>
<div>&nbsp;</div>
<div><font face="Arial" size="2">This is definitely a JET bug. Can
you submit a bugzilla. The following link setup of most of the fields:</font></div>
<div>&nbsp;</div>
<div><font face="Arial" size="2"><a moz-do-not-send="true"
href=" https://bugs.eclipse.org/bugs/enter_bug.cgi?product=M2T& amp ;version=unspecified&amp;component=Jet&amp;rep_platf orm=PC&amp;op_sys=Windows%20XP&amp;priority=P3&a mp;bug_severity=normal&amp;bug_status=NEW&amp;bug_fi le_loc=http%3A%2F%2F&amp;short_desc=&amp;comment=&am p;amp;commentprivacy=0&amp;keywords=&amp;dependson=& amp;amp;blocked=&amp;maketemplate=Remember%20values%20as %20bookmarkable%20template&amp;form_name=enter_bug&a mp;assigned_to=m2t.jet-inbox%40eclipse.org "> https://bugs.eclipse.org/bugs/enter_bug.cgi?product=M2T& amp ;version=unspecified&amp;component=Jet&amp;rep_platf orm=PC&amp;op_sys=Windows%20XP&amp;priority=P3&a mp;bug_severity=normal&amp;bug_status=NEW&amp;bug_fi le_loc=http%3A%2F%2F&amp;short_desc=&amp;comment=&am p;amp;commentprivacy=0&amp;keywords=&amp;dependson=& amp;amp;blocked=&amp;maketemplate=Remember%20values%20as %20bookmarkable%20template&amp;form_name=enter_bug&a mp;assigned_to=m2t.jet-inbox%40eclipse.org </a></font></div>
<div>&nbsp;</div>
<div><font face="Arial" size="2">Thx,</font></div>
<div>&nbsp;</div>
<div><font face="Arial" size="2">Paul</font></div>
<blockquote
style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;">
<div>"Ed Merks" &lt;<a moz-do-not-send="true"
href="mailto:merks@ca.ibm.com">merks@ca.ibm.com</a>&gt; wrote in
message <a moz-do-not-send="true"
href="news:f6u5ia$6v0$1@build.eclipse.org">news:f6u5ia$6v0$1@build.eclipse.org</a>...</div>
Scott,<br>
<br>
I'm not sure where the URI <tt><a class="moz-txt-link-freetext"
href="file:C:/projects/regatta-workbench/workspace/RW"
moz-do-not-send="true">"file:C:/projects/regatta-workbench/workspace/RW </a>
FinishLynx/plugin.xml</tt>" is being created, but it should be of the
form <tt><a class="moz-txt-link-freetext"
href="file:C:/projects/regatta-workbench/workspace/RW"
moz-do-not-send="true">"file:/C:/projects/regatta-workbench/workspace/RW </a>
FinishLynx/plugin.xml</tt>" (note the / after the file:) to be a proper
hierarchical URI.&nbsp; Perhaps this worked in the past because
createURLInputStream was invoked where really createFileInputStream is
what should be kicking in but now, with 2.3, createEFSInputStream is
used instead.&nbsp; I'm confused though why this code wouldn't be using
"platform:/resource/<tt>RW FinishLynx/plugin.xml"</tt> instead, because
that would seem the proper way to access something in the workspace;
using a file: URI for that will bypass the workspace and access the
underlying file system directly instead...<br>
<br>
I'll add the M2T newsgroup to the reply since this appears to be a JET2
problem in this code:<br>
<blockquote><small>&nbsp; private void updateProject(IProject project)</small><br>
<small>&nbsp; {</small><br>
<small>&nbsp;&nbsp;&nbsp; if(DEBUG)
System.out.println("PluginProjectMonitor.updateProject(" + project +
")"); //$NON-NLS-1$ //$NON-NLS-2$</small><br>
<small>&nbsp;&nbsp;&nbsp; try</small><br>
<small>&nbsp;&nbsp;&nbsp; {</small><br>
<small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </small><br>
<small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; final URL projectURL = new URL("file", "",
project.getLocation() + "/"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$</small><br>
<small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; final BundleManifest manifest =
JETBundleManager.loadManifest(projectURL);</small><br>
<small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Object pluginDocumentRoot = null;</small><br>
<small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if(hasPluginManifest(project)) {</small><br>
<small> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; if(DEBUG)System.out.println("&nbsp; has plugin.xml");
//$NON-NLS-1$</small><br>
<small> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; URL extensionsURL = new URL(projectURL,
"plugin.xml"); //$NON-NLS-1$</small><br>
<small> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; pluginDocumentRoot =
JETActivatorWrapper.INSTANCE.getLoaderManager().getLoader(ex tensionsURL.toExternalForm(),
null, "xml").load(extensionsURL); //$NON-NLS-1$</small><br>
<small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</small><br>
</blockquote>
<br>
Scott Dybiec wrote:
<blockquote cite="mid:f6u3jd$2h0$1@build.eclipse.org" type="cite">I
installed Eclipse 3.3 and pointed it to my Eclipse 3.2 workspace. Now
my .log file is filling up with many, many messages like the one below
--- one for each project in my workspace. They are generated during my
workspace automatic incremental builds. These builds now take a very
long time - much longer than under 3.2.<br>
<br>
One thing I've noticed: It seem to be happening with projects that have
names with spaces in them, such as the one below: <br>
<br>
"<tt>C:/projects/regatta-workbench/workspace/RW FinishLynx/plugin.xml"<br>
<br>
</tt>Perhaps it's similar in some way to this: <a
class="moz-txt-link-freetext"
href=" http://dev.eclipse.org/newslists/news.eclipse.modeling.m2t/m sg00163.html"
moz-do-not-send="true"> http://dev.eclipse.org/newslists/news.eclipse.modeling.m2t/m sg00163.html</a><tt><br>
<br>
</tt>Is this an EMF issue? If not, can you point me in the
right
direction?<br>
<br>
Sincerely,<br>
<br>
Lost In Spaces<br>
<br>
<hr size="2" width="100%"> <br>
<tt>!ENTRY org.eclipse.jet 2 0 2007-07-09 15:27:20.687<br>
!MESSAGE Illegal character in opaque part at index 47: <a
class="moz-txt-link-freetext"
href="file:C:/projects/regatta-workbench/workspace/RW"
moz-do-not-send="true">file:C:/projects/regatta-workbench/workspace/RW </a>
FinishLynx/plugin.xml<br>
!STACK 0<br>
org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Illegal
character in opaque part at index 47: <a class="moz-txt-link-freetext"
href="file:C:/projects/regatta-workbench/workspace/RW"
moz-do-not-send="true">file:C:/projects/regatta-workbench/workspace/RW </a>
FinishLynx/plugin.xml<br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createE FSInputStream(URIConverterImpl.java:671) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createI nputStream(URIConverterImpl.java:542) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:1152) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.jet.internal.runtime.model.EMFXMLModelLoader.loa d(EMFXMLModelLoader.java:151) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.jet.internal.runtime.model.EMFXMLModelLoader.loa d(EMFXMLModelLoader.java:131) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r.updateProject(PluginProjectMonitor.java:208) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r.access$0(PluginProjectMonitor.java:196) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r$1.visit(PluginProjectMonitor.java:129) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.events.ResourceDelta.accept(Resour ceDelta.java:67) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.events.ResourceDelta.accept(Resour ceDelta.java:76) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.events.ResourceDelta.accept(Resour ceDelta.java:48) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r.handleWorkspaceChange(PluginProjectMonitor.java:112) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r.resourceChanged(PluginProjectMonitor.java:103) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.events.NotificationManager$2.run(N otificationManager.java:282) <br>
&nbsp;&nbsp;&nbsp; at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)<br >
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.events.NotificationManager.notify( NotificationManager.java:276) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.events.NotificationManager.broadca stChanges(NotificationManager.java:148) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.resources.Workspace.broadcastPostC hange(Workspace.java:311) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.resources.Workspace.endOperation(W orkspace.java:1018) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1806) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.events.NotificationManager$NotifyJ ob.run(NotificationManager.java:39) <br>
&nbsp;&nbsp;&nbsp; at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)<br >
Caused by: java.net.URISyntaxException: Illegal character in opaque
part at index 47: <a class="moz-txt-link-freetext"
href="file:C:/projects/regatta-workbench/workspace/RW"
moz-do-not-send="true">file:C:/projects/regatta-workbench/workspace/RW </a>
FinishLynx/plugin.xml<br>
&nbsp;&nbsp;&nbsp; at java.net.URI$Parser.fail(Unknown Source)<br>
&nbsp;&nbsp;&nbsp; at java.net.URI$Parser.checkChars(Unknown Source)<br>
&nbsp;&nbsp;&nbsp; at java.net.URI$Parser.parse(Unknown Source)<br>
&nbsp;&nbsp;&nbsp; at java.net.URI.&lt;init&gt;(Unknown Source)<br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createE FSInputStream(URIConverterImpl.java:663) <br>
&nbsp;&nbsp;&nbsp; ... 21 more</tt><br>
<br>
<br>
</blockquote>
<br>
</blockquote>
</blockquote>
<br>
</blockquote>
<br>
</body>
</html>
Re: Spaces in URLs [message #25714 is a reply to message #25528] Tue, 10 July 2007 22:13 Go to previous messageGo to next message
Scott Dybiec is currently offline Scott DybiecFriend
Messages: 148
Registered: July 2009
Senior Member
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
Is there a workaround for this bug?&nbsp; My Eclipse 3.3 is unusably slow
right now --- e.g. saving any file leads to a 5-8 minute update/build
process that throws lots of errors into the .log file<br>
<br>
Can I go back to the old JET somehow?<br>
<br>
$cott<br>
<br>
Paul Elder wrote:
<blockquote cite="mid:f6u6uu$a7f$1@build.eclipse.org" type="cite">
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<meta content="MSHTML 6.00.2900.3132" name="GENERATOR">
<style></style>
<div><font face="Arial" size="2">Scott:</font></div>
<div>&nbsp;</div>
<div><font face="Arial" size="2">This is definitely a JET bug. Can
you submit a bugzilla. The following link setup of most of the fields:</font></div>
<div>&nbsp;</div>
<div><font face="Arial" size="2"><a moz-do-not-send="true"
href=" https://bugs.eclipse.org/bugs/enter_bug.cgi?product=M2T& amp ;version=unspecified&amp;component=Jet&amp;rep_platf orm=PC&amp;op_sys=Windows%20XP&amp;priority=P3&a mp;bug_severity=normal&amp;bug_status=NEW&amp;bug_fi le_loc=http%3A%2F%2F&amp;short_desc=&amp;comment=&am p;amp;commentprivacy=0&amp;keywords=&amp;dependson=& amp;amp;blocked=&amp;maketemplate=Remember%20values%20as %20bookmarkable%20template&amp;form_name=enter_bug&a mp;assigned_to=m2t.jet-inbox%40eclipse.org "> https://bugs.eclipse.org/bugs/enter_bug.cgi?product=M2T& amp ;version=unspecified&amp;component=Jet&amp;rep_platf orm=PC&amp;op_sys=Windows%20XP&amp;priority=P3&a mp;bug_severity=normal&amp;bug_status=NEW&amp;bug_fi le_loc=http%3A%2F%2F&amp;short_desc=&amp;comment=&am p;amp;commentprivacy=0&amp;keywords=&amp;dependson=& amp;amp;blocked=&amp;maketemplate=Remember%20values%20as %20bookmarkable%20template&amp;form_name=enter_bug&a mp;assigned_to=m2t.jet-inbox%40eclipse.org </a></font></div>
<div>&nbsp;</div>
<div><font face="Arial" size="2">Thx,</font></div>
<div>&nbsp;</div>
<div><font face="Arial" size="2">Paul</font></div>
<blockquote
style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;">
<div>"Ed Merks" &lt;<a moz-do-not-send="true"
href="mailto:merks@ca.ibm.com">merks@ca.ibm.com</a>&gt; wrote in
message <a moz-do-not-send="true"
href="news:f6u5ia$6v0$1@build.eclipse.org">news:f6u5ia$6v0$1@build.eclipse.org</a>...</div>
Scott,<br>
<br>
I'm not sure where the URI <tt><a class="moz-txt-link-freetext"
href="file:C:/projects/regatta-workbench/workspace/RW"
moz-do-not-send="true">"file:C:/projects/regatta-workbench/workspace/RW </a>
FinishLynx/plugin.xml</tt>" is being created, but it should be of the
form <tt><a class="moz-txt-link-freetext"
href="file:C:/projects/regatta-workbench/workspace/RW"
moz-do-not-send="true">"file:/C:/projects/regatta-workbench/workspace/RW </a>
FinishLynx/plugin.xml</tt>" (note the / after the file:) to be a proper
hierarchical URI.&nbsp; Perhaps this worked in the past because
createURLInputStream was invoked where really createFileInputStream is
what should be kicking in but now, with 2.3, createEFSInputStream is
used instead.&nbsp; I'm confused though why this code wouldn't be using
"platform:/resource/<tt>RW FinishLynx/plugin.xml"</tt> instead, because
that would seem the proper way to access something in the workspace;
using a file: URI for that will bypass the workspace and access the
underlying file system directly instead...<br>
<br>
I'll add the M2T newsgroup to the reply since this appears to be a JET2
problem in this code:<br>
<blockquote><small>&nbsp; private void updateProject(IProject project)</small><br>
<small>&nbsp; {</small><br>
<small>&nbsp;&nbsp;&nbsp; if(DEBUG)
System.out.println("PluginProjectMonitor.updateProject(" + project +
")"); //$NON-NLS-1$ //$NON-NLS-2$</small><br>
<small>&nbsp;&nbsp;&nbsp; try</small><br>
<small>&nbsp;&nbsp;&nbsp; {</small><br>
<small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </small><br>
<small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; final URL projectURL = new URL("file", "",
project.getLocation() + "/"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$</small><br>
<small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; final BundleManifest manifest =
JETBundleManager.loadManifest(projectURL);</small><br>
<small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Object pluginDocumentRoot = null;</small><br>
<small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if(hasPluginManifest(project)) {</small><br>
<small> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; if(DEBUG)System.out.println("&nbsp; has plugin.xml");
//$NON-NLS-1$</small><br>
<small> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; URL extensionsURL = new URL(projectURL,
"plugin.xml"); //$NON-NLS-1$</small><br>
<small> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; pluginDocumentRoot =
JETActivatorWrapper.INSTANCE.getLoaderManager().getLoader(ex tensionsURL.toExternalForm(),
null, "xml").load(extensionsURL); //$NON-NLS-1$</small><br>
<small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</small><br>
</blockquote>
<br>
Scott Dybiec wrote:
<blockquote cite="mid:f6u3jd$2h0$1@build.eclipse.org" type="cite">I
installed Eclipse 3.3 and pointed it to my Eclipse 3.2 workspace. Now
my .log file is filling up with many, many messages like the one below
--- one for each project in my workspace. They are generated during my
workspace automatic incremental builds. These builds now take a very
long time - much longer than under 3.2.<br>
<br>
One thing I've noticed: It seem to be happening with projects that have
names with spaces in them, such as the one below: <br>
<br>
"<tt>C:/projects/regatta-workbench/workspace/RW FinishLynx/plugin.xml"<br>
<br>
</tt>Perhaps it's similar in some way to this: <a
class="moz-txt-link-freetext"
href=" http://dev.eclipse.org/newslists/news.eclipse.modeling.m2t/m sg00163.html"
moz-do-not-send="true"> http://dev.eclipse.org/newslists/news.eclipse.modeling.m2t/m sg00163.html</a><tt><br>
<br>
</tt>Is this an EMF issue? If not, can you point me in the right
direction?<br>
<br>
Sincerely,<br>
<br>
Lost In Spaces<br>
<br>
<hr size="2" width="100%"> <br>
<tt>!ENTRY org.eclipse.jet 2 0 2007-07-09 15:27:20.687<br>
!MESSAGE Illegal character in opaque part at index 47: <a
class="moz-txt-link-freetext"
href="file:C:/projects/regatta-workbench/workspace/RW"
moz-do-not-send="true">file:C:/projects/regatta-workbench/workspace/RW </a>
FinishLynx/plugin.xml<br>
!STACK 0<br>
org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Illegal
character in opaque part at index 47: <a class="moz-txt-link-freetext"
href="file:C:/projects/regatta-workbench/workspace/RW"
moz-do-not-send="true">file:C:/projects/regatta-workbench/workspace/RW </a>
FinishLynx/plugin.xml<br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createE FSInputStream(URIConverterImpl.java:671) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createI nputStream(URIConverterImpl.java:542) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:1152) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.jet.internal.runtime.model.EMFXMLModelLoader.loa d(EMFXMLModelLoader.java:151) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.jet.internal.runtime.model.EMFXMLModelLoader.loa d(EMFXMLModelLoader.java:131) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r.updateProject(PluginProjectMonitor.java:208) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r.access$0(PluginProjectMonitor.java:196) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r$1.visit(PluginProjectMonitor.java:129) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.events.ResourceDelta.accept(Resour ceDelta.java:67) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.events.ResourceDelta.accept(Resour ceDelta.java:76) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.events.ResourceDelta.accept(Resour ceDelta.java:48) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r.handleWorkspaceChange(PluginProjectMonitor.java:112) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r.resourceChanged(PluginProjectMonitor.java:103) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.events.NotificationManager$2.run(N otificationManager.java:282) <br>
&nbsp;&nbsp;&nbsp; at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)<br >
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.events.NotificationManager.notify( NotificationManager.java:276) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.events.NotificationManager.broadca stChanges(NotificationManager.java:148) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.resources.Workspace.broadcastPostC hange(Workspace.java:311) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.resources.Workspace.endOperation(W orkspace.java:1018) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1806) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.events.NotificationManager$NotifyJ ob.run(NotificationManager.java:39) <br>
&nbsp;&nbsp;&nbsp; at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)<br >
Caused by: java.net.URISyntaxException: Illegal character in opaque
part at index 47: <a class="moz-txt-link-freetext"
href="file:C:/projects/regatta-workbench/workspace/RW"
moz-do-not-send="true">file:C:/projects/regatta-workbench/workspace/RW </a>
FinishLynx/plugin.xml<br>
&nbsp;&nbsp;&nbsp; at java.net.URI$Parser.fail(Unknown Source)<br>
&nbsp;&nbsp;&nbsp; at java.net.URI$Parser.checkChars(Unknown Source)<br>
&nbsp;&nbsp;&nbsp; at java.net.URI$Parser.parse(Unknown Source)<br>
&nbsp;&nbsp;&nbsp; at java.net.URI.&lt;init&gt;(Unknown Source)<br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createE FSInputStream(URIConverterImpl.java:663) <br>
&nbsp;&nbsp;&nbsp; ... 21 more</tt><br>
<br>
<br>
</blockquote>
<br>
</blockquote>
</blockquote>
<br>
</body>
</html>
Re: Spaces in URLs [message #25736 is a reply to message #25714] Wed, 11 July 2007 00:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

This is a multi-part message in MIME format.
--------------040407020405050501020909
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Scott,

Although it's definitely technically a JET problem caused by using
poorly formed file: URLs (where the file: is not immediately followed by
a "/" as would be expected for a well-formed hierarchical URI as defined
in the URI RFC) rather than using more appropriate platform:/resource
URLs (more appropriate because access actually goes through the Eclipse
resource APIs rather than going to the underlying file system directly),
it's only surfaced as a visible problem because of late breaking
changes in EMF's URIConverterImpls' support for Eclipse File System
APIs. (That's a long way of saying that it's "kind of" EMF's fault that
you're having a problem and even going back to old JET2 will not avoid
it.) The best way to avoid this would be not to have a space in your
project name. I hope it doesn't sound rude, but what compelled you to
use a space in your project name anyway? Doing so is really an
invitation for problems in the first place. Could you change things to
get rid of that nasty space? It's just generally not a good idea to use
characters like "%" or " " in a resource name. Any character that has
special meaning in other contexts is best avoided in a resource name, so
perhaps it's best to make changes to avoid this problem now and forever...


Scott Dybiec wrote:
>
> Is there a workaround for this bug? My Eclipse 3.3 is unusably slow
> right now --- e.g. saving any file leads to a 5-8 minute update/build
> process that throws lots of errors into the .log file
>
> Can I go back to the old JET somehow?
>
> $cott
>
> Paul Elder wrote:
>> Scott:
>>
>> This is definitely a JET bug. Can you submit a bugzilla. The
>> following link setup of most of the fields:
>>
>> https://bugs.eclipse.org/bugs/enter_bug.cgi?product=M2T& version=unspecified&component=Jet&rep_platform=PC&am p;op_sys=Windows%20XP&priority=P3&bug_severity=norma l&bug_status=NEW&bug_file_loc=http%3A%2F%2F&shor t_desc=&comment=&commentprivacy=0&keywords=& dependson=&blocked=&maketemplate=Remember%20values%2 0as%20bookmarkable%20template&form_name=enter_bug&as signed_to=m2t.jet-inbox%40eclipse.org
>> < https://bugs.eclipse.org/bugs/enter_bug.cgi?product=M2T& version=unspecified&component=Jet&rep_platform=PC&am p;op_sys=Windows%20XP&priority=P3&bug_severity=norma l&bug_status=NEW&bug_file_loc=http%3A%2F%2F&shor t_desc=&comment=&commentprivacy=0&keywords=& dependson=&blocked=&maketemplate=Remember%20values%2 0as%20bookmarkable%20template&form_name=enter_bug&as signed_to=m2t.jet-inbox%40eclipse.org>
>>
>> Thx,
>>
>> Paul
>>
>> "Ed Merks" <merks@ca.ibm.com <mailto:merks@ca.ibm.com>> wrote in
>> message news:f6u5ia$6v0$1@build.eclipse.org...
>> Scott,
>>
>> I'm not sure where the URI
>> "file:C:/projects/regatta-workbench/workspace/RW
>> FinishLynx/plugin.xml" is being created, but it should be of the
>> form "file:/C:/projects/regatta-workbench/workspace/RW
>> FinishLynx/plugin.xml" (note the / after the file:) to be a
>> proper hierarchical URI. Perhaps this worked in the past because
>> createURLInputStream was invoked where really
>> createFileInputStream is what should be kicking in but now, with
>> 2.3, createEFSInputStream is used instead. I'm confused though
>> why this code wouldn't be using "platform:/resource/RW
>> FinishLynx/plugin.xml" instead, because that would seem the
>> proper way to access something in the workspace; using a file:
>> URI for that will bypass the workspace and access the underlying
>> file system directly instead...
>>
>> I'll add the M2T newsgroup to the reply since this appears to be
>> a JET2 problem in this code:
>>
>> private void updateProject(IProject project)
>> {
>> if(DEBUG)
>> System.out.println("PluginProjectMonitor.updateProject(" +
>> project + ")"); //$NON-NLS-1$ //$NON-NLS-2$
>> try
>> {
>>
>> final URL projectURL = new URL("file", "",
>> project.getLocation() + "/"); //$NON-NLS-1$ //$NON-NLS-2$
>> //$NON-NLS-3$
>> final BundleManifest manifest =
>> JETBundleManager.loadManifest(projectURL);
>> Object pluginDocumentRoot = null;
>> if(hasPluginManifest(project)) {
>> if(DEBUG)System.out.println(" has plugin.xml");
>> //$NON-NLS-1$
>> URL extensionsURL = new URL(projectURL,
>> "plugin.xml"); //$NON-NLS-1$
>> pluginDocumentRoot =
>> JETActivatorWrapper.INSTANCE.getLoaderManager().getLoader(ex tensionsURL.toExternalForm(),
>> null, "xml").load(extensionsURL); //$NON-NLS-1$
>> }
>>
>>
>> Scott Dybiec wrote:
>>> I installed Eclipse 3.3 and pointed it to my Eclipse 3.2
>>> workspace. Now my .log file is filling up with many, many
>>> messages like the one below --- one for each project in my
>>> workspace. They are generated during my workspace automatic
>>> incremental builds. These builds now take a very long time -
>>> much longer than under 3.2.
>>>
>>> One thing I've noticed: It seem to be happening with projects
>>> that have names with spaces in them, such as the one below:
>>>
>>> "C:/projects/regatta-workbench/workspace/RW FinishLynx/plugin.xml"
>>>
>>> Perhaps it's similar in some way to this:
>>> http://dev.eclipse.org/newslists/news.eclipse.modeling.m2t/m sg00163.html
>>>
>>> Is this an EMF issue? If not, can you point me in the right
>>> direction?
>>>
>>> Sincerely,
>>>
>>> Lost In Spaces
>>>
>>> ------------------------------------------------------------ ------------
>>>
>>> !ENTRY org.eclipse.jet 2 0 2007-07-09 15:27:20.687
>>> !MESSAGE Illegal character in opaque part at index 47:
>>> file:C:/projects/regatta-workbench/workspace/RW
>>> FinishLynx/plugin.xml
>>> !STACK 0
>>> org.eclipse.emf.ecore.resource.Resource$IOWrappedException:
>>> Illegal character in opaque part at index 47:
>>> file:C:/projects/regatta-workbench/workspace/RW
>>> FinishLynx/plugin.xml
>>> at
>>> org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createE FSInputStream(URIConverterImpl.java:671)
>>> at
>>> org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createI nputStream(URIConverterImpl.java:542)
>>> at
>>> org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:1152)
>>> at
>>> org.eclipse.jet.internal.runtime.model.EMFXMLModelLoader.loa d(EMFXMLModelLoader.java:151)
>>> at
>>> org.eclipse.jet.internal.runtime.model.EMFXMLModelLoader.loa d(EMFXMLModelLoader.java:131)
>>> at
>>> org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r.updateProject(PluginProjectMonitor.java:208)
>>> at
>>> org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r.access$0(PluginProjectMonitor.java:196)
>>> at
>>> org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r$1.visit(PluginProjectMonitor.java:129)
>>> at
>>> org.eclipse.core.internal.events.ResourceDelta.accept(Resour ceDelta.java:67)
>>> at
>>> org.eclipse.core.internal.events.ResourceDelta.accept(Resour ceDelta.java:76)
>>> at
>>> org.eclipse.core.internal.events.ResourceDelta.accept(Resour ceDelta.java:48)
>>> at
>>> org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r.handleWorkspaceChange(PluginProjectMonitor.java:112)
>>> at
>>> org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r.resourceChanged(PluginProjectMonitor.java:103)
>>> at
>>> org.eclipse.core.internal.events.NotificationManager$2.run(N otificationManager.java:282)
>>> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
>>> at
>>> org.eclipse.core.internal.events.NotificationManager.notify( NotificationManager.java:276)
>>> at
>>> org.eclipse.core.internal.events.NotificationManager.broadca stChanges(NotificationManager.java:148)
>>> at
>>> org.eclipse.core.internal.resources.Workspace.broadcastPostC hange(Workspace.java:311)
>>> at
>>> org.eclipse.core.internal.resources.Workspace.endOperation(W orkspace.java:1018)
>>> at
>>> org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1806)
>>> at
>>> org.eclipse.core.internal.events.NotificationManager$NotifyJ ob.run(NotificationManager.java:39)
>>> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>>> Caused by: java.net.URISyntaxException: Illegal character in
>>> opaque part at index 47:
>>> file:C:/projects/regatta-workbench/workspace/RW
>>> FinishLynx/plugin.xml
>>> at java.net.URI$Parser.fail(Unknown Source)
>>> at java.net.URI$Parser.checkChars(Unknown Source)
>>> at java.net.URI$Parser.parse(Unknown Source)
>>> at java.net.URI.<init>(Unknown Source)
>>> at
>>> org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createE FSInputStream(URIConverterImpl.java:663)
>>> ... 21 more
>>>
>>>
>>
>


--------------040407020405050501020909
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Scott,<br>
<br>
Although it's definitely technically a JET problem caused by using
poorly formed file: URLs (where the file: is not immediately followed
by a "/" as would be expected for a well-formed hierarchical URI as
defined in the URI RFC) rather than using more appropriate
platform:/resource URLs (more appropriate because access actually goes
through the Eclipse resource APIs rather than going to the underlying
file system directly), it's only surfaced as a visible problem because
of&nbsp; late breaking changes in EMF's URIConverterImpls' support for
Eclipse File System APIs.&nbsp; (That's a long way of saying that it's "kind
of" EMF's fault that you're having a problem and even going back to old
JET2 will not avoid it.)&nbsp; The best way to avoid this would be not to
have a space in your project name. I hope it doesn't sound rude, but
what compelled you to use a space in your project name anyway? Doing so
is really an invitation for problems in the first place. Could you
change things to get rid of that nasty space?&nbsp; It's just generally not
a good idea to use characters like "%" or " " in a resource name.&nbsp; Any
character that has special meaning in other contexts is best avoided in
a resource name, so perhaps it's best to make changes to avoid this
problem now and forever...<br>
<br>
<br>
Scott Dybiec wrote:
<blockquote cite="mid:f710ag$ovs$1@build.eclipse.org" type="cite">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<br>
Is there a workaround for this bug?&nbsp; My Eclipse 3.3 is unusably slow
right now --- e.g. saving any file leads to a 5-8 minute update/build
process that throws lots of errors into the .log file<br>
<br>
Can I go back to the old JET somehow?<br>
<br>
$cott<br>
<br>
Paul Elder wrote:
<blockquote cite="mid:f6u6uu$a7f$1@build.eclipse.org" type="cite">
<meta http-equiv="Content-Type" content="text/html;">
<meta content="MSHTML 6.00.2900.3132" name="GENERATOR">
<style></style>
<div><font face="Arial" size="2">Scott:</font></div>
<div>&nbsp;</div>
<div><font face="Arial" size="2">This is definitely a JET bug. Can
you submit a bugzilla. The following link setup of most of the fields:</font></div>
<div>&nbsp;</div>
<div><font face="Arial" size="2"><a moz-do-not-send="true"
href=" https://bugs.eclipse.org/bugs/enter_bug.cgi?product=M2T& amp ;version=unspecified&amp;component=Jet&amp;rep_platf orm=PC&amp;op_sys=Windows%20XP&amp;priority=P3&a mp;bug_severity=normal&amp;bug_status=NEW&amp;bug_fi le_loc=http%3A%2F%2F&amp;short_desc=&amp;comment=&am p;amp;commentprivacy=0&amp;keywords=&amp;dependson=& amp;amp;blocked=&amp;maketemplate=Remember%20values%20as %20bookmarkable%20template&amp;form_name=enter_bug&a mp;assigned_to=m2t.jet-inbox%40eclipse.org "> https://bugs.eclipse.org/bugs/enter_bug.cgi?product=M2T& amp ;version=unspecified&amp;component=Jet&amp;rep_platf orm=PC&amp;op_sys=Windows%20XP&amp;priority=P3&a mp;bug_severity=normal&amp;bug_status=NEW&amp;bug_fi le_loc=http%3A%2F%2F&amp;short_desc=&amp;comment=&am p;amp;commentprivacy=0&amp;keywords=&amp;dependson=& amp;amp;blocked=&amp;maketemplate=Remember%20values%20as %20bookmarkable%20template&amp;form_name=enter_bug&a mp;assigned_to=m2t.jet-inbox%40eclipse.org </a></font></div>
<div>&nbsp;</div>
<div><font face="Arial" size="2">Thx,</font></div>
<div>&nbsp;</div>
<div><font face="Arial" size="2">Paul</font></div>
<blockquote
style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;">
<div>"Ed Merks" &lt;<a moz-do-not-send="true"
href="mailto:merks@ca.ibm.com">merks@ca.ibm.com</a>&gt; wrote in
message <a moz-do-not-send="true"
href="news:f6u5ia$6v0$1@build.eclipse.org">news:f6u5ia$6v0$1@build.eclipse.org</a>...</div>
Scott,<br>
<br>
I'm not sure where the URI <tt><a class="moz-txt-link-freetext"
href="file:C:/projects/regatta-workbench/workspace/RW"
moz-do-not-send="true">"file:C:/projects/regatta-workbench/workspace/RW </a>
FinishLynx/plugin.xml</tt>" is being created, but it should be of the
form <tt><a class="moz-txt-link-freetext"
href="file:C:/projects/regatta-workbench/workspace/RW"
moz-do-not-send="true">"file:/C:/projects/regatta-workbench/workspace/RW </a>
FinishLynx/plugin.xml</tt>" (note the / after the file:) to be a proper
hierarchical URI.&nbsp; Perhaps this worked in the past because
createURLInputStream was invoked where really createFileInputStream is
what should be kicking in but now, with 2.3, createEFSInputStream is
used instead.&nbsp; I'm confused though why this code wouldn't be using
"platform:/resource/<tt>RW FinishLynx/plugin.xml"</tt> instead, because
that would seem the proper way to access something in the workspace;
using a file: URI for that will bypass the workspace and access the
underlying file system directly instead...<br>
<br>
I'll add the M2T newsgroup to the reply since this appears to be a JET2
problem in this code:<br>
<blockquote><small>&nbsp; private void updateProject(IProject project)</small><br>
<small>&nbsp; {</small><br>
<small>&nbsp;&nbsp;&nbsp; if(DEBUG)
System.out.println("PluginProjectMonitor.updateProject(" + project +
")"); //$NON-NLS-1$ //$NON-NLS-2$</small><br>
<small>&nbsp;&nbsp;&nbsp; try</small><br>
<small>&nbsp;&nbsp;&nbsp; {</small><br>
<small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </small><br>
<small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; final URL projectURL = new URL("file", "",
project.getLocation() + "/"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$</small><br>
<small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; final BundleManifest manifest =
JETBundleManager.loadManifest(projectURL);</small><br>
<small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Object pluginDocumentRoot = null;</small><br>
<small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if(hasPluginManifest(project)) {</small><br>
<small> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; if(DEBUG)System.out.println("&nbsp; has plugin.xml");
//$NON-NLS-1$</small><br>
<small> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; URL extensionsURL = new URL(projectURL,
"plugin.xml"); //$NON-NLS-1$</small><br>
<small> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; pluginDocumentRoot =
JETActivatorWrapper.INSTANCE.getLoaderManager().getLoader(ex tensionsURL.toExternalForm(),
null, "xml").load(extensionsURL); //$NON-NLS-1$</small><br>
<small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</small><br>
</blockquote>
<br>
Scott Dybiec wrote:
<blockquote cite="mid:f6u3jd$2h0$1@build.eclipse.org" type="cite">I
installed Eclipse 3.3 and pointed it to my Eclipse 3.2 workspace. Now
my .log file is filling up with many, many messages like the one below
--- one for each project in my workspace. They are generated during my
workspace automatic incremental builds. These builds now take a very
long time - much longer than under 3.2.<br>
<br>
One thing I've noticed: It seem to be happening with projects that have
names with spaces in them, such as the one below: <br>
<br>
"<tt>C:/projects/regatta-workbench/workspace/RW FinishLynx/plugin.xml"<br>
<br>
</tt>Perhaps it's similar in some way to this: <a
class="moz-txt-link-freetext"
href=" http://dev.eclipse.org/newslists/news.eclipse.modeling.m2t/m sg00163.html"
moz-do-not-send="true"> http://dev.eclipse.org/newslists/news.eclipse.modeling.m2t/m sg00163.html</a><tt><br>
<br>
</tt>Is this an EMF issue? If not, can you point me in the
right
direction?<br>
<br>
Sincerely,<br>
<br>
Lost In Spaces<br>
<br>
<hr size="2" width="100%"> <br>
<tt>!ENTRY org.eclipse.jet 2 0 2007-07-09 15:27:20.687<br>
!MESSAGE Illegal character in opaque part at index 47: <a
class="moz-txt-link-freetext"
href="file:C:/projects/regatta-workbench/workspace/RW"
moz-do-not-send="true">file:C:/projects/regatta-workbench/workspace/RW </a>
FinishLynx/plugin.xml<br>
!STACK 0<br>
org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Illegal
character in opaque part at index 47: <a class="moz-txt-link-freetext"
href="file:C:/projects/regatta-workbench/workspace/RW"
moz-do-not-send="true">file:C:/projects/regatta-workbench/workspace/RW </a>
FinishLynx/plugin.xml<br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createE FSInputStream(URIConverterImpl.java:671) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createI nputStream(URIConverterImpl.java:542) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:1152) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.jet.internal.runtime.model.EMFXMLModelLoader.loa d(EMFXMLModelLoader.java:151) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.jet.internal.runtime.model.EMFXMLModelLoader.loa d(EMFXMLModelLoader.java:131) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r.updateProject(PluginProjectMonitor.java:208) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r.access$0(PluginProjectMonitor.java:196) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r$1.visit(PluginProjectMonitor.java:129) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.events.ResourceDelta.accept(Resour ceDelta.java:67) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.events.ResourceDelta.accept(Resour ceDelta.java:76) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.events.ResourceDelta.accept(Resour ceDelta.java:48) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r.handleWorkspaceChange(PluginProjectMonitor.java:112) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r.resourceChanged(PluginProjectMonitor.java:103) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.events.NotificationManager$2.run(N otificationManager.java:282) <br>
&nbsp;&nbsp;&nbsp; at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)<br >
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.events.NotificationManager.notify( NotificationManager.java:276) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.events.NotificationManager.broadca stChanges(NotificationManager.java:148) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.resources.Workspace.broadcastPostC hange(Workspace.java:311) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.resources.Workspace.endOperation(W orkspace.java:1018) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1806) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.events.NotificationManager$NotifyJ ob.run(NotificationManager.java:39) <br>
&nbsp;&nbsp;&nbsp; at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)<br >
Caused by: java.net.URISyntaxException: Illegal character in opaque
part at index 47: <a class="moz-txt-link-freetext"
href="file:C:/projects/regatta-workbench/workspace/RW"
moz-do-not-send="true">file:C:/projects/regatta-workbench/workspace/RW </a>
FinishLynx/plugin.xml<br>
&nbsp;&nbsp;&nbsp; at java.net.URI$Parser.fail(Unknown Source)<br>
&nbsp;&nbsp;&nbsp; at java.net.URI$Parser.checkChars(Unknown Source)<br>
&nbsp;&nbsp;&nbsp; at java.net.URI$Parser.parse(Unknown Source)<br>
&nbsp;&nbsp;&nbsp; at java.net.URI.&lt;init&gt;(Unknown Source)<br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createE FSInputStream(URIConverterImpl.java:663) <br>
&nbsp;&nbsp;&nbsp; ... 21 more</tt><br>
<br>
<br>
</blockquote>
<br>
</blockquote>
</blockquote>
<br>
</blockquote>
<br>
</body>
</html>

--------------040407020405050501020909--
Re: Spaces in URLs [message #25860 is a reply to message #25736] Wed, 11 July 2007 11:25 Go to previous messageGo to next message
Scott Dybiec is currently offline Scott DybiecFriend
Messages: 148
Registered: July 2009
Senior Member
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Thanks for that clear and complete response. I understand the bug
better now.<br>
<br>
My comments are interspersed below.<br>
<br>
$cott<br>
<br>
Ed Merks wrote:
<blockquote cite="mid:f717vi$i8v$1@build.eclipse.org" type="cite">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
Scott,<br>
<br>
Although it's definitely technically a JET problem caused by using
poorly formed file: URLs (where the file: is not immediately followed
by a "/" as would be expected for a well-formed hierarchical URI as
defined in the URI RFC) rather than using more appropriate
platform:/resource URLs (more appropriate because access actually goes
through the Eclipse resource APIs rather than going to the underlying
file system directly), it's only surfaced as a visible problem because
of&nbsp; late breaking changes in EMF's URIConverterImpls' support for
Eclipse File System APIs.&nbsp; (That's a long way of saying that it's "kind
of" EMF's fault that you're having a problem and even going back to old
JET2 will not avoid it.)&nbsp; The best way to avoid this would be not to
have a space in your project name.</blockquote>
If I understand you, then this means that a poorly formed file: URL
(where the file: is not immediately followed
by a "/" ) without spaces will resolve properly, but one with spaces
will not. Right?
<blockquote cite="mid:f717vi$i8v$1@build.eclipse.org" type="cite"> I
hope it doesn't sound rude, but
what compelled you to use a space in your project name anyway?</blockquote>
Names with spaces seemed more readable, especially with so many
projects in my Package Explorer tree. At the time I created most of
these these 100 or so projects, I had no clue that some plugins would
break due to spaces in project names. <br>
<blockquote cite="mid:f717vi$i8v$1@build.eclipse.org" type="cite">
Doing so
is really an invitation for problems in the first place. Could you
change things to get rid of that nasty space?</blockquote>
It's a little daunting to imagine the amount of time it would take to
individually refactor/rename each project individually, given that my
workspace is running painfully slow right now, due to the bug. I'll
look into my options -- something like a mass project rename script.<br>
<blockquote cite="mid:f717vi$i8v$1@build.eclipse.org" type="cite">&nbsp;
It's just generally not
a good idea to use characters like "%" or " " in a resource name.&nbsp; Any
character that has special meaning in other contexts is best avoided in
a resource name, so perhaps it's best to make changes to avoid this
problem now and forever...<br>
</blockquote>
Got it. If spaces are considered bad/risky practice for
use in Project Names, then perhaps the New Project Wizard should have a
warning or error for this. My workspace has had projects with spaces
since the
Eclipse 2.1 days. Sound like a bug I should submit to the Eclipse
Platform project?<br>
<br>
$cott<br>
<blockquote cite="mid:f717vi$i8v$1@build.eclipse.org" type="cite"><br>
<br>
Scott Dybiec wrote:
<blockquote cite="mid:f710ag$ovs$1@build.eclipse.org" type="cite">
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
<br>
Is there a workaround for this bug?&nbsp; My Eclipse 3.3 is unusably slow
right now --- e.g. saving any file leads to a 5-8 minute update/build
process that throws lots of errors into the .log file<br>
<br>
Can I go back to the old JET somehow?<br>
<br>
$cott<br>
<br>
Paul Elder wrote:
<blockquote cite="mid:f6u6uu$a7f$1@build.eclipse.org" type="cite">
<meta http-equiv="Content-Type" content="text/html;">
<meta content="MSHTML 6.00.2900.3132" name="GENERATOR">
<style></style>
<div><font face="Arial" size="2">Scott:</font></div>
<div>&nbsp;</div>
<div><font face="Arial" size="2">This is definitely a JET bug.
Can
you submit a bugzilla. The following link setup of most of the fields:</font></div>
<div>&nbsp;</div>
<div><font face="Arial" size="2"><a moz-do-not-send="true"
href=" https://bugs.eclipse.org/bugs/enter_bug.cgi?product=M2T& amp ;version=unspecified&amp;component=Jet&amp;rep_platf orm=PC&amp;op_sys=Windows%20XP&amp;priority=P3&a mp;bug_severity=normal&amp;bug_status=NEW&amp;bug_fi le_loc=http%3A%2F%2F&amp;short_desc=&amp;comment=&am p;amp;commentprivacy=0&amp;keywords=&amp;dependson=& amp;amp;blocked=&amp;maketemplate=Remember%20values%20as %20bookmarkable%20template&amp;form_name=enter_bug&a mp;assigned_to=m2t.jet-inbox%40eclipse.org "> https://bugs.eclipse.org/bugs/enter_bug.cgi?product=M2T& amp ;version=unspecified&amp;component=Jet&amp;rep_platf orm=PC&amp;op_sys=Windows%20XP&amp;priority=P3&a mp;bug_severity=normal&amp;bug_status=NEW&amp;bug_fi le_loc=http%3A%2F%2F&amp;short_desc=&amp;comment=&am p;amp;commentprivacy=0&amp;keywords=&amp;dependson=& amp;amp;blocked=&amp;maketemplate=Remember%20values%20as %20bookmarkable%20template&amp;form_name=enter_bug&a mp;assigned_to=m2t.jet-inbox%40eclipse.org </a></font></div>
<div>&nbsp;</div>
<div><font face="Arial" size="2">Thx,</font></div>
<div>&nbsp;</div>
<div><font face="Arial" size="2">Paul</font></div>
<blockquote
style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;">
<div>"Ed Merks" &lt;<a moz-do-not-send="true"
href="mailto:merks@ca.ibm.com">merks@ca.ibm.com</a>&gt; wrote in
message <a moz-do-not-send="true"
href="news:f6u5ia$6v0$1@build.eclipse.org">news:f6u5ia$6v0$1@build.eclipse.org</a>...</div>
Scott,<br>
<br>
I'm not sure where the URI <tt><a class="moz-txt-link-freetext"
href="file:C:/projects/regatta-workbench/workspace/RW"
moz-do-not-send="true">"file:C:/projects/regatta-workbench/workspace/RW </a>
FinishLynx/plugin.xml</tt>" is being created, but it should be of the
form <tt><a class="moz-txt-link-freetext"
href="file:C:/projects/regatta-workbench/workspace/RW"
moz-do-not-send="true">"file:/C:/projects/regatta-workbench/workspace/RW </a>
FinishLynx/plugin.xml</tt>" (note the / after the file:) to be a proper
hierarchical URI.&nbsp; Perhaps this worked in the past because
createURLInputStream was invoked where really createFileInputStream is
what should be kicking in but now, with 2.3, createEFSInputStream is
used instead.&nbsp; I'm confused though why this code wouldn't be using
"platform:/resource/<tt>RW FinishLynx/plugin.xml"</tt> instead, because
that would seem the proper way to access something in the workspace;
using a file: URI for that will bypass the workspace and access the
underlying file system directly instead...<br>
<br>
I'll add the M2T newsgroup to the reply since this appears to be a JET2
problem in this code:<br>
<blockquote><small>&nbsp; private void updateProject(IProject
project)</small><br>
<small>&nbsp; {</small><br>
<small>&nbsp;&nbsp;&nbsp; if(DEBUG)
System.out.println("PluginProjectMonitor.updateProject(" + project +
")"); //$NON-NLS-1$ //$NON-NLS-2$</small><br>
<small>&nbsp;&nbsp;&nbsp; try</small><br>
<small>&nbsp;&nbsp;&nbsp; {</small><br>
<small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </small><br>
<small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; final URL projectURL = new URL("file", "",
project.getLocation() + "/"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$</small><br>
<small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; final BundleManifest manifest =
JETBundleManager.loadManifest(projectURL);</small><br>
<small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Object pluginDocumentRoot = null;</small><br>
<small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if(hasPluginManifest(project)) {</small><br>
<small> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; if(DEBUG)System.out.println("&nbsp; has
plugin.xml");
//$NON-NLS-1$</small><br>
<small> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; URL extensionsURL = new URL(projectURL,
"plugin.xml"); //$NON-NLS-1$</small><br>
<small> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; pluginDocumentRoot =
JETActivatorWrapper.INSTANCE.getLoaderManager().getLoader(ex tensionsURL.toExternalForm(),
null, "xml").load(extensionsURL); //$NON-NLS-1$</small><br>
<small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</small><br>
</blockquote>
<br>
Scott Dybiec wrote:
<blockquote cite="mid:f6u3jd$2h0$1@build.eclipse.org"
type="cite">I
installed Eclipse 3.3 and pointed it to my Eclipse 3.2 workspace. Now
my .log file is filling up with many, many messages like the one below
--- one for each project in my workspace. They are generated during my
workspace automatic incremental builds. These builds now take a very
long time - much longer than under 3.2.<br>
<br>
One thing I've noticed: It seem to be happening with projects that have
names with spaces in them, such as the one below: <br>
<br>
"<tt>C:/projects/regatta-workbench/workspace/RW FinishLynx/plugin.xml"<br>
<br>
</tt>Perhaps it's similar in some way to this: <a
class="moz-txt-link-freetext"
href=" http://dev.eclipse.org/newslists/news.eclipse.modeling.m2t/m sg00163.html"
moz-do-not-send="true"> http://dev.eclipse.org/newslists/news.eclipse.modeling.m2t/m sg00163.html</a><tt><br>
<br>
</tt>Is this an EMF issue? If not, can you point me in the
right
direction?<br>
<br>
Sincerely,<br>
<br>
Lost In Spaces<br>
<br>
<hr size="2" width="100%"> <br>
<tt>!ENTRY org.eclipse.jet 2 0 2007-07-09 15:27:20.687<br>
!MESSAGE Illegal character in opaque part at index 47: <a
class="moz-txt-link-freetext"
href="file:C:/projects/regatta-workbench/workspace/RW"
moz-do-not-send="true">file:C:/projects/regatta-workbench/workspace/RW </a>
FinishLynx/plugin.xml<br>
!STACK 0<br>
org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Illegal
character in opaque part at index 47: <a class="moz-txt-link-freetext"
href="file:C:/projects/regatta-workbench/workspace/RW"
moz-do-not-send="true">file:C:/projects/regatta-workbench/workspace/RW </a>
FinishLynx/plugin.xml<br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createE FSInputStream(URIConverterImpl.java:671) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createI nputStream(URIConverterImpl.java:542) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:1152) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.jet.internal.runtime.model.EMFXMLModelLoader.loa d(EMFXMLModelLoader.java:151) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.jet.internal.runtime.model.EMFXMLModelLoader.loa d(EMFXMLModelLoader.java:131) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r.updateProject(PluginProjectMonitor.java:208) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r.access$0(PluginProjectMonitor.java:196) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r$1.visit(PluginProjectMonitor.java:129) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.events.ResourceDelta.accept(Resour ceDelta.java:67) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.events.ResourceDelta.accept(Resour ceDelta.java:76) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.events.ResourceDelta.accept(Resour ceDelta.java:48) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r.handleWorkspaceChange(PluginProjectMonitor.java:112) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r.resourceChanged(PluginProjectMonitor.java:103) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.events.NotificationManager$2.run(N otificationManager.java:282) <br>
&nbsp;&nbsp;&nbsp; at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)<br >
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.events.NotificationManager.notify( NotificationManager.java:276) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.events.NotificationManager.broadca stChanges(NotificationManager.java:148) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.resources.Workspace.broadcastPostC hange(Workspace.java:311) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.resources.Workspace.endOperation(W orkspace.java:1018) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1806) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.events.NotificationManager$NotifyJ ob.run(NotificationManager.java:39) <br>
&nbsp;&nbsp;&nbsp; at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)<br >
Caused by: java.net.URISyntaxException: Illegal character in opaque
part at index 47: <a class="moz-txt-link-freetext"
href="file:C:/projects/regatta-workbench/workspace/RW"
moz-do-not-send="true">file:C:/projects/regatta-workbench/workspace/RW </a>
FinishLynx/plugin.xml<br>
&nbsp;&nbsp;&nbsp; at java.net.URI$Parser.fail(Unknown Source)<br>
&nbsp;&nbsp;&nbsp; at java.net.URI$Parser.checkChars(Unknown Source)<br>
&nbsp;&nbsp;&nbsp; at java.net.URI$Parser.parse(Unknown Source)<br>
&nbsp;&nbsp;&nbsp; at java.net.URI.&lt;init&gt;(Unknown Source)<br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createE FSInputStream(URIConverterImpl.java:663) <br>
&nbsp;&nbsp;&nbsp; ... 21 more</tt><br>
<br>
<br>
</blockquote>
<br>
</blockquote>
</blockquote>
<br>
</blockquote>
<br>
</blockquote>
<br>
</body>
</html>
Re: Spaces in URLs [message #25905 is a reply to message #25860] Wed, 11 July 2007 12:01 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

This is a multi-part message in MIME format.
--------------000801000203060505060205
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Scott,

Comments below.


Scott Dybiec wrote:
> Thanks for that clear and complete response. I understand the bug
> better now.
>
> My comments are interspersed below.
>
> $cott
>
> Ed Merks wrote:
>> Scott,
>>
>> Although it's definitely technically a JET problem caused by using
>> poorly formed file: URLs (where the file: is not immediately followed
>> by a "/" as would be expected for a well-formed hierarchical URI as
>> defined in the URI RFC) rather than using more appropriate
>> platform:/resource URLs (more appropriate because access actually
>> goes through the Eclipse resource APIs rather than going to the
>> underlying file system directly), it's only surfaced as a visible
>> problem because of late breaking changes in EMF's URIConverterImpls'
>> support for Eclipse File System APIs. (That's a long way of saying
>> that it's "kind of" EMF's fault that you're having a problem and even
>> going back to old JET2 will not avoid it.) The best way to avoid
>> this would be not to have a space in your project name.
> If I understand you, then this means that a poorly formed file: URL
> (where the file: is not immediately followed by a "/" ) without spaces
> will resolve properly, but one with spaces will not. Right?
EMF's URI class tests isFile like this:

public boolean isFile()
{
return isHierarchical() &&
((isRelative() && !hasQuery()) ||
SCHEME_FILE.equalsIgnoreCase(scheme));
}

A URI is hierarchical only if there is a "/" immediately after the colon
following the scheme. If the isFile tests fails, then the URI converter
will not treat it as a file URI. In that past, this would mean it would
be treated as just a URL, but in EMF 2.3, we first test if the scheme of
the URI is one that EFS supports and if so, we delegate to EFS to access
the data. At that point we need to construct a java.net.URI and it's
java.net.URI that refuses to accept a space. If the space had been
properly encoded as %20 that wold have worked fine. (It's kind of a sad
thing that a URL can't always be converted to a URI.)

>> I hope it doesn't sound rude, but what compelled you to use a space
>> in your project name anyway?
> Names with spaces seemed more readable, especially with so many
> projects in my Package Explorer tree. At the time I created most of
> these these 100 or so projects, I had no clue that some plugins would
> break due to spaces in project names.
A project whose name matches the plugin ID would seem better. Dot
qualified names are pretty easy to read...
>> Doing so is really an invitation for problems in the first place.
>> Could you change things to get rid of that nasty space?
> It's a little daunting to imagine the amount of time it would take to
> individually refactor/rename each project individually, given that my
> workspace is running painfully slow right now, due to the bug. I'll
> look into my options -- something like a mass project rename script.
Perhaps you can turn off auto build while doing the refactoring?
>> It's just generally not a good idea to use characters like "%" or "
>> " in a resource name. Any character that has special meaning in
>> other contexts is best avoided in a resource name, so perhaps it's
>> best to make changes to avoid this problem now and forever...
> Got it. If spaces are considered bad/risky practice for use in Project
> Names, then perhaps the New Project Wizard should have a warning or
> error for this. My workspace has had projects with spaces since the
> Eclipse 2.1 days. Sound like a bug I should submit to the Eclipse
> Platform project?
I doubt they will take such a problem very seriously, since downstream
code should not break as a result (although it often does). Even
Eclipse 3.3 shipped a version of ANT for which on Linux a space in the
install location causes ANT to malfunction. :-( But it's perhaps worth
a try. Sorry for the hassle...
>
> $cott
>>
>>
>> Scott Dybiec wrote:
>>>
>>> Is there a workaround for this bug? My Eclipse 3.3 is unusably slow
>>> right now --- e.g. saving any file leads to a 5-8 minute
>>> update/build process that throws lots of errors into the .log file
>>>
>>> Can I go back to the old JET somehow?
>>>
>>> $cott
>>>
>>> Paul Elder wrote:
>>>> Scott:
>>>>
>>>> This is definitely a JET bug. Can you submit a bugzilla. The
>>>> following link setup of most of the fields:
>>>>
>>>> https://bugs.eclipse.org/bugs/enter_bug.cgi?product=M2T& version=unspecified&component=Jet&rep_platform=PC&am p;op_sys=Windows%20XP&priority=P3&bug_severity=norma l&bug_status=NEW&bug_file_loc=http%3A%2F%2F&shor t_desc=&comment=&commentprivacy=0&keywords=& dependson=&blocked=&maketemplate=Remember%20values%2 0as%20bookmarkable%20template&form_name=enter_bug&as signed_to=m2t.jet-inbox%40eclipse.org
>>>> < https://bugs.eclipse.org/bugs/enter_bug.cgi?product=M2T& version=unspecified&component=Jet&rep_platform=PC&am p;op_sys=Windows%20XP&priority=P3&bug_severity=norma l&bug_status=NEW&bug_file_loc=http%3A%2F%2F&shor t_desc=&comment=&commentprivacy=0&keywords=& dependson=&blocked=&maketemplate=Remember%20values%2 0as%20bookmarkable%20template&form_name=enter_bug&as signed_to=m2t.jet-inbox%40eclipse.org>
>>>>
>>>> Thx,
>>>>
>>>> Paul
>>>>
>>>> "Ed Merks" <merks@ca.ibm.com <mailto:merks@ca.ibm.com>> wrote
>>>> in message news:f6u5ia$6v0$1@build.eclipse.org...
>>>> Scott,
>>>>
>>>> I'm not sure where the URI
>>>> "file:C:/projects/regatta-workbench/workspace/RW
>>>> FinishLynx/plugin.xml" is being created, but it should be of
>>>> the form "file:/C:/projects/regatta-workbench/workspace/RW
>>>> FinishLynx/plugin.xml" (note the / after the file:) to be a
>>>> proper hierarchical URI. Perhaps this worked in the past
>>>> because createURLInputStream was invoked where really
>>>> createFileInputStream is what should be kicking in but now,
>>>> with 2.3, createEFSInputStream is used instead. I'm confused
>>>> though why this code wouldn't be using "platform:/resource/RW
>>>> FinishLynx/plugin.xml" instead, because that would seem the
>>>> proper way to access something in the workspace; using a file:
>>>> URI for that will bypass the workspace and access the
>>>> underlying file system directly instead...
>>>>
>>>> I'll add the M2T newsgroup to the reply since this appears to
>>>> be a JET2 problem in this code:
>>>>
>>>> private void updateProject(IProject project)
>>>> {
>>>> if(DEBUG)
>>>> System.out.println("PluginProjectMonitor.updateProject(" +
>>>> project + ")"); //$NON-NLS-1$ //$NON-NLS-2$
>>>> try
>>>> {
>>>>
>>>> final URL projectURL = new URL("file", "",
>>>> project.getLocation() + "/"); //$NON-NLS-1$ //$NON-NLS-2$
>>>> //$NON-NLS-3$
>>>> final BundleManifest manifest =
>>>> JETBundleManager.loadManifest(projectURL);
>>>> Object pluginDocumentRoot = null;
>>>> if(hasPluginManifest(project)) {
>>>> if(DEBUG)System.out.println(" has plugin.xml");
>>>> //$NON-NLS-1$
>>>> URL extensionsURL = new URL(projectURL,
>>>> "plugin.xml"); //$NON-NLS-1$
>>>> pluginDocumentRoot =
>>>> JETActivatorWrapper.INSTANCE.getLoaderManager().getLoader(ex tensionsURL.toExternalForm(),
>>>> null, "xml").load(extensionsURL); //$NON-NLS-1$
>>>> }
>>>>
>>>>
>>>> Scott Dybiec wrote:
>>>>> I installed Eclipse 3.3 and pointed it to my Eclipse 3.2
>>>>> workspace. Now my .log file is filling up with many, many
>>>>> messages like the one below --- one for each project in my
>>>>> workspace. They are generated during my workspace automatic
>>>>> incremental builds. These builds now take a very long time -
>>>>> much longer than under 3.2.
>>>>>
>>>>> One thing I've noticed: It seem to be happening with projects
>>>>> that have names with spaces in them, such as the one below:
>>>>>
>>>>> "C:/projects/regatta-workbench/workspace/RW FinishLynx/plugin.xml"
>>>>>
>>>>> Perhaps it's similar in some way to this:
>>>>> http://dev.eclipse.org/newslists/news.eclipse.modeling.m2t/m sg00163.html
>>>>>
>>>>> Is this an EMF issue? If not, can you point me in the right
>>>>> direction?
>>>>>
>>>>> Sincerely,
>>>>>
>>>>> Lost In Spaces
>>>>>
>>>>> ------------------------------------------------------------ ------------
>>>>>
>>>>> !ENTRY org.eclipse.jet 2 0 2007-07-09 15:27:20.687
>>>>> !MESSAGE Illegal character in opaque part at index 47:
>>>>> file:C:/projects/regatta-workbench/workspace/RW
>>>>> FinishLynx/plugin.xml
>>>>> !STACK 0
>>>>> org.eclipse.emf.ecore.resource.Resource$IOWrappedException:
>>>>> Illegal character in opaque part at index 47:
>>>>> file:C:/projects/regatta-workbench/workspace/RW
>>>>> FinishLynx/plugin.xml
>>>>> at
>>>>> org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createE FSInputStream(URIConverterImpl.java:671)
>>>>> at
>>>>> org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createI nputStream(URIConverterImpl.java:542)
>>>>> at
>>>>> org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:1152)
>>>>> at
>>>>> org.eclipse.jet.internal.runtime.model.EMFXMLModelLoader.loa d(EMFXMLModelLoader.java:151)
>>>>> at
>>>>> org.eclipse.jet.internal.runtime.model.EMFXMLModelLoader.loa d(EMFXMLModelLoader.java:131)
>>>>> at
>>>>> org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r.updateProject(PluginProjectMonitor.java:208)
>>>>> at
>>>>> org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r.access$0(PluginProjectMonitor.java:196)
>>>>> at
>>>>> org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r$1.visit(PluginProjectMonitor.java:129)
>>>>> at
>>>>> org.eclipse.core.internal.events.ResourceDelta.accept(Resour ceDelta.java:67)
>>>>> at
>>>>> org.eclipse.core.internal.events.ResourceDelta.accept(Resour ceDelta.java:76)
>>>>> at
>>>>> org.eclipse.core.internal.events.ResourceDelta.accept(Resour ceDelta.java:48)
>>>>> at
>>>>> org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r.handleWorkspaceChange(PluginProjectMonitor.java:112)
>>>>> at
>>>>> org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r.resourceChanged(PluginProjectMonitor.java:103)
>>>>> at
>>>>> org.eclipse.core.internal.events.NotificationManager$2.run(N otificationManager.java:282)
>>>>> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
>>>>> at
>>>>> org.eclipse.core.internal.events.NotificationManager.notify( NotificationManager.java:276)
>>>>> at
>>>>> org.eclipse.core.internal.events.NotificationManager.broadca stChanges(NotificationManager.java:148)
>>>>> at
>>>>> org.eclipse.core.internal.resources.Workspace.broadcastPostC hange(Workspace.java:311)
>>>>> at
>>>>> org.eclipse.core.internal.resources.Workspace.endOperation(W orkspace.java:1018)
>>>>> at
>>>>> org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1806)
>>>>> at
>>>>> org.eclipse.core.internal.events.NotificationManager$NotifyJ ob.run(NotificationManager.java:39)
>>>>> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>>>>> Caused by: java.net.URISyntaxException: Illegal character in
>>>>> opaque part at index 47:
>>>>> file:C:/projects/regatta-workbench/workspace/RW
>>>>> FinishLynx/plugin.xml
>>>>> at java.net.URI$Parser.fail(Unknown Source)
>>>>> at java.net.URI$Parser.checkChars(Unknown Source)
>>>>> at java.net.URI$Parser.parse(Unknown Source)
>>>>> at java.net.URI.<init>(Unknown Source)
>>>>> at
>>>>> org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createE FSInputStream(URIConverterImpl.java:663)
>>>>> ... 21 more
>>>>>
>>>>>
>>>>
>>>
>>
>


--------------000801000203060505060205
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Scott,<br>
<br>
Comments below.<br>
<br>
<br>
Scott Dybiec wrote:
<blockquote cite="mid:f72emu$j54$1@build.eclipse.org" type="cite">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
Thanks for that clear and complete response. I understand the bug
better now.<br>
<br>
My comments are interspersed below.<br>
<br>
$cott<br>
<br>
Ed Merks wrote:
<blockquote cite="mid:f717vi$i8v$1@build.eclipse.org" type="cite">
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
Scott,<br>
<br>
Although it's definitely technically a JET problem caused by using
poorly formed file: URLs (where the file: is not immediately followed
by a "/" as would be expected for a well-formed hierarchical URI as
defined in the URI RFC) rather than using more appropriate
platform:/resource URLs (more appropriate because access actually goes
through the Eclipse resource APIs rather than going to the underlying
file system directly), it's only surfaced as a visible problem because
of&nbsp; late breaking changes in EMF's URIConverterImpls' support for
Eclipse File System APIs.&nbsp; (That's a long way of saying that it's "kind
of" EMF's fault that you're having a problem and even going back to old
JET2 will not avoid it.)&nbsp; The best way to avoid this would be not to
have a space in your project name.</blockquote>
If I understand you, then this means that a poorly formed file: URL
(where the file: is not immediately followed
by a "/" ) without spaces will resolve properly, but one with spaces
will not. Right?</blockquote>
EMF's URI class tests isFile like this:<br>
<blockquote><small>&nbsp; public boolean isFile()</small><br>
<small>&nbsp; {</small><br>
<small>&nbsp;&nbsp;&nbsp; return isHierarchical() &amp;&amp;</small><br>
<small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ((isRelative() &amp;&amp; !hasQuery()) ||
SCHEME_FILE.equalsIgnoreCase(scheme));</small><br>
<small>&nbsp; }</small><br>
</blockquote>
A URI is hierarchical only if there is a "/" immediately after the
colon following the scheme.&nbsp; If the isFile tests fails, then the URI
converter will not treat it as a file URI.&nbsp; In that past, this would
mean it would be treated as just a URL, but in EMF 2.3, we first test
if the scheme of the URI is one that EFS supports and if so, we
delegate to EFS to access the data.&nbsp; At that point we need to construct
a java.net.URI and it's java.net.URI that refuses to accept a space. If
the space had been properly encoded as %20 that wold have worked fine.&nbsp;
(It's kind of a sad thing that a URL can't always be converted to a
URI.)<br>
<br>
<blockquote cite="mid:f72emu$j54$1@build.eclipse.org" type="cite">
<blockquote cite="mid:f717vi$i8v$1@build.eclipse.org" type="cite"> I
hope it doesn't sound rude, but
what compelled you to use a space in your project name anyway?</blockquote>
Names with spaces seemed more readable, especially with so many
projects in my Package Explorer tree. At the time I created most of
these these 100 or so projects, I had no clue that some plugins would
break due to spaces in project names. <br>
</blockquote>
A project whose name matches the plugin ID would seem better.&nbsp; Dot
qualified names are pretty easy to read...<br>
<blockquote cite="mid:f72emu$j54$1@build.eclipse.org" type="cite">
<blockquote cite="mid:f717vi$i8v$1@build.eclipse.org" type="cite">Doing
so
is really an invitation for problems in the first place. Could you
change things to get rid of that nasty space?</blockquote>
It's a little daunting to imagine the amount of time it would take to
individually refactor/rename each project individually, given that my
workspace is running painfully slow right now, due to the bug. I'll
look into my options -- something like a mass project rename script.<br>
</blockquote>
Perhaps you can turn off auto build while doing the refactoring?<br>
<blockquote cite="mid:f72emu$j54$1@build.eclipse.org" type="cite">
<blockquote cite="mid:f717vi$i8v$1@build.eclipse.org" type="cite">&nbsp;
It's just generally not
a good idea to use characters like "%" or " " in a resource name.&nbsp; Any
character that has special meaning in other contexts is best avoided in
a resource name, so perhaps it's best to make changes to avoid this
problem now and forever...<br>
</blockquote>
Got it. If spaces are considered bad/risky practice for
use in Project Names, then perhaps the New Project Wizard should have a
warning or error for this. My workspace has had projects with spaces
since the
Eclipse 2.1 days. Sound like a bug I should submit to the Eclipse
Platform project?<br>
</blockquote>
I doubt they will take such a problem very seriously, since downstream
code should not break as a result (although it often does).&nbsp; Even
Eclipse 3.3 shipped a version of ANT for which on Linux a space in the
install location causes ANT to malfunction. :-(&nbsp; But it's perhaps worth
a try.&nbsp; Sorry for the hassle...<br>
<blockquote cite="mid:f72emu$j54$1@build.eclipse.org" type="cite"><br>
$cott<br>
<blockquote cite="mid:f717vi$i8v$1@build.eclipse.org" type="cite"><br>
<br>
Scott Dybiec wrote:
<blockquote cite="mid:f710ag$ovs$1@build.eclipse.org" type="cite">
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
<br>
Is there a workaround for this bug?&nbsp; My Eclipse 3.3 is unusably slow
right now --- e.g. saving any file leads to a 5-8 minute update/build
process that throws lots of errors into the .log file<br>
<br>
Can I go back to the old JET somehow?<br>
<br>
$cott<br>
<br>
Paul Elder wrote:
<blockquote cite="mid:f6u6uu$a7f$1@build.eclipse.org" type="cite">
<meta http-equiv="Content-Type" content="text/html;">
<meta content="MSHTML 6.00.2900.3132" name="GENERATOR">
<style></style>
<div><font face="Arial" size="2">Scott:</font></div>
<div>&nbsp;</div>
<div><font face="Arial" size="2">This is definitely a JET bug.
Can
you submit a bugzilla. The following link setup of most of the fields:</font></div>
<div>&nbsp;</div>
<div><font face="Arial" size="2"><a moz-do-not-send="true"
href=" https://bugs.eclipse.org/bugs/enter_bug.cgi?product=M2T& amp ;version=unspecified&amp;component=Jet&amp;rep_platf orm=PC&amp;op_sys=Windows%20XP&amp;priority=P3&a mp;bug_severity=normal&amp;bug_status=NEW&amp;bug_fi le_loc=http%3A%2F%2F&amp;short_desc=&amp;comment=&am p;amp;commentprivacy=0&amp;keywords=&amp;dependson=& amp;amp;blocked=&amp;maketemplate=Remember%20values%20as %20bookmarkable%20template&amp;form_name=enter_bug&a mp;assigned_to=m2t.jet-inbox%40eclipse.org "> https://bugs.eclipse.org/bugs/enter_bug.cgi?product=M2T& amp ;version=unspecified&amp;component=Jet&amp;rep_platf orm=PC&amp;op_sys=Windows%20XP&amp;priority=P3&a mp;bug_severity=normal&amp;bug_status=NEW&amp;bug_fi le_loc=http%3A%2F%2F&amp;short_desc=&amp;comment=&am p;amp;commentprivacy=0&amp;keywords=&amp;dependson=& amp;amp;blocked=&amp;maketemplate=Remember%20values%20as %20bookmarkable%20template&amp;form_name=enter_bug&a mp;assigned_to=m2t.jet-inbox%40eclipse.org </a></font></div>
<div>&nbsp;</div>
<div><font face="Arial" size="2">Thx,</font></div>
<div>&nbsp;</div>
<div><font face="Arial" size="2">Paul</font></div>
<blockquote
style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;">
<div>"Ed Merks" &lt;<a moz-do-not-send="true"
href="mailto:merks@ca.ibm.com">merks@ca.ibm.com</a>&gt; wrote in
message <a moz-do-not-send="true"
href="news:f6u5ia$6v0$1@build.eclipse.org">news:f6u5ia$6v0$1@build.eclipse.org</a>...</div>
Scott,<br>
<br>
I'm not sure where the URI <tt><a class="moz-txt-link-freetext"
href="file:C:/projects/regatta-workbench/workspace/RW"
moz-do-not-send="true">"file:C:/projects/regatta-workbench/workspace/RW </a>
FinishLynx/plugin.xml</tt>" is being created, but it should be of the
form <tt><a class="moz-txt-link-freetext"
href="file:C:/projects/regatta-workbench/workspace/RW"
moz-do-not-send="true">"file:/C:/projects/regatta-workbench/workspace/RW </a>
FinishLynx/plugin.xml</tt>" (note the / after the file:) to be a proper
hierarchical URI.&nbsp; Perhaps this worked in the past because
createURLInputStream was invoked where really createFileInputStream is
what should be kicking in but now, with 2.3, createEFSInputStream is
used instead.&nbsp; I'm confused though why this code wouldn't be using
"platform:/resource/<tt>RW FinishLynx/plugin.xml"</tt> instead, because
that would seem the proper way to access something in the workspace;
using a file: URI for that will bypass the workspace and access the
underlying file system directly instead...<br>
<br>
I'll add the M2T newsgroup to the reply since this appears to be a JET2
problem in this code:<br>
<blockquote><small>&nbsp; private void updateProject(IProject
project)</small><br>
<small>&nbsp; {</small><br>
<small>&nbsp;&nbsp;&nbsp; if(DEBUG)
System.out.println("PluginProjectMonitor.updateProject(" + project +
")"); //$NON-NLS-1$ //$NON-NLS-2$</small><br>
<small>&nbsp;&nbsp;&nbsp; try</small><br>
<small>&nbsp;&nbsp;&nbsp; {</small><br>
<small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </small><br>
<small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; final URL projectURL = new URL("file", "",
project.getLocation() + "/"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$</small><br>
<small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; final BundleManifest manifest =
JETBundleManager.loadManifest(projectURL);</small><br>
<small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Object pluginDocumentRoot = null;</small><br>
<small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if(hasPluginManifest(project)) {</small><br>
<small> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; if(DEBUG)System.out.println("&nbsp; has
plugin.xml");
//$NON-NLS-1$</small><br>
<small> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; URL extensionsURL = new URL(projectURL,
"plugin.xml"); //$NON-NLS-1$</small><br>
<small> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; pluginDocumentRoot =
JETActivatorWrapper.INSTANCE.getLoaderManager().getLoader(ex tensionsURL.toExternalForm(),
null, "xml").load(extensionsURL); //$NON-NLS-1$</small><br>
<small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</small><br>
</blockquote>
<br>
Scott Dybiec wrote:
<blockquote cite="mid:f6u3jd$2h0$1@build.eclipse.org"
type="cite">I
installed Eclipse 3.3 and pointed it to my Eclipse 3.2 workspace. Now
my .log file is filling up with many, many messages like the one below
--- one for each project in my workspace. They are generated during my
workspace automatic incremental builds. These builds now take a very
long time - much longer than under 3.2.<br>
<br>
One thing I've noticed: It seem to be happening with projects that have
names with spaces in them, such as the one below: <br>
<br>
"<tt>C:/projects/regatta-workbench/workspace/RW FinishLynx/plugin.xml"<br>
<br>
</tt>Perhaps it's similar in some way to this: <a
class="moz-txt-link-freetext"
href=" http://dev.eclipse.org/newslists/news.eclipse.modeling.m2t/m sg00163.html"
moz-do-not-send="true"> http://dev.eclipse.org/newslists/news.eclipse.modeling.m2t/m sg00163.html</a><tt><br>
<br>
</tt>Is this an EMF issue? If not, can you point me in the
right
direction?<br>
<br>
Sincerely,<br>
<br>
Lost In Spaces<br>
<br>
<hr size="2" width="100%"> <br>
<tt>!ENTRY org.eclipse.jet 2 0 2007-07-09 15:27:20.687<br>
!MESSAGE Illegal character in opaque part at index 47: <a
class="moz-txt-link-freetext"
href="file:C:/projects/regatta-workbench/workspace/RW"
moz-do-not-send="true">file:C:/projects/regatta-workbench/workspace/RW </a>
FinishLynx/plugin.xml<br>
!STACK 0<br>
org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Illegal
character in opaque part at index 47: <a class="moz-txt-link-freetext"
href="file:C:/projects/regatta-workbench/workspace/RW"
moz-do-not-send="true">file:C:/projects/regatta-workbench/workspace/RW </a>
FinishLynx/plugin.xml<br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createE FSInputStream(URIConverterImpl.java:671) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createI nputStream(URIConverterImpl.java:542) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:1152) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.jet.internal.runtime.model.EMFXMLModelLoader.loa d(EMFXMLModelLoader.java:151) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.jet.internal.runtime.model.EMFXMLModelLoader.loa d(EMFXMLModelLoader.java:131) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r.updateProject(PluginProjectMonitor.java:208) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r.access$0(PluginProjectMonitor.java:196) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r$1.visit(PluginProjectMonitor.java:129) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.events.ResourceDelta.accept(Resour ceDelta.java:67) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.events.ResourceDelta.accept(Resour ceDelta.java:76) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.events.ResourceDelta.accept(Resour ceDelta.java:48) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r.handleWorkspaceChange(PluginProjectMonitor.java:112) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r.resourceChanged(PluginProjectMonitor.java:103) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.events.NotificationManager$2.run(N otificationManager.java:282) <br>
&nbsp;&nbsp;&nbsp; at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)<br >
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.events.NotificationManager.notify( NotificationManager.java:276) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.events.NotificationManager.broadca stChanges(NotificationManager.java:148) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.resources.Workspace.broadcastPostC hange(Workspace.java:311) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.resources.Workspace.endOperation(W orkspace.java:1018) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1806) <br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.core.internal.events.NotificationManager$NotifyJ ob.run(NotificationManager.java:39) <br>
&nbsp;&nbsp;&nbsp; at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)<br >
Caused by: java.net.URISyntaxException: Illegal character in opaque
part at index 47: <a class="moz-txt-link-freetext"
href="file:C:/projects/regatta-workbench/workspace/RW"
moz-do-not-send="true">file:C:/projects/regatta-workbench/workspace/RW </a>
FinishLynx/plugin.xml<br>
&nbsp;&nbsp;&nbsp; at java.net.URI$Parser.fail(Unknown Source)<br>
&nbsp;&nbsp;&nbsp; at java.net.URI$Parser.checkChars(Unknown Source)<br>
&nbsp;&nbsp;&nbsp; at java.net.URI$Parser.parse(Unknown Source)<br>
&nbsp;&nbsp;&nbsp; at java.net.URI.&lt;init&gt;(Unknown Source)<br>
&nbsp;&nbsp;&nbsp; at
org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createE FSInputStream(URIConverterImpl.java:663) <br>
&nbsp;&nbsp;&nbsp; ... 21 more</tt><br>
<br>
<br>
</blockquote>
<br>
</blockquote>
</blockquote>
<br>
</blockquote>
<br>
</blockquote>
<br>
</blockquote>
<br>
</body>
</html>

--------------000801000203060505060205--
Re: Spaces in URLs [message #26030 is a reply to message #25714] Wed, 11 July 2007 15:46 Go to previous message
Paul Elder is currently offline Paul ElderFriend
Messages: 849
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.

------=_NextPart_000_001D_01C7C3B1.23702BD0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Scott:

I do not have any workaround (other than removing spaces from your =
workspace path/project name), but I am working on a fix.

I'll post here once an integration build is available to fix.

Paul
"Scott Dybiec" <scott@humanfactor.com> wrote in message =
news:f710ag$ovs$1@build.eclipse.org...

Is there a workaround for this bug? My Eclipse 3.3 is unusably slow =
right now --- e.g. saving any file leads to a 5-8 minute update/build =
process that throws lots of errors into the .log file

Can I go back to the old JET somehow?

$cott

Paul Elder wrote:=20
Scott:

This is definitely a JET bug. Can you submit a bugzilla. The =
following link setup of most of the fields:

=
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=3DM2T&am p;version=3Dunspe=
cified&component=3DJet&rep_platform=3DPC&op_sys= 3DWindows%20XP&priority=3D=
P3&bug_severity=3Dnormal&bug_status=3DNEW&bug_fi le_loc=3Dhttp%3A%2F%2F&sh=
ort_desc=3D&comment=3D&commentprivacy=3D0&keywor ds=3D&dependson=3D&blocke=
d=3D&maketemplate=3DRemember%20values%20as%20bookmarkabl e%20template&form=
_name=3Denter_bug&assigned_to=3Dm2t.jet-inbox%40eclipse. org

Thx,

Paul
"Ed Merks" <merks@ca.ibm.com> wrote in message =
news:f6u5ia$6v0$1@build.eclipse.org...
Scott,

I'm not sure where the URI =
"file:C:/projects/regatta-workbench/workspace/RW FinishLynx/plugin.xml" =
is being created, but it should be of the form =
"file:/C:/projects/regatta-workbench/workspace/RW FinishLynx/plugin.xml" =
(note the / after the file:) to be a proper hierarchical URI. Perhaps =
this worked in the past because createURLInputStream was invoked where =
really createFileInputStream is what should be kicking in but now, with =
2.3, createEFSInputStream is used instead. I'm confused though why this =
code wouldn't be using "platform:/resource/RW FinishLynx/plugin.xml" =
instead, because that would seem the proper way to access something in =
the workspace; using a file: URI for that will bypass the workspace and =
access the underlying file system directly instead...

I'll add the M2T newsgroup to the reply since this appears to be a =
JET2 problem in this code:

private void updateProject(IProject project)
{
if(DEBUG) =
System.out.println("PluginProjectMonitor.updateProject(" + project + =
")"); //$NON-NLS-1$ //$NON-NLS-2$
try
{
=20
final URL projectURL =3D new URL("file", "", =
project.getLocation() + "/"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
final BundleManifest manifest =3D =
JETBundleManager.loadManifest(projectURL);
Object pluginDocumentRoot =3D null;
if(hasPluginManifest(project)) {
if(DEBUG)System.out.println(" has plugin.xml"); =
//$NON-NLS-1$
URL extensionsURL =3D new URL(projectURL, "plugin.xml"); =
//$NON-NLS-1$
pluginDocumentRoot =3D =
JETActivatorWrapper.INSTANCE.getLoaderManager().getLoader(ex tensionsURL.t=
oExternalForm(), null, "xml").load(extensionsURL); //$NON-NLS-1$
}


Scott Dybiec wrote:=20
I installed Eclipse 3.3 and pointed it to my Eclipse 3.2 =
workspace. Now my .log file is filling up with many, many messages like =
the one below --- one for each project in my workspace. They are =
generated during my workspace automatic incremental builds. These builds =
now take a very long time - much longer than under 3.2.

One thing I've noticed: It seem to be happening with projects =
that have names with spaces in them, such as the one below:=20

"C:/projects/regatta-workbench/workspace/RW =
FinishLynx/plugin.xml"

Perhaps it's similar in some way to this: =
http://dev.eclipse.org/newslists/news.eclipse.modeling.m2t/m sg00163.html

Is this an EMF issue? If not, can you point me in the right =
direction?

Sincerely,

Lost In Spaces


------------------------------------------------------------ ------------

!ENTRY org.eclipse.jet 2 0 2007-07-09 15:27:20.687
!MESSAGE Illegal character in opaque part at index 47: =
file:C:/projects/regatta-workbench/workspace/RW FinishLynx/plugin.xml
!STACK 0
org.eclipse.emf.ecore.resource.Resource$IOWrappedException: =
Illegal character in opaque part at index 47: =
file:C:/projects/regatta-workbench/workspace/RW FinishLynx/plugin.xml
at =
org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createE FSInputStream=
(URIConverterImpl.java:671)
at =
org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createI nputStream(UR=
IConverterImpl.java:542)
at =
org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:1=
152)
at =
org.eclipse.jet.internal.runtime.model.EMFXMLModelLoader.loa d(EMFXMLModel=
Loader.java:151)
at =
org.eclipse.jet.internal.runtime.model.EMFXMLModelLoader.loa d(EMFXMLModel=
Loader.java:131)
at =
org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r.updateProje=
ct(PluginProjectMonitor.java:208)
at =
org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r.access$0(Pl=
uginProjectMonitor.java:196)
at =
org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r$1.visit(Plu=
ginProjectMonitor.java:129)
at =
org.eclipse.core.internal.events.ResourceDelta.accept(Resour ceDelta.java:=
67)
at =
org.eclipse.core.internal.events.ResourceDelta.accept(Resour ceDelta.java:=
76)
at =
org.eclipse.core.internal.events.ResourceDelta.accept(Resour ceDelta.java:=
48)
at =
org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r.handleWorks=
paceChange(PluginProjectMonitor.java:112)
at =
org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r.resourceCha=
nged(PluginProjectMonitor.java:103)
at =
org.eclipse.core.internal.events.NotificationManager$2.run(N otificationMa=
nager.java:282)
at =
org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at =
org.eclipse.core.internal.events.NotificationManager.notify( NotificationM=
anager.java:276)
at =
org.eclipse.core.internal.events.NotificationManager.broadca stChanges(Not=
ificationManager.java:148)
at =
org.eclipse.core.internal.resources.Workspace.broadcastPostC hange(Workspa=
ce.java:311)
at =
org.eclipse.core.internal.resources.Workspace.endOperation(W orkspace.java=
:1018)
at =
org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1806)
at =
org.eclipse.core.internal.events.NotificationManager$NotifyJ ob.run(Notifi=
cationManager.java:39)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.net.URISyntaxException: Illegal character in =
opaque part at index 47: file:C:/projects/regatta-workbench/workspace/RW =
FinishLynx/plugin.xml
at java.net.URI$Parser.fail(Unknown Source)
at java.net.URI$Parser.checkChars(Unknown Source)
at java.net.URI$Parser.parse(Unknown Source)
at java.net.URI.<init>(Unknown Source)
at =
org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createE FSInputStream=
(URIConverterImpl.java:663)
... 21 more







------=_NextPart_000_001D_01C7C3B1.23702BD0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type =
content=3Dtext/html;charset=3DISO-8859-1>
<META content=3D"MSHTML 6.00.2900.3132" name=3DGENERATOR></HEAD>
<BODY text=3D#000000 bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Scott:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I do not have any workaround (other =
than removing=20
spaces from your workspace path/project name), but I am working on a=20
fix.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I'll post here once an integration =
build is=20
available to fix.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Paul</FONT></DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Scott Dybiec" &lt;<A=20
href=3D"mailto:scott@humanfactor.com">scott@humanfactor.com</A>&gt; =
wrote in=20
message <A=20
=
href=3D"news:f710ag$ovs$1@build.eclipse.org">news:f710ag$ovs$1@build.ecli=
pse.org</A>...</DIV><BR>Is=20
there a workaround for this bug?&nbsp; My Eclipse 3.3 is unusably slow =
right=20
now --- e.g. saving any file leads to a 5-8 minute update/build =
process that=20
throws lots of errors into the .log file<BR><BR>Can I go back to the =
old JET=20
somehow?<BR><BR>$cott<BR><BR>Paul Elder wrote:=20
<BLOCKQUOTE cite=3Dmid:f6u6uu$a7f$1@build.eclipse.org type=3D"cite">
<META content=3D"MSHTML 6.00.2900.3132" name=3DGENERATOR>
<STYLE></STYLE>

<DIV><FONT face=3DArial size=3D2>Scott:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>This is definitely a JET bug. Can =
you submit a=20
bugzilla. The following link setup of most of the =
fields:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><A=20
=
href=3D" https://bugs.eclipse.org/bugs/enter_bug.cgi?product=3DM2T&am p;amp;ver=
sion=3Dunspecified&amp;component=3DJet&amp;rep_platf orm=3DPC&amp;op_sys=3D=
Windows%20XP&amp;priority=3DP3&amp;bug_severity=3Dno rmal&amp;bug_status=3D=
NEW&amp;bug_file_loc=3Dhttp%3A%2F%2F&amp;short_desc= 3D&amp;comment=3D&amp=
;commentprivacy=3D0&amp;keywords=3D&amp;dependson=3D &amp;blocked=3D&amp;m=
aketemplate=3DRemember%20values%20as%20bookmarkable%20templa te&amp;form_n=
ame=3Denter_bug&amp;assigned_to=3Dm2t.jet-inbox%40eclips e.org "=20
=
moz-do-not-send=3D"true">https://bugs.eclipse.org/bugs/enter_bug.cgi?prod=
uct=3DM2T&amp;version=3Dunspecified&amp;component=3D Jet&amp;rep_platform=3D=
PC&amp;op_sys=3DWindows%20XP&amp;priority=3DP3&a mp;bug_severity=3Dnormal&=
amp;bug_status=3DNEW&amp;bug_file_loc=3Dhttp%3A%2F%2F&am p;amp;short_desc=3D&a=
mp;comment=3D&amp;commentprivacy=3D0&amp;keywords=3D &amp;dependson=3D&amp=
;blocked=3D&amp;maketemplate=3DRemember%20values%20as%20 bookmarkable%20te=
mplate&amp;form_name=3Denter_bug&amp;assigned_to=3Dm 2t.jet-inbox%40eclips=
e.org</A></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thx,</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Paul</FONT></DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: rgb(0,0,0) 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Ed Merks" &lt;<A href=3D"mailto:merks@ca.ibm.com"=20
moz-do-not-send=3D"true">merks@ca.ibm.com</A>&gt; wrote in message =
<A=20
href=3D"news:f6u5ia$6v0$1@build.eclipse.org"=20
=
moz-do-not-send=3D"true">news:f6u5ia$6v0$1@build.eclipse.org</A>...</DIV>=
Scott,<BR><BR>I'm=20
not sure where the URI <TT><A class=3Dmoz-txt-link-freetext=20
href=3D"file:C:/projects/regatta-workbench/workspace/RW"=20
=
moz-do-not-send=3D"true">"file:C:/projects/regatta-workbench/workspace/RW=
</A>=20
FinishLynx/plugin.xml</TT>" is being created, but it should be of =
the form=20
<TT><A class=3Dmoz-txt-link-freetext=20
href=3D"file:C:/projects/regatta-workbench/workspace/RW"=20
=
moz-do-not-send=3D"true">"file:/C:/projects/regatta-workbench/workspace/R=
W</A>=20
FinishLynx/plugin.xml</TT>" (note the / after the file:) to be a =
proper=20
hierarchical URI.&nbsp; Perhaps this worked in the past because=20
createURLInputStream was invoked where really =
createFileInputStream is=20
what should be kicking in but now, with 2.3, createEFSInputStream =
is used=20
instead.&nbsp; I'm confused though why this code wouldn't be using =

"platform:/resource/<TT>RW FinishLynx/plugin.xml"</TT> instead, =
because=20
that would seem the proper way to access something in the =
workspace; using=20
a file: URI for that will bypass the workspace and access the =
underlying=20
file system directly instead...<BR><BR>I'll add the M2T newsgroup =
to the=20
reply since this appears to be a JET2 problem in this code:<BR>
<BLOCKQUOTE><SMALL>&nbsp; private void updateProject(IProject=20
project)</SMALL><BR><SMALL>&nbsp; =
{</SMALL><BR><SMALL>&nbsp;&nbsp;&nbsp;=20
if(DEBUG) =
System.out.println("PluginProjectMonitor.updateProject(" +=20
project + ")"); //$NON-NLS-1$=20
//$NON-NLS-2$</SMALL><BR><SMALL>&nbsp;&nbsp;&nbsp;=20
try</SMALL><BR><SMALL>&nbsp;&nbsp;&nbsp;=20
{</SMALL><BR><SMALL>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
</SMALL><BR><SMALL>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; final URL =
projectURL =3D=20
new URL("file", "", project.getLocation() + "/"); //$NON-NLS-1$=20
//$NON-NLS-2$=20
//$NON-NLS-3$</SMALL><BR><SMALL>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
final=20
BundleManifest manifest =3D=20
=
JETBundleManager.loadManifest(projectURL);</SMALL><BR><SMALL >&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;=20
Object pluginDocumentRoot =3D=20
null;</SMALL><BR><SMALL>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
if(hasPluginManifest(project))=20
{</SMALL><BR><SMALL> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;=20
if(DEBUG)System.out.println("&nbsp; has plugin.xml");=20
=
//$NON-NLS-1$</SMALL><BR><SMALL> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp=
;=20
URL extensionsURL =3D new URL(projectURL, "plugin.xml");=20
=
//$NON-NLS-1$</SMALL><BR><SMALL> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp=
;=20
pluginDocumentRoot =3D=20
=
JETActivatorWrapper.INSTANCE.getLoaderManager().getLoader(ex tensionsURL.t=
oExternalForm(),=20
null, "xml").load(extensionsURL);=20
//$NON-NLS-1$</SMALL><BR><SMALL>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
}</SMALL><BR></BLOCKQUOTE><BR>Scott Dybiec wrote:=20
<BLOCKQUOTE cite=3Dmid:f6u3jd$2h0$1@build.eclipse.org =
type=3D"cite">I=20
installed Eclipse 3.3 and pointed it to my Eclipse 3.2 =
workspace. Now my=20
.log file is filling up with many, many messages like the one =
below ---=20
one for each project in my workspace. They are generated during =
my=20
workspace automatic incremental builds. These builds now take a =
very=20
long time - much longer than under 3.2.<BR><BR>One thing I've =
noticed:=20
It seem to be happening with projects that have names with =
spaces in=20
them, such as the one below:=20
<BR><BR>"<TT>C:/projects/regatta-workbench/workspace/RW=20
FinishLynx/plugin.xml"<BR><BR></TT>Perhaps it's similar in some =
way to=20
this: <A class=3Dmoz-txt-link-freetext=20
=
href=3D" http://dev.eclipse.org/newslists/news.eclipse.modeling.m2t/m sg001=
63.html"=20
=
moz-do-not-send=3D"true">http://dev.eclipse.org/newslists/news.eclipse.mo=
deling.m2t/msg00163.html</A><TT><BR><BR></TT>Is=20
this an EMF issue? If not, can you point me in the right=20
direction?<BR><BR>Sincerely,<BR><BR>Lost In Spaces<BR><BR>
<HR width=3D"100%" SIZE=3D2>
<BR><TT>!ENTRY org.eclipse.jet 2 0 2007-07-09 =
15:27:20.687<BR>!MESSAGE=20
Illegal character in opaque part at index 47: <A=20
class=3Dmoz-txt-link-freetext=20
href=3D"file:C:/projects/regatta-workbench/workspace/RW"=20
=
moz-do-not-send=3D"true">file:C:/projects/regatta-workbench/workspace/RW <=
/A>=20
FinishLynx/plugin.xml<BR>!STACK=20
0<BR>org.eclipse.emf.ecore.resource.Resource$IOWrappedException: =
Illegal=20
character in opaque part at index 47: <A =
class=3Dmoz-txt-link-freetext=20
href=3D"file:C:/projects/regatta-workbench/workspace/RW"=20
=
moz-do-not-send=3D"true">file:C:/projects/regatta-workbench/workspace/RW <=
/A>=20
FinishLynx/plugin.xml<BR>&nbsp;&nbsp;&nbsp; at=20
=
org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createE FSInputStream=
(URIConverterImpl.java:671)<BR>&nbsp;&nbsp;&nbsp;=20
at=20
=
org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createI nputStream(UR=
IConverterImpl.java:542)<BR>&nbsp;&nbsp;&nbsp;=20
at=20
=
org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:1=
152)<BR>&nbsp;&nbsp;&nbsp;=20
at=20
=
org.eclipse.jet.internal.runtime.model.EMFXMLModelLoader.loa d(EMFXMLModel=
Loader.java:151)<BR>&nbsp;&nbsp;&nbsp;=20
at=20
=
org.eclipse.jet.internal.runtime.model.EMFXMLModelLoader.loa d(EMFXMLModel=
Loader.java:131)<BR>&nbsp;&nbsp;&nbsp;=20
at=20
=
org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r.updateProje=
ct(PluginProjectMonitor.java:208)<BR>&nbsp;&nbsp;&nbsp;=20
at=20
=
org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r.access$0(Pl=
uginProjectMonitor.java:196)<BR>&nbsp;&nbsp;&nbsp;=20
at=20
=
org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r$1.visit(Plu=
ginProjectMonitor.java:129)<BR>&nbsp;&nbsp;&nbsp;=20
at=20
=
org.eclipse.core.internal.events.ResourceDelta.accept(Resour ceDelta.java:=
67)<BR>&nbsp;&nbsp;&nbsp;=20
at=20
=
org.eclipse.core.internal.events.ResourceDelta.accept(Resour ceDelta.java:=
76)<BR>&nbsp;&nbsp;&nbsp;=20
at=20
=
org.eclipse.core.internal.events.ResourceDelta.accept(Resour ceDelta.java:=
48)<BR>&nbsp;&nbsp;&nbsp;=20
at=20
=
org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r.handleWorks=
paceChange(PluginProjectMonitor.java:112)<BR>&nbsp;&nbsp;&nbsp;=20
at=20
=
org.eclipse.jet.internal.extensionpoints.PluginProjectMonito r.resourceCha=
nged(PluginProjectMonitor.java:103)<BR>&nbsp;&nbsp;&nbsp;=20
at=20
=
org.eclipse.core.internal.events.NotificationManager$2.run(N otificationMa=
nager.java:282)<BR>&nbsp;&nbsp;&nbsp;=20
at=20
=
org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)<BR >&nbsp;&nbs=
p;&nbsp;=20
at=20
=
org.eclipse.core.internal.events.NotificationManager.notify( NotificationM=
anager.java:276)<BR>&nbsp;&nbsp;&nbsp;=20
at=20
=
org.eclipse.core.internal.events.NotificationManager.broadca stChanges(Not=
ificationManager.java:148)<BR>&nbsp;&nbsp;&nbsp;=20
at=20
=
org.eclipse.core.internal.resources.Workspace.broadcastPostC hange(Workspa=
ce.java:311)<BR>&nbsp;&nbsp;&nbsp;=20
at=20
=
org.eclipse.core.internal.resources.Workspace.endOperation(W orkspace.java=
:1018)<BR>&nbsp;&nbsp;&nbsp;=20
at=20
=
org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1806) <BR=
>&nbsp;&nbsp;&nbsp;=20
at=20
=
org.eclipse.core.internal.events.NotificationManager$NotifyJ ob.run(Notifi=
cationManager.java:39)<BR>&nbsp;&nbsp;&nbsp;=20
at =
org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)<BR >Caused=20
by: java.net.URISyntaxException: Illegal character in opaque =
part at=20
index 47: <A class=3Dmoz-txt-link-freetext=20
href=3D"file:C:/projects/regatta-workbench/workspace/RW"=20
=
moz-do-not-send=3D"true">file:C:/projects/regatta-workbench/workspace/RW <=
/A>=20
FinishLynx/plugin.xml<BR>&nbsp;&nbsp;&nbsp; at=20
java.net.URI$Parser.fail(Unknown Source)<BR>&nbsp;&nbsp;&nbsp; =
at=20
java.net.URI$Parser.checkChars(Unknown =
Source)<BR>&nbsp;&nbsp;&nbsp; at=20
java.net.URI$Parser.parse(Unknown Source)<BR>&nbsp;&nbsp;&nbsp; =
at=20
java.net.URI.&lt;init&gt;(Unknown Source)<BR>&nbsp;&nbsp;&nbsp; =
at=20
=
org.eclipse.emf.ecore.resource.impl.URIConverterImpl.createE FSInputStream=
(URIConverterImpl.java:663)<BR>&nbsp;&nbsp;&nbsp;=20
... 21=20
more</TT><BR><BR><BR></BLOCKQUOTE><BR></BLOCKQUOTE></BLOCKQUOTE ><BR></BLO=
CKQUOTE></BODY></HTML>

------=_NextPart_000_001D_01C7C3B1.23702BD0--
Previous Topic:Re: invoke template from java with string return?
Next Topic:Invoke JET2 Transformation from Java
Goto Forum:
  


Current Time: Fri Apr 26 04:45:43 GMT 2024

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

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

Back to the top