i've some problems in building the sample application. The ant script build.xml dosn't work as expected. I've problems to manage the differend pathes. For what do I have to unzip the uml2ejb.zip (target name="prepare")? Is this necessary or is this simple not an actual version of the file compared with the current distribution (1.0.3). It would be a good thing, if someone could explain the single steps in the build.xml more in detail.
Thanks a lot
entici
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
no, the sample build.xml is up to date. I use it when developing UML2EJB to see if everything still works with a new version. (Martin Fowler calls this "continuous integration"). The unzip operation is necessary because the templates and the uml2ejb.jar file are packed into the ZIP and cannot be accessed directly from there. It's the same with any software: before you can use it, unzip it.
However, you can unzip UML2EJB once, put it into a directory of your choice and delete the <unzip> task from the sample build.xml file.
Cheers...
Matthias
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i managed to execute the script. But the script is not ready for "extract - compile and run". In some parts of the script, i didn't undersand what happens, but may be it's my personal problem with ant-scripts.
The part with the zip didn't came clear to me. Unzip a file within a script, which is packed in the zip-file it should unzip? How does this work? But dosen't matter. You did a great job with this tool. I hope it will be successful and find lots of users.
Good luck
entici
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
oh, I see! "Unzip a file within a script, which is packed in the zip-file it should unzip" - yes, that's weird. :-)
The truth is, this script file only works when you recompile UML2EJB so that a *new* zip is created in the directory "dist". The script then unzips *that* zip, not *this* zip where the script came from.
This really confuses my users, I can see that now. I'll redesign the script in the next release - promised!
Cheers...
Matthias
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
i've some problems in building the sample application. The ant script build.xml dosn't work as expected. I've problems to manage the differend pathes. For what do I have to unzip the uml2ejb.zip (target name="prepare")? Is this necessary or is this simple not an actual version of the file compared with the current distribution (1.0.3). It would be a good thing, if someone could explain the single steps in the build.xml more in detail.
Thanks a lot
entici
Hi, Entici,
no, the sample build.xml is up to date. I use it when developing UML2EJB to see if everything still works with a new version. (Martin Fowler calls this "continuous integration"). The unzip operation is necessary because the templates and the uml2ejb.jar file are packed into the ZIP and cannot be accessed directly from there. It's the same with any software: before you can use it, unzip it.
However, you can unzip UML2EJB once, put it into a directory of your choice and delete the <unzip> task from the sample build.xml file.
Cheers...
Matthias
Hi,
there is additional information on the website. The article is called "Writing a build script using UML2EJB" and can be found under the following URL:
http://uml2ejb.sourceforge.net/pages/buildtags.html
Good luck!
Matthias Bohlen
Thanks for your help,
i managed to execute the script. But the script is not ready for "extract - compile and run". In some parts of the script, i didn't undersand what happens, but may be it's my personal problem with ant-scripts.
The part with the zip didn't came clear to me. Unzip a file within a script, which is packed in the zip-file it should unzip? How does this work? But dosen't matter. You did a great job with this tool. I hope it will be successful and find lots of users.
Good luck
entici
Hi Jan,
oh, I see! "Unzip a file within a script, which is packed in the zip-file it should unzip" - yes, that's weird. :-)
The truth is, this script file only works when you recompile UML2EJB so that a *new* zip is created in the directory "dist". The script then unzips *that* zip, not *this* zip where the script came from.
This really confuses my users, I can see that now. I'll redesign the script in the next release - promised!
Cheers...
Matthias