Menu

2 problems to start 0.3.RC4 under Win98 SE

Help
2003-11-13
2003-11-17
  • Benoît Salandre

    Hello,

       I had 2 problems (after unzipping 0.3.RC4). i found the solution, so i post it.
    First, In the .bat file, i had some "black square characters". I just replaced them by proper line returns and batch file worked fine.
    Second, a java error when i launched the .bat file:
    "Exception in thread "main" java.lang.NoClassDefFoundError: org/jdom/Document
    ". So, i rename "jdom-b8.jar" to "jdom.jar" in the "lib" directory, and, at least, it works...

     
    • Emmanuel Florent

      Better to try yhe lastest version ALPHA6

      ++

      EF

       
    • Benoît Salandre

      I add than i also tried 0.3.RC4 under WinXP and i didn't have the problem with the "black square characters" in the .bat file.
      Now, in the office, under Win98, i try the brand new version. I want to create a database for MySQL (actualy on the PC running easyPHP) from a PDM so i open the "properties" window in "Model" menu. I choose MySQL in the list "type". the text in the textfield "URL (Creation)" don't change from original ("jdbc:postgresql://127.0.0.1/template1"). I replace this by hand and i can connect to the server. Now, if i click on button "Create DB", there is a message error in the log area:
           [echo]
           [echo]       Executing the create-db.sql script ...
           [echo]    
            [sql] Executing file: C:\WINDOWS\devaki-nextobjects\torque-gen-3.1\src\sql\create-db.sql
            [sql] Failed to execute: drop database if exists @DATABASE_DEFAULT@
            [sql] java.sql.SQLException: Syntax error or access violation,  message from server: "Erreur de syntaxe prs de '@DATABASE_DEFAULT@'  la ligne 1"
            [sql] Failed to execute: create database @DATABASE_DEFAULT@
            [sql] java.sql.SQLException: Syntax error or access violation,  message from server: "Erreur de syntaxe prs de '@DATABASE_DEFAULT@'  la ligne 1"
            [sql] 0 of 2 SQL statements executed successfully

      So, i open this file "create-db.sql" and, again, i see this "black square characters".
      I will try later on WinXP !!

       
      • Emmanuel Florent

        Check you $project.pdm , and project preferences...
        It seems you have an empty project name....
        If tour project name is "foo"
        You should have database & project name identical.
        createdb : jdbc:mysql://127.0.0.1/mysql
        and :  jdbc:mysql://127.0.0.1/foo
        and project name & code set to "foo"

        You reported you were using mysql and using jdbc:postgresql//127.0.0.1/template1

        I think about adding necessary checks.

        ++

        EF

         
        • Benoît Salandre

          OK, so i found how NextObjects works and now i can create my DB and the tables.
          Just two little bugs:
          - When i change the database type in the list in the model properties window, the textfield "URL (Creation)" doesn't change, i have to change it myself.
          - If i load a model, the driver in the textfield "Driver" doesn't change.

           

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.