2024-03-24 17:55:05 +00:00
2024-03-24 17:55:05 +00:00
2024-03-24 00:05:18 +01:00
2024-03-23 18:07:07 +00:00
2024-03-24 00:05:18 +01:00

Description

This is a project for 3rd year academic of Université de Rennes 1. This project have 3 main parts: DotUML, OpenXAVA and generator based on Python


Disclaimer

I use Python 3.10 so any superior version or lower will not be tested In the code of Read.py it could be unusable if there are files has the same name which Python will generate. Please make sure that you have to delete the folder or change the path in Read.py Because it is very difficult to see which one is the key of the class so you have to decide which one is @Id after the generated files. All of lines have // as comment will be skipped in generated code. So make sure comments are not on the same line of code.


Troubleshooting

  • Why I have errors when put others DotUML into your project?
    • Normally for easy to use and read file I separate the file for Python to run
    • Example: class Sport{ and and class Sport { will be different
    • Same as var:type and var : type. Please change the file into the same format to the code run smoothly.

Demo

  • I put a demo of generated code in tested folder in case that your machine cannot work.
  • Other files will be well labeled in each of their folder

Prerequisits

Avant de cloner/forker ce projet, assurez-vous que les outils suivants sont installés :

Installation

  • Install Python 3.10
  • Install OpenXava
    • In OpenXava, you will have to create the package etc to it proprely run. This generator is just make your life easier :)
    • After created your own file, copy contents in generated folder into your project. The path folder normally : workspace/<name_of_your_project>/src/main/java/com/<i_dont_know>/<i_dont_know_either>/model
    • Then you have to add a line into head of each java file, for example: package com.yourcompany.bmo.model;
  • DotUML will have their own playground that you can check it here
    • You copy all text and put in playground to have to connections of all class.

Contributors

Description
No description provided
Readme 132 MiB
Languages
Java 82.6%
CSS 16.6%
Python 0.8%