Hi Phil,
I've forwarded your mail to the fuge-devel list for two reasons: 1 = that hotmail account of mine is not something I check very often, and 2 = I'm going to be on holiday for about a week after today, so if you're still having problems, you'll need some other people to help you out!
Thanks for getting back to us about your problems. Please see inline for some suggestions/questions:
________________________________
> Date: Thu, 24 Apr 2008 15:11:34 +0100
> From: pjo...@ebi.ac.uk
> Subject: Problem with FuGE XSD Install
>
> Hi Andy,
>
> I have followed the instructions on http://fuge.sourceforge.net/stks/xsd-stk/fuge-books/fuge-xsd/generate-fuge-xsd.html and run into two problems.
>
> 1. When opening the FuGE model in MagicDraw for the first time, MagicDraw complains that three dependencies are missing:
>
> andromda-profile-xml-3.2.xml.zip
> andromda-profile-persistence-3.2.xml.zip
> andromda-profile-datatype-3.2.xml.zip
>
> This was fixed by running mvn install first - these dependencies were then downloaded. (mvn install fails of course, because the xsi has not yet been generated - bad case of chicken and egg....
Did you run all the steps in #8 "Andromda", especially sub-steps 4-7? :
- Go to
http://team.andromda.org/maven2/org/andromda/maven/plugins/andromdapp-maven-plugin/3.2/andromdapp-maven-plugin-install-3.2.zip
to download the the AndroMDA plugin installer.
- Unzip the contents of the installer into your Maven repository at
$M2_REPO (or whatever you have set "localRepository" to be, or by
default, it resides in your-home-dir/.m2/repository).
- Verify that the following directory was created (switch the slashes
around for Windows):
$M2_REPO/org/andromda/maven/plugins/andromda-maven-plugin
- Create a temporary directory, e.g. C:\andromda-temp
or $HOME/andromda-temp
.
- Create a file called pom.xml
in this directory with the following content:
[snip - see web page] - Open a Command Prompt in the directory where you created this pom.xml
and run the command mvn
without any arguments. Make sure the command completes successfully by
displaying the BUILD SUCCESSFUL
message.
- You can now delete the temporary directory you just created.
Specifically, step 6 runs mvn with an empty andromda project, and should download those files, among others.
HOWEVER, I've just deleted one of my xml.zip files and tried to do step 6 above, and it didn't download the missing profile. So, it looks like this is a bug. Does anyone else on the list have a better way of resolving this for first-time users, other than to run "mvn install", let it fail, and then convert to XMI and run again?
>
> So this needs updating on the documentation page.
>
> The second problem is that the mvn install to build the FuGE schema fails. The error message is pasted below:
>
> [ERROR] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Compilation failure
>
> /home/phil/projects/analysisXML/fuge_xsd/fuge-xsd-stk/trunk/fuge-jaxb2/target/net/sourceforge/fuge/util/generatedJAXB2/FuGECommonMeasurementMeasurementType.java:[11,33] package javax.xml.bind.annotation does not exist
Can you please give me some extra information, to help me gauge what's wrong? I'll need the step in the installation instructions you were at (just the final mvn install step?) to be sure where you are in the setup, and also I'll need the directory you ran the install command from, and the exact command used.
Thanks a lot for the interest!
>
> Best regards,
>
> Phil.
>
> --
> Phil Jones
> Senior Software Engineer
> PRIDE Project Team
> PANDA Group, EMBL-EBI
> Wellcome Trust Genome Campus
> Hinxton, Cambridge, CB10 1SD
> UK.
>
> Work phone: +44 1223 492610
> Skype: philip-jones
_________________________________________________________________
Bag extra points with the Walkers Brit Trip Game
http://www.walkersbrittrips.co.uk/game
--
Thanks,
Allyson :)
Allyson Lister
Research Associate
Centre for Integrated Systems Biology for Ageing and Nutrition
Newcastle University
http://www.cisban.ac.ukSchool of Computing Science
Newcastle University
Newcastle upon Tyne, NE1 7RU