Install failed

60 views
Skip to first unread message

Mark Wiliams

unread,
Apr 16, 2008, 6:37:06 PM4/16/08
to patterncod...@googlegroups.com

Hi!

I've just installed the plugin as described. But it complains about a schema file which could not be validated. I have copied the patternschema.xsd to varioud locations - but the problem still exists. What can I do?

Have fun!
Mark
_________________________________________________________________
Explore the seven wonders of the world
http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE

Jim Paterson

unread,
Apr 17, 2008, 3:50:40 AM4/17/08
to patterncoder-discuss
Mark

Can you tell me exactly what platform you are installing on and what
versions of BlueJ and Java you are using?

Thanks

Jim

MarkW

unread,
Apr 21, 2008, 11:43:07 AM4/21/08
to patterncoder-discuss
Hi Jim,

my platform is JDK 1.6.0_04 under Linux 2.6.22-14 (i386). The
installed BlueJ is 2.2.1.
I had a closer look at the source files and found that the .xsd is
looked up in a folder named "PatternFiles/".
I renamed the distributed "patternfiles" to "PatternFiles" but the
result is the same: th schema file was not found.

Cheers,
Mark
> > Explore the seven wonders of the worldhttp://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE- Zitierten Text ausblenden -
>
> - Zitierten Text anzeigen -

MarkW

unread,
Apr 21, 2008, 11:45:06 AM4/21/08
to patterncoder-discuss
Oh, I forgot the PatternCoder version: its patterncoder_0.5.tar.gz
Mark

On 17 Apr., 09:50, Jim Paterson <jhpater...@googlemail.com> wrote:
> Mark
>
> Can you tell me exactly what platform you are installing on and what
> versions of BlueJ and Java you are using?
>
> Thanks
>
> Jim
>
> On Apr 16, 11:37 pm, Mark Wiliams <wilia...@hotmail.com> wrote:
>
>
>
> > Hi!
>
> > I've just installed the plugin as described. But it complains about a schema file which could not be validated. I have copied the patternschema.xsd to varioud locations - but the problem still exists. What can I do?
>
> > Have fun!
> > Mark
> > _________________________________________________________________

Jim Paterson

unread,
Apr 21, 2008, 12:32:35 PM4/21/08
to patterncoder-discuss
Mark

The error you get is to do with the path to the schema file. Can you
possibly try the current Windows/Mac download on your system - it
should run on Linux too, and had some changes made to the way it deals
with paths to get it also working on the Mac. The current Linux
download was tested with JDK 1.5 on Ubuntu 7, but we haven't tested it
on anything more recent yet.

Jim
> > > Explore the seven wonders of the worldhttp://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=Q...Zitierten Text ausblenden -
>
> > -W Zitierten Text anzeigen -

AndyB

unread,
May 2, 2008, 2:27:03 PM5/2/08
to patterncoder-discuss
Jim,

I too am having the same problem with the most recent Windows
download. I have copied both the PatternCoder.jar file and the
patternfiles folder to the extensions folder under the BlueJ\Lib
directory. Apparently it can't find the schema file which is sitting
in the patternfiles directory.

Thanks,

Andy

On Apr 21, 12:32 pm, Jim Paterson <jhpater...@googlemail.com> wrote:
> Mark
>
> The error you get is to do with the path to the schema file. Can you
> possibly try the current Windows/Mac download on your system - it
> should run on Linux too, and had some changes made to the way it deals
> with paths to get it also working on the Mac. The current Linux
> download was tested with JDK 1.5 on Ubuntu 7, but we haven't tested it
> on anything more recent yet.
>
> Jim
>
> On Apr 21, 4:45 pm, MarkW <wilia...@hotmail.com> wrote:
>
> > Oh, I forgot the PatternCoder version: its patterncoder_0.5.tar.gz
> > Mark
>
> > On 17 Apr., 09:50, Jim Paterson <jhpater...@googlemail.com> wrote:
>
> > > Mark
>
> > > Can you tell me exactly what platform you are installing on and what
> > > versions of BlueJ and Java you are using?
>
> > > Thanks
>
> > > Jim
>
> > > On Apr 16, 11:37 pm, Mark Wiliams <wilia...@hotmail.com> wrote:
>
> > > > Hi!
>
> > > > I've just installed the plugin as described. But it complains about a schema file which could not be validated. I have copied the patternschema.xsd to varioud locations - but the problem still exists. What can I do?
>
> > > > Have fun!
> > > > Mark
> > > > _________________________________________________________________
> > > > Explore the seven wonders of the worldhttp://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=Q...Text ausblenden -

Jim Paterson

unread,
May 6, 2008, 6:46:26 AM5/6/08
to patterncoder-discuss
Andy

Can you give me more info about this:-

what version of Windows are you using?
what is the location of your BlueJ installation?

The previous version is still dowloadable at
http://www.patterncoder.org/downloads/patterncoder_0.5.1.zip. Does
that version work on your system?

Thanks

Jim
> > > > > Explore the seven wonders of the worldhttp://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=Q...ausblenden -

Andy Brohard

unread,
May 6, 2008, 9:49:31 AM5/6/08
to patterncod...@googlegroups.com
Jim,

It's probably the case that I have done something wrong so I'll give you probably more details than you need.

I am using XP Pro SP2.

I extract the folder patterncoder_0.5.1(2) to the BlueJ directory (\BlueJ\patterncoder_0.5.1 or 2).  I then copy from that directory the patternfiles folder and the PatternCoder.jar file to the \BlueJ\lib\extensions directory so that the path to each is \BlueJ\lib\extensions\patternfiles and \BlueJ\lib\extensions\PatternCoder.jar.

I open BlueJ and from the Tools menu I run the PatternCoder option.  I get the following error:

Message Title: PatternCoder Error
  A problem occurred whilst validating one or more XML files.
  Please make sure that the schema document is present in the correct directory.

I've tried both versions .1 and .2.

Please let me know if you need any more information or need me to test a new version.

Thanks,

Andy

Jim Paterson

unread,
May 7, 2008, 5:11:05 AM5/7/08
to patterncoder-discuss
Andy

XP Pro SP2 should be OK, and I don't see anything wrong with your
procedure. One more question - is your BlueJ folder in the default
location, C:\BlueJ? There were issues with BlueJ installed elsewhere,
although I thought these had been resolved.

Thanks

Jim

On May 6, 2:49 pm, "Andy Brohard" <andybroh...@gmail.com> wrote:
> Jim,
>
> It's probably the case that I have done something wrong so I'll give you
> probably more details than you need.
>
> I am using XP Pro SP2.
>
> I extract the folder patterncoder_0.5.1(2) to the BlueJ directory
> (\BlueJ\patterncoder_0.5.1 or 2). I then copy from that directory the
> patternfiles folder and the PatternCoder.jar file to the
> \BlueJ\lib\extensions directory so that the path to each is
> \BlueJ\lib\extensions\patternfiles and
> \BlueJ\lib\extensions\PatternCoder.jar.
>
> I open BlueJ and from the Tools menu I run the PatternCoder option. I get
> the following error:
>
> Message Title: PatternCoder Error
> A problem occurred whilst validating one or more XML files.
> Please make sure that the schema document is present in the correct
> directory.
>
> I've tried both versions .1 and .2.
>
> Please let me know if you need any more information or need me to test a new
> version.
>
> Thanks,
>
> Andy
>
> On Tue, May 6, 2008 at 6:46 AM, Jim Paterson <jhpater...@googlemail.com>

Andy Brohard

unread,
May 7, 2008, 9:20:13 AM5/7/08
to patterncod...@googlegroups.com
Jim,
 
No, I have installed BlueJ in a different folder than C:\BlueJ.
 
I'll try to move it and see what happens.
 
Thanks,
 
Andy

Luis Gonzalez

unread,
Jan 15, 2014, 6:03:53 AM1/15/14
to patterncod...@googlegroups.com
THE REASON IS EASY:

If you install bluej or jdk in a path with spaces or extrange characters, when you launch this extension it fails.
The paths of bluej and java are important for this extension.


Reply all
Reply to author
Forward
0 new messages