[Fuge-devel] Installation and Generation of the FuGE XSD

0 views
Skip to first unread message

h.mo...@har.mrc.ac.uk

unread,
Jul 25, 2008, 9:27:33 AM7/25/08
to fuge-...@lists.sourceforge.net
I have been trying to get FuGE working, and failing. If you could give me
any help that would be greatly appreciated.

I have tried on windows and fedora, and in both cases it fails when I try
to load trunk/mda/src/main/uml/FuGE-profile.mdzip in MagicDraw. It says
"Module -3.2.xml.zip is not found. Please select the required module."
find . -name "andromda-profile*" in my install directory returns no
results. Does anyone have any ideas? We are considering using FuGE for
mouse phenotype data.

Thanks for any help,

Hugh

What I did:

>From instructions at
http://fuge.sourceforge.net/stks/xsd-stk/fuge-books/fuge-xsd/generate-fuge-xsd.html

1. Java :
java -version
java version "1.6.0"
OpenJDK Runtime Environment (build 1.6.0-b09)
OpenJDK Client VM (build 1.6.0-b09, mixed mode)

set JAVA_HOME=/usr/bin/java
Installed malven2
Maven2 Setup -rw-rw-r-- 1 hugh hugh 110 2008-07-25 13:23 .m2/settings.xml
set M2_HOME=/home/hugh/fuge/apache-maven-2.0.9/
set PATH=$PATH:$M2_HOME/bin:$JAVA_HOME/bin
set M2_REPO=/home/hugh/fuge/.m2/repository/
mvn --version
/usr/lib/jvm/java
Maven version: 2.0.4
mvn archetype:create -DgroupId=testapp -DartifactId=testapp
...
[INFO] BUILD SUCCESSFUL
Installed AndroMDA
Did the $HOME/andromda-temp bit,
...
[INFO] BUILD SUCCESSFUL
Did Subversion checkout, apparently successful
cp /home/hugh/fuge/fuge-xsd-stk/trunk/andromda-xmlschema-cartridge-3.2.jar
$M2_REPO/org/andromda/cartridges/andromda-xmlschema-cartridge/3.2/
Open up trunk/mda/src/main/uml/FuGE-profile.mdzip in MagicDraw 15.0.
Then it asked for the "Module -3.2.xml.zip is not found. Please select
the required module." and I am then in a loop that I need to kill magic
draw to get out of.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fuge-devel mailing list
Fuge-...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fuge-devel

Jones, Andy

unread,
Jul 25, 2008, 10:03:20 AM7/25/08
to fuge-...@lists.sourceforge.net
Hi Hugh,
It looks like the AndroMDA profiles have not been downloaded automatically for some reason. I've attached them to this mail, you just need to untar the file someone on your local machine, then when requested by MagicDraw, point at the module andromda-profile-3.2.xml.zip.

See if this works for now as an interim solution, then we'll try work out why the toolkit instructions are not working.
Cheers
Andy

Andro32FinalProfiles.tar

Allyson Lister

unread,
Jul 25, 2008, 10:42:44 AM7/25/08
to fuge-...@lists.sourceforge.net
Hi Hugh,

Glad to hear that you're considering using the XSD STK to build an extension, and sorry to hear that you've had problems!

It looks like you successfully installed both Maven and Andromda, so I'm going to move past those and straight onto what I think is the most probable culprit. It looks like when I was writing that documentation I forgot to state that it is a good idea to specify the location of your maven repository within MagicDraw.

Before I begin with my idea, did you run steps 1 and 2 of "Compilation and Creation of the XSD" section of http://fuge.sourceforge.net/stks/xsd-stk/fuge-books/fuge-xsd/generate-fuge-xsd.html ? Without this step, it could be that certain jars aren't downloaded into your maven repository yet. If you have (or you haven't, but now you have, and you still get the same error), then please read on.

Please open MagicDraw (don't try to open the FuGE-v1-profile.mdzip file yet). Go to Options -> Environment Options -> Path Variables.
In this tab are a list of path variables defined within MagicDraw. Do you have a path variable in there called "maven2.repository"? If so, ensure it is pointing to the same thing that $M2_REPO points to. If not, please add this variable and fill in the full path to your maven2 repository.

Once this is done, then try to open the mdzip file. It should look in the right places now.

If that still doesn't work, then try copying the *.xml.zip files from $M2_REPO/org/andromda/profiles/uml2/ (there are a few layers of subdirectories, and about 10 xml.zip files) directly into your MagicDraw installation inside the profiles/ directory. This is less elegant than the first solution, but should work.

If you still have no joy, can you make sure that you actually have those 10 xml.zip files as described above? If you don't have them, then something went wrong with the maven build.

Let us know how you get on, and if you still have problems, and based on that, we'll come up with some more suggestions.

Thanks!
--
Thanks,
Allyson :)

Allyson Lister
Research Associate
Centre for Integrated Systems Biology for Ageing and Nutrition
Newcastle University
http://www.cisban.ac.uk
School of Computing Science
Newcastle University
Newcastle upon Tyne, NE1 7RU

Hugh Morgan

unread,
Jul 25, 2008, 11:19:12 AM7/25/08
to fuge-...@lists.sourceforge.net
Hi,

Thanks for the quick response (and to Allyson who also figured out the
problem). These files indeed solved the problem. With them I could view
the model, which is the most important think at the moment.

I have now got another error, which I am not going to have time to fully
investigate today. When I run "mvn install -e" in the fuge-xsd-stk/trunk
directory I get the error at
http://www.geocities.com/hughmorgan72/work/fugeError1.txt, I guess the
relavent bit is :

...
[INFO] [compiler:compile]
[INFO] Compiling 9 source files to
/home/hugh/fuge/fuge-xsd-stk/trunk/fuge-jaxb2/target/classes
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure

/home/hugh/fuge/fuge-xsd-stk/trunk/fuge-jaxb2/src/main/java/net/sourceforge/
fuge/util/RandomXmlGenerator.java:[181,19] cannot find symbol
symbol : class FuGECollectionFuGEType
location: class net.sourceforge.fuge.util.RandomXmlGenerator
...

Any help greatly apperitiated. I should be able to spend a bit of time this
weekend looking at it, but will get to it properly on Monday.

Thanks,

Hugh

Allyson Lister

unread,
Jul 25, 2008, 11:36:08 AM7/25/08
to fuge-...@lists.sourceforge.net
Hi Hugh,

Glad we could be of help. I'll add the appropriate bits to the documentation on Monday.

As for your next error, I too cannot spend much time on it today ;) However, if you do have a look at it over the weekend, here are a few quick thoughts based on your error message, which may or may not be relevant:

  1. The error message you're getting is because JAXB2 hasn't generated all of the required classes, again because it seems your XSD is not complete.
  2. It looks like you're running 2.0.4 version of Maven. While this isn't a problem, there are more recent versions. I know Ubuntu Hardy Heron now has a "apt-get install maven2" (or similar) command that will keep you up to date. However, as your OSs are fedora and windows, you may want to install 2.0.7 or 2.0.8. Again, it shouldn't cause any problems, but some of your messages in your maven output suggest that there are plugin release updates that it can't get due to the version of maven.
  3. Is this the absolute complete output of Maven? Just checking...
  4. It seems that the XSD you are generating isn't the full XSD. I can tell this because where your JAXB2 code says it's making 9 Java files, mine says it's making 88:
    "[INFO] Compiling 88 source files to /media/disk/unsynched/IdeaProjects/fuge/xsd-stk/trunk/fuge-jaxb2/target/classes"
  5. The reason for #3 may be this: if you re-downloaded all of the andromda files, it could be that you accidentally took the incorrect version of the jar file that you overwrote in the installation process. Please run:
    cp andromda-xmlschema-cartridge-3.2.jar $M2_REPO/org/andromda/cartridges/andromda-xmlschema-cartridge/3.2/
    again from the trunk/ directory. Run "mvn install" again, and see if it solves the problem
  6. If you have started modifiying NewFuGEExtension.mdzip, it could be that you've started making changes to andromda.xml. If you don't know what this means, ignore this point for now. If you know what I'm talking about, it could be that you told AndroMDA to just make the XSD for your extension, and not include anything from the fuge namespace. If you do know about this, send me any changes you made to the standard subversion checkout for andromda.xml, and we can have a look.
Good luck, and have a good weekend!
:)



Hugh Morgan

unread,
Jul 28, 2008, 9:13:48 AM7/28/08
to fuge-...@lists.sourceforge.net
Hi,

I realised that version 2.0.4 of maven came with fedora, and I was using
that one rather than the 2.0.9 I downloaded. I have tried to start from
scratch with that version.

I get a new error, it seems like I do not get as far. The full trace is at
http://www.geocities.com/hughmorgan72/work/fugeError2.txt but basically it
seems to be putting some path in twice, as it is looking for file
"/home/hugh/fuge/fuge-xsd-stk/trunk/mda/home/hugh/fuge/fuge-xsd-stk/trunk/md
a/src/main/uml/FuGE-v1-profile.uml2". Note that I am running this from
directory "home/hugh/fuge/fuge-xsd-stk/trunk" and that is not set as any of
the environment variables. Any ideas?

I decided to try a fresh install and I noticed a couple of things I did so.
I am not sure if this is the same as the last time I did it:

When I extracted
http://team.andromda.org/maven2/org/andromda/maven/plugins/andromdapp-maven-
plugin/3.2/andromdapp-maven-plugin-install-3.2.zip I got the directory
$M2_REPO/org/andromda/maven/plugins/andromdapp-maven-plugin not
$M2_REPO/org/andromda/maven/plugins/andromda-maven-plugin. I copied it to
andromda-maven-plugin and carried on. I assume I did not notice this
discrepancy the first time I did it.

Again, I assume the same thing happened last time I did it, but when I run
mvn on the pom.xml file created in 8.5 it does not appear to do anything
[1].

The svn repository seems to be down, as [2]. I copied over the copy I had
before, but this probably included my problem.

Otherwise the install when the same (I needed to include the files sent by
Andrew Jones).

To answer some of your questions:

> 3. Is this the absolute complete output of Maven? Just checking...

It is as much as the consoles memory remembers of the output, ie. All the
last lines. The output I link above is the complete output.

> 5. The reason for #3 may be this: if you re-downloaded all of the


> andromda
> files, it could be that you accidentally took the incorrect version of
> the
> jar file that you overwrote in the installation process. Please run:
> cp andromda-xmlschema-cartridge-3.2.jar
> $M2_REPO/org/andromda/cartridges/andromda-xmlschema-cartridge/3.2/
> again from the trunk/ directory. Run "mvn install" again, and see if it
> solves the problem

I did this and it made no difference.

> 6. If you have started modifiying NewFuGEExtension.mdzip,

I have not made any modifications.

Thanks for any help,

Hugh

[1] [hugh@localhost andromda-temp]$ mvn
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[INFO] Building test
[INFO] task-segment: [compile]
[INFO]
------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] No sources to compile
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Mon Jul 28 13:04:01 BST 2008
[INFO] Final Memory: 3M/7M
[INFO]
------------------------------------------------------------------------
[hugh@localhost andromda-temp]$ pwd
/home/hugh/fuge/andromda-temp
[hugh@localhost andromda-temp]$ ll
total 4
-rw-rw-r-- 1 hugh hugh 1095 2008-07-28 13:01 pom.xml

[2] [hugh@localhost svnTest]$ svn checkout
https://fuge.svn.sourceforge.net/svnroot/fuge/xsd-stk/fuge-books fuge-books
svn: URL
'https://fuge.svn.sourceforge.net/svnroot/fuge/xsd-stk/fuge-books' doesn't
exist

Allyson Lister

unread,
Jul 28, 2008, 9:35:11 AM7/28/08
to fuge-...@lists.sourceforge.net
Hi Hugh,

Comments inline..

On Mon, Jul 28, 2008 at 2:13 PM, Hugh Morgan <h.mo...@har.mrc.ac.uk> wrote:
Hi,

I realised that version 2.0.4 of maven came with fedora, and I was using
that one rather than the 2.0.9 I downloaded.  I have tried to start from
scratch with that version.

I get a new error, it seems like I do not get as far.  The full trace is at
http://www.geocities.com/hughmorgan72/work/fugeError2.txt but basically it
seems to be putting some path in twice, as it is looking for file
"/home/hugh/fuge/fuge-xsd-stk/trunk/mda/home/hugh/fuge/fuge-xsd-stk/trunk/md
a/src/main/uml/FuGE-v1-profile.uml2". Note that I am running this from
directory "home/hugh/fuge/fuge-xsd-stk/trunk" and that is not set as any of
the environment variables.  Any ideas?

Right - this error is happening probably because of the following values:

1. In your mda/pom.xml, there is a property element that looks like this:
<model.uri>file:$project.build.sourceDirectory}/FuGE-v1-profile.uml2</model.uri>
2. In your mda/src/main/config/andromda.xml, there is, near the top, the uri element that looks like this:
<uri>${model.uri}</uri>

It looks to me like you have the right value in model.uri (#1), and then within the uri element of #2, you use something like /home/hugh/fuge/fuge-xsd-stk/trunk/mda/${model.uri} . You shouldn't need to change either #1 or #2 from their defaults: could this be what happened? You can run svn revert over both files if you want them to exactly match what is in the svn repository, or you can manually change them to the values above.

Let me know if this is indeed the problem.
 


I decided to try a fresh install and I noticed a couple of things I did so.
I am not sure if this is the same as the last time I did it:

When I extracted
http://team.andromda.org/maven2/org/andromda/maven/plugins/andromdapp-maven-
plugin/3.2/andromdapp-maven-plugin-install-3.2.zip
I got the directory
$M2_REPO/org/andromda/maven/plugins/andromdapp-maven-plugin not
$M2_REPO/org/andromda/maven/plugins/andromda-maven-plugin.  I copied it to
andromda-maven-plugin and carried on.  I assume I did not notice this
discrepancy the first time I did it.

Looks like you found a bug in my documentation. This should be unzipped into the directory structure it wants, i.e. it should go into $M2_REPO/org/andromda/maven/plugins/andromdapp-maven-plugin . I've updated the docs on subversion, and it will get updated on the website with the next re-run of the site generation.




Again, I assume the same thing happened last time I did it, but when I run
mvn on the pom.xml file created in 8.5 it does not appear to do anything
[1].

The svn repository seems to be down, as [2].  I copied over the copy I had
before, but this probably included my problem.

Actually, looking at your output, you have the wrong command. As it says here(http://fuge.sourceforge.net/stks/xsd-stk/source-repository.html), you should run

svn checkout https://fuge.svn.sourceforge.net/svnroot/fuge/xsd-stk fuge-xsd-stk

to checkout. Your command below does not include the "trunk/" directory that lives between "xsd-stk/" and "fuge-books". It would work otherwise.

That should help you with checking out a clean version.
 


Otherwise the install when the same (I needed to include the files sent by
Andrew Jones).

To answer some of your questions:

> 3. Is this the absolute complete output of Maven? Just checking...

It is as much as the consoles memory remembers of the output, ie. All the
last lines.  The output I link above is the complete output.
ok :)


> 5. The reason for #3 may be this: if you re-downloaded all of the

> andromda
> files, it could be that you accidentally took the incorrect version of
> the
> jar file that you overwrote in the installation process. Please run:
> cp andromda-xmlschema-cartridge-3.2.jar
> $M2_REPO/org/andromda/cartridges/andromda-xmlschema-cartridge/3.2/
> again from the trunk/ directory. Run "mvn install" again, and see if it
> solves the problem

I did this and it made no difference.

ok - well, see the points above and see if they help.


> 6. If you have started modifiying NewFuGEExtension.mdzip,

I have not made any modifications.

ok - good to know!

Let me know how it goes.
Allyson  :)


Thanks for any help,

Hugh

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fuge-devel mailing list
Fuge-...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fuge-devel

Olga Tchuvatkina

unread,
Jul 28, 2008, 9:50:06 AM7/28/08
to fuge-...@lists.sourceforge.net
Hi Hugh,

It's probably too late but here's a link to FuGEFlow group's version of
the FuGE-to-XSD guide:
http://wiki.ficcs.org/ficcs/FuGE-to-XSD

If you decide to give it a try, please send any questions to this mail
list.

Olga

h.mo...@har.mrc.ac.uk

unread,
Jul 28, 2008, 10:32:32 AM7/28/08
to fuge-...@lists.sourceforge.net
Hi,

Thanks for the help. I hope I am not being TOO stupid :)

> Right - this error is happening probably because of the following values:
>
> 1. In your mda/pom.xml, there is a property element that looks like this:
> <model.uri>file:$project.build.sourceDirectory}/FuGE-v1-profile.uml2</model.
> uri>
> 2. In your mda/src/main/config/andromda.xml, there is, near the top, the
> uri
> element that looks like this:
> <uri>${model.uri}</uri>
>
> It looks to me like you have the right value in model.uri (#1), and then
> within the uri element of #2, you use something like
> /home/hugh/fuge/fuge-xsd-stk/trunk/mda/${model.uri} . You shouldn't need
> to
> change either #1 or #2 from their defaults: could this be what happened?
> You
> can run svn revert over both files if you want them to exactly match what
> is
> in the svn repository, or you can manually change them to the values
> above.
>
> Let me know if this is indeed the problem.

Both look right to me:

[hugh@localhost fuge]$ grep uri
/home/hugh/fuge/fuge-xsd-stk/trunk/mda/pom.xml
<model.uri>file:${project.build.sourceDirectory}/FuGE-v1-profile.uml2</model.uri>
[hugh@localhost fuge]$ grep uri
/home/hugh/fuge/fuge-xsd-stk/trunk/mda/src/main/config/andromda.xml
<uri>${model.uri}</uri>

Any more ideas?

> Looks like you found a bug in my documentation. This should be unzipped
> into
> the directory structure it wants, i.e. it should go into

> $M2_REPO/org/andromda/maven/plugins/andromd*app*-maven-plugin . I've


> updated
> the docs on subversion, and it will get updated on the website with the
> next
> re-run of the site generation.

Well, perhaps I have been of some use then ;)

>> Again, I assume the same thing happened last time I did it, but when I
>> run
>> mvn on the pom.xml file created in 8.5 it does not appear to do anything
>> [1].
>>
>> The svn repository seems to be down, as [2]. I copied over the copy I
>> had
>> before, but this probably included my problem.
>
>

> Actually, looking at your output, you have the wrong command. As it says
> here(http://fuge.sourceforge.net/stks/xsd-stk/source-repository.html), you
> should run
>
> svn checkout
> https://fuge.svn.sourceforge.net/svnroot/fuge/xsd-stkfuge-xsd-stk
>
> to checkout. Your command below does not include the "trunk/" directory
> that
> lives between "xsd-stk/" and "fuge-books". It would work otherwise.
>
> That should help you with checking out a clean version.

On it says "Checkout from Subversion 1. Instructions for Subversion
checkout are available on the Source (Link to
http://fuge.sourceforge.net/stks/xsd-stk/fuge-books/source-repository.html)
Repository help page." and on
http://fuge.sourceforge.net/stks/xsd-stk/fuge-books/source-repository.html
it says "The source can be checked out anonymously from SVN with this
command: $ svn checkout
https://fuge.svn.sourceforge.net/svnroot/fuge/xsd-stk/fuge-books
fuge-books".

Anyway, it still does not work:

[hugh@localhost fuge]$ svn checkout
https://fuge.svn.sourceforge.net/svnroot/fuge/xsd-stkfuge-xsd-stk
svn: URL
'https://fuge.svn.sourceforge.net/svnroot/fuge/xsd-stkfuge-xsd-stk'
doesn't exist

Nor did:

[hugh@localhost fuge]$ svn checkout
https://fuge.svn.sourceforge.net/svnroot/fuge/xsd-stk/fuge-xsd-stk
svn: URL
'https://fuge.svn.sourceforge.net/svnroot/fuge/xsd-stk/fuge-xsd-stk'
doesn't exist

But this did, and had a different name to last time (xsd-stk instead of
fuge-xsd-stk)

svn checkout https://fuge.svn.sourceforge.net/svnroot/fuge/xsd-stk

However the new version behaves exactly the same, ie. I still need to
include the files from Andrew Jones and it fails the same way.

Hugh

h.mo...@har.mrc.ac.uk

unread,
Jul 28, 2008, 11:00:26 AM7/28/08
to fuge-...@lists.sourceforge.net
> Hi Hugh,
>
> It's probably too late but here's a link to FuGEFlow group's version of
> the FuGE-to-XSD guide:
> http://wiki.ficcs.org/ficcs/FuGE-to-XSD
>
> If you decide to give it a try, please send any questions to this mail
> list.

It is not too late at all. I tried that guide, and I failed fairly soon.
I got to step 6, it seemed to work (see output [2]) but it created nothing
in $M2_REPO. I think I have everything set right [1].

Hugh

[1]

declare -x JAVA_HOME="/usr/"
declare -x M2_HOME="/home/hugh/fuge/apache-maven-2.0.9"
declare -x M2_REPO="/home/hugh/fuge/.m2/repository"
declare -x MAVEN_OPTS="-XX:MaxPermSize=128m -Xmx512m"
declare -x
PATH="/home/hugh/fuge/apache-maven-2.0.9/bin:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/lib/ccache:/usr/local/bin:/usr/bin:/bin:/home/hugh/bin:/usr/bin"

[2]
[hugh@localhost andromda]$ mvn dependency:go-offline
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'dependency'.
[INFO] org.apache.maven.plugins: checking for updates from andromda
[INFO] org.codehaus.mojo: checking for updates from andromda
Downloading:
http://team.andromda.org/maven2/org/apache/maven/plugins/maven-dependency-plugin/2.0/maven-dependency-plugin-2.0.pom
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-dependency-plugin/2.0/maven-dependency-plugin-2.0.pom
11K downloaded
Downloading:
http://team.andromda.org/maven2/org/apache/maven/plugins/maven-dependency-plugin/2.0/maven-dependency-plugin-2.0.jar
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-dependency-plugin/2.0/maven-dependency-plugin-2.0.jar
87K downloaded
[INFO]
------------------------------------------------------------------------
[INFO] Building ProjectName AndroMDA
[INFO] task-segment: [dependency:go-offline]
[INFO]
------------------------------------------------------------------------
[INFO] Preparing dependency:go-offline
Downloading:
http://team.andromda.org/maven2/org/apache/maven/wagon/wagon-file/1.0-beta-2/wagon-file-1.0-beta-2.pom
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-file/1.0-beta-2/wagon-file-1.0-beta-2.pom
637b downloaded
...
Downloading:
http://team.andromda.org/maven2/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.jar
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.jar
8K downloaded
[INFO] Plugin Dependency Resolved: andromda-core-3.2.jar
[INFO] Plugin Dependency Resolved: andromda-configuration-mojo-3.2.jar
[INFO] Plugin Dependency Resolved: commons-lang-2.1.jar
[INFO] Plugin Dependency Resolved: plexus-utils-1.0.4.jar
[INFO] Plugin Dependency Resolved: maven-settings-2.0.4.jar
[INFO] Plugin Dependency Resolved: andromda-repository-mdr-uml14-3.2.jar
[INFO] Plugin Dependency Resolved: andromda-repository-emf-uml2-3.2.jar
[INFO] Plugin Dependency Resolved: andromda-metafacades-uml14-3.2.jar
[INFO] Plugin Dependency Resolved: andromda-metafacades-emf-uml2-3.2.jar
[INFO] Plugin Dependency Resolved:
andromda-templateengine-velocity-3.2.jar
[INFO] Plugin Dependency Resolved: maven-plugin-api-2.0.1.jar
[INFO] [dependency:go-offline]
[INFO] Resolved: andromda-xmlschema-cartridge-3.2.jar
[INFO] Resolved: andromda-core-3.2.jar
[INFO] Resolved: commons-collections-3.1.jar
[INFO] Resolved: commons-digester-1.7.jar
[INFO] Resolved: commons-beanutils-1.7.0.jar
[INFO] Resolved: commons-logging-1.0.4.jar
[INFO] Resolved: xml-apis-1.0.b2.jar
[INFO] Resolved: commons-lang-2.1.jar
[INFO] Resolved: log4j-1.2.12.jar
[INFO] Resolved: xalan-2.7.0.jar
[INFO] Resolved: xercesImpl-2.6.0.jar
[INFO] Resolved: andromda-utils-3.2.jar
[INFO] Resolved: andromda-metafacades-uml-3.2.xml.zip
[INFO] Resolved: andromda-ocl-translation-core-3.2.jar
[INFO] Resolved: andromda-ocl-validation-library-3.2.jar
[INFO] Resolved: andromda-metafacades-uml-3.2.jar
[INFO] Resolved: andromda-profile-3.2.xml.zip
[INFO] Resolved: andromda-profile-datatype-3.2.xml.zip
[INFO] Resolved: andromda-profile-webservice-3.2.xml.zip
[INFO] Resolved: andromda-profile-service-3.2.xml.zip
[INFO] Resolved: andromda-profile-process-3.2.xml.zip
[INFO] Resolved: andromda-profile-meta-3.2.xml.zip
[INFO] Resolved: andromda-profile-xml-3.2.xml.zip
[INFO] Resolved: andromda-profile-persistence-3.2.xml.zip
[INFO] Resolved: andromda-profile-presentation-3.2.xml.zip


[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------

[INFO] Total time: 1 minute 9 seconds
[INFO] Finished at: Mon Jul 28 15:45:25 BST 2008
[INFO] Final Memory: 11M/19M
[INFO]
------------------------------------------------------------------------

Jones, Andy

unread,
Jul 28, 2008, 11:11:18 AM7/28/08
to fuge-...@lists.sourceforge.net
Hi Hugh,

Just out of interest, what are you trying to do with FuGE? If you want to view the UML model and XSD you can just download them independently of SVN, Andromda etc. You only need the toolkit when you get to the stage of wanting to extend FuGE and build an extension XML Schema (or a database etc.). Hopefully we can find the source of the install problem soon, but you can probably get going with the FuGE UML without requiring all the extra stuff at this stage...

Cheers
Andy

> Sent: 28 July 2008 16:00
> To: fuge-...@lists.sourceforge.net
> Subject: Re: [Fuge-devel] Installation and Generation of the FuGE XSD
>

Olga Tchuvatkina

unread,
Jul 28, 2008, 11:28:39 AM7/28/08
to fuge-...@lists.sourceforge.net
Could you search for andromda-metafacades-uml-3.2.jar file on your hard
drive? It looks like it was downloaded, but for some reason to the wrong
place. So if we find it we'll know what happened

Olga

-----Original Message-----
From: fuge-deve...@lists.sourceforge.net
[mailto:fuge-deve...@lists.sourceforge.net] On Behalf Of
h.mo...@har.mrc.ac.uk
Sent: Monday, July 28, 2008 11:00 AM
To: fuge-...@lists.sourceforge.net
Subject: Re: [Fuge-devel] Installation and Generation of the FuGE XSD

Hugh

[1]

http://team.andromda.org/maven2/org/apache/maven/plugins/maven-dependenc
y-plugin/2.0/maven-dependency-plugin-2.0.pom
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-dependency-
plugin/2.0/maven-dependency-plugin-2.0.pom
11K downloaded
Downloading:
http://team.andromda.org/maven2/org/apache/maven/plugins/maven-dependenc
y-plugin/2.0/maven-dependency-plugin-2.0.jar
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-dependency-
plugin/2.0/maven-dependency-plugin-2.0.jar

Hugh Morgan

unread,
Jul 28, 2008, 11:29:04 AM7/28/08
to fuge-...@lists.sourceforge.net
Hi,

At the moment we are at the stage of assessing its suitability for our
purpose. I think I can answer the primary questions by just browsing the
schema and reading the paper, but it would be nice to get it working before
making a final decision.

We want to hold data about high throughput mouse phenotyping experiments,
particully involving the eumodic project (http://www.eumodic.org/).

Cheers,

Hugh

h.mo...@har.mrc.ac.uk

unread,
Jul 28, 2008, 12:11:34 PM7/28/08
to fuge-...@lists.sourceforge.net
> Could you search for andromda-metafacades-uml-3.2.jar file on your hard
> drive? It looks like it was downloaded, but for some reason to the wrong
> place. So if we find it we'll know what happened

I found it in
/home/hugh/.m2/repository/org/andromda/metafacades/andromda-metafacades-uml/3.2/
I cannot work out why it put it there, I do not have that in any of my
variables.

I used this to load the UML in magic draw, and it worked. So I can now
generate the required files to that point. I do not have time to go
through all the rest of the steps in that guide tonight, but when I just
export it it does not generate the pom.xml file, so I canot run maven. I
shall try more tommorow.

Thanks for all the help,

Hugh

Allyson Lister

unread,
Jul 28, 2008, 12:45:21 PM7/28/08
to fuge-...@lists.sourceforge.net
Hi Hugh,

Some more comments:

  • It looks like when I copied the svn command from the docs, I left out a space. Try this: "svn checkout https://fuge.svn.sourceforge.net/svnroot/fuge/xsd-stk fuge-xsd-stk" . There are two arguments to the checkout command: the URL and the local directory name to use. the "fuge-xsd-stk" part is just a suggested local directory name. This should work. As for the docs, that is definitely another bug in them: as far as I can tell, all the URLs point to the correct location of the correct source repository page, but it looks like you found one that doesn't! It looks like you were going to say which page had that URL, but it isn't in there. Which installation page did you find that on, so I can fix it?
  • I'm on Skype (not right now though!) so if you want to chat, I'm sure that this can be worked out quickly if we talk it over. I don't have any more immediate answers, but would like to go through a clean installation with you step by step. It really is pretty straightforward, and once you have the initial setup done, it will be very simple to generate the XSD from the UML as many times as you like :) Shouldn't put the skype username on the mailing list, but let me know if you're amenable, and I'll send you my username offlist. Looks from your email that you're in the UK anyway, so timing shouldn't be much of an issue. Should be faster than email! Tomorrow I'm available between 11am and 3pm.
Thanks :) Allyson

>> Again, I assume the same thing happened last time I did it, but when I
>> run
>> mvn on the pom.xml file created in 8.5 it does not appear to do anything
>> [1].
>>
>> The svn repository seems to be down, as [2]. I copied over the copy I
>> had
>> before, but this probably included my problem.
>
>
> Actually, looking at your output, you have the wrong command. As it says
> here(http://fuge.sourceforge.net/stks/xsd-stk/source-repository.html), you
> should run
>
> svn checkout
> https://fuge.svn.sourceforge.net/svnroot/fuge/xsd-stkfuge-xsd-stk
>
> to checkout. Your command below does not include the "trunk/" directory
> that
> lives between "xsd-stk/" and "fuge-books". It would work otherwise.
>
> That should help you with checking out a clean version.

On  it says "Checkout from Subversion 1. Instructions for Subversion
checkout are available on the Source (Link to
http://fuge.sourceforge.net/stks/xsd-stk/fuge-books/source-repository.html)
Repository help page." and on
http://fuge.sourceforge.net/stks/xsd-stk/fuge-books/source-repository.html
it says "The source can be checked out anonymously from SVN with this
fuge-books".

Anyway, it still does not work:

[hugh@localhost fuge]$ svn checkout
https://fuge.svn.sourceforge.net/svnroot/fuge/xsd-stkfuge-xsd-stk
svn: URL
'https://fuge.svn.sourceforge.net/svnroot/fuge/xsd-stkfuge-xsd-stk'
doesn't exist

Nor did:

[hugh@localhost fuge]$ svn checkout
https://fuge.svn.sourceforge.net/svnroot/fuge/xsd-stk/fuge-xsd-stk
svn: URL
'https://fuge.svn.sourceforge.net/svnroot/fuge/xsd-stk/fuge-xsd-stk'
doesn't exist

But this did, and had a different name to last time (xsd-stk instead of
fuge-xsd-stk)
However the new version behaves exactly the same, ie. I still need to
include the files from Andrew Jones and it fails the same way.

Hugh



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fuge-devel mailing list
Fuge-...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fuge-devel

h.mo...@har.mrc.ac.uk

unread,
Jul 28, 2008, 1:11:30 PM7/28/08
to fuge-...@lists.sourceforge.net
> Hi Hugh,
>
> Some more comments:
>
>
> - It looks like when I copied the svn command from the docs, I left out

> a
> space. Try this: "svn checkout
> https://fuge.svn.sourceforge.net/svnroot/fuge/xsd-stk fuge-xsd-stk" .
> There are two arguments to the checkout command: the URL and the local
> directory name to use. the "fuge-xsd-stk" part is just a suggested
> local
> directory name. This should work. As for the docs, that is definitely
> another bug in them: as far as I can tell, all the URLs point to the
> correct
> location of the correct source repository page, but it looks like you
> found
> one that doesn't! It looks like you were going to say which page had
> that
> URL, but it isn't in there. Which installation page did you find that
> on, so
> I can fix it?

It is on
http://fuge.sourceforge.net/stks/xsd-stk/fuge-books/fuge-xsd/generate-fuge-xsd.html#Installation_and_Generation_of_the_FuGE_XSD.
I shall try that command tommorrow.

> - I'm on Skype (not right now though!) so if you want to chat, I'm sure


> that this can be worked out quickly if we talk it over. I don't have
> any
> more immediate answers, but would like to go through a clean
> installation
> with you step by step. It really is pretty straightforward, and once
> you
> have the initial setup done, it will be very simple to generate the XSD
> from
> the UML as many times as you like :) Shouldn't put the skype username
> on the
> mailing list, but let me know if you're amenable, and I'll send you my
> username offlist. Looks from your email that you're in the UK anyway,
> so
> timing shouldn't be much of an issue. Should be faster than email!
> Tomorrow
> I'm available between 11am and 3pm.

I have not set up that sort of technology on my work computer, but I may
be able to. I shall try before 11 and let you know.

Thanks,

Hugh

Allyson Lister

unread,
Jul 30, 2008, 6:45:31 AM7/30/08
to fuge-...@lists.sourceforge.net
Hi all,

Just an update to finish off the thread.

Hugh and I had a telephone conversation earlier this week and solved his problems. His install is working fine now.

The conversation exposed a number of unclear points in the docs, which I have fixed and regenerated on the website.

Thanks! :)

On Mon, Jul 28, 2008 at 6:11 PM, <h.mo...@har.mrc.ac.uk> wrote:
> Hi Hugh,
>
> Some more comments:
>
>
>    - It looks like when I copied the svn command from the docs, I left out

> a
>    space. Try this: "svn checkout
>    https://fuge.svn.sourceforge.net/svnroot/fuge/xsd-stk fuge-xsd-stk" .
>    There are two arguments to the checkout command: the URL and the local
>    directory name to use. the "fuge-xsd-stk" part is just a suggested
> local
>    directory name. This should work. As for the docs, that is definitely
>    another bug in them: as far as I can tell, all the URLs point to the
> correct
>    location of the correct source repository page, but it looks like you
> found
>    one that doesn't! It looks like you were going to say which page had
> that
>    URL, but it isn't in there. Which installation page did you find that
> on, so
>    I can fix it?

>    - I'm on Skype (not right now though!) so if you want to chat, I'm sure

>    that this can be worked out quickly if we talk it over. I don't have
> any
>    more immediate answers, but would like to go through a clean
> installation
>    with you step by step. It really is pretty straightforward, and once
> you
>    have the initial setup done, it will be very simple to generate the XSD
> from
>    the UML as many times as you like :) Shouldn't put the skype username
> on the
>    mailing list, but let me know if you're amenable, and I'll send you my
>    username offlist. Looks from your email that you're in the UK anyway,
> so
>    timing shouldn't be much of an issue. Should be faster than email!
> Tomorrow
>    I'm available between 11am and 3pm.

I have not set up that sort of technology on my work computer, but I may
be able to.  I shall try before 11 and let you know.

Thanks,

Hugh

>

Junmin Liu

unread,
Aug 3, 2008, 3:39:31 PM8/3/08
to fuge-...@lists.sourceforge.net, mged...@lists.sourceforge.net
For many of you:

http://www.infoq.com/news/2008/07/8-reasons-md-fails

The title may be misleading, but discussions are more interesting.
---junmin

Reply all
Reply to author
Forward
0 new messages