infomodel

我装好了Info Modeler,然后按照教材作helloWorld,并进行System Generation,为什么只生成了helloWorld.mdata,Item和Person的相关文件(.java、.ClassInfo.ser、.sql)都没有生成?System Generation的log如下:

Collecting category: helloWorld
Using Extensions in: D:\ptc\Windchill_8.0\RoseAddIn
Generating work to:  D:\ptc\Windchill_8.0\src
Collecting category: helloWorld
Shell Command = D:\ptc\Windchill_8.0\RoseAddIn\../bin\tools.bat rose_pathmap.help rose_pathmap -v -Drose_pathmap.reg_file=C:\DOCUME~1\JJEFF\LOCALS~1\Temp\temp.reg
PathMap File = C:\DOCUME~1\JJEFF\LOCALS~1\Temp\temp.reg
Creating categories in base directory D:\ptc\Windchill_8.0\src.
Directory structure for selected items created.
Default Values Initialized.
Exporting Class: defaults
Exporting Class: nestedDefaults
Exporting Association: (<unnamed>:defaults)(<unnamed>:defaults)
Default Values Exported.
Exporting Rose Model Data for Package: areotech
Exporting Class: Item
Exporting Class: Person
Exporting Association: (<unnamed>:Item)(<unnamed>:Person)
Selected Items Exported.
package: helloWorld
Unit Descriptor Export Completed at 2006-7-18 10:34:42
processing UnitDescriptors in file: D:\ptc\Windchill_8.0\src\..\unit.properties...
current directory is: D:\ptc\Windchill_8.0\bin

Shell Command = executeApp.bat com.ptc.windchill.tools.XMLDescriptorGenerator D:\ptc\Windchill_8.0\src\..\unit.properties False

Shell Command = D:\ptc\Windchill_8.0\RoseAddIn\..\ant/bin/ant.bat -f ../bin/tools.xml gen -verbose -l ../logs\RoseSysGen.log -Dgen.java=true -Dgen.introspect=true -Dgen.database=true -Dgen.displaynames=false -Dgen.modelcheck=true -Dgen.input="packageListFile=D:\ptc\Windchill_8.0\src\..\packageListFile.txt"

WT_EXTENSION = D:\ptc\Windchill_8.0\RoseAddIn

    [java] Executing 'D:\j2sdk1.4.2_06\jre\bin\java.exe' with arguments:
    [java] '-Xmx750m'
    [java] '-classpath'
    [java]...
    [java] 'wt.util.AppStarter'
    [java] '-hideClasspath'
    [java] 'wt.tools.SystemGeneration'
    [java] 'packageListFile=D:\ptc\Windchill_8.0\src\..\packageListFile.txt'
    [java] 'wt.generation.enforceExtendable=true'
    [java] 'wt.generation.genJavaSource=true'
    [java] 'wt.generation.genIntrospect=true'
    [java] 'wt.generation.genDatabase=true'
    [java] 'wt.generation.genDisplayNames=false'
    [java] 'wt.generation.reportDisplayNames=false'
    [java] 'wt.tools.modelCheck=true'
    [java] 'wt.home=D:\ptc\Windchill_8.0'
    [java] 'wt.sourceroot=D:\ptc\Windchill_8.0'
    [java]
    [java] The ' characters around the executable and arguments are
    [java] not part of the command.
    [java] Error: No Model Data for package: helloWorld
    [java] Execution/Launch Time = 1.0 seconds

Model Data Export Completed at 2006-7-18 10:34:50




1.
是在RationalRose中生成吗?
看的是哪个教材?
2.
是。是在Rose(Enterprise Edition 2003)中生成。教材就是Windchill Application Developer’s Guide®啊。
3.
从错误信息看,是helloWorld包中没有模型数据。
请检查你新建的类是否包含在helloWorld包中。



http://www.webspherechina.net/club/thread-11297-1-2.html

你可能感兴趣的:(java,sql,C++,ant,C#)