I would like to compil the file LoadECR.java (see the join file) in a windchill shell with the next command : javac LoadECR.java -d \windchill\codebase
The next errors appears :
C:\PTC\Windchill_10.0>javac Windchill\src\loadECR.java -d Windchill\codebase
C:\ptc\Windchill_10.0\Windchill\codebase\wt\type\TypeDefinitionReference.class:
warning: Cannot find annotation method 'versions()' in type 'com.ptc.windchill.a
- nnotations.metadata.GenAsObjectMappable': class file for com.ptc.windchill.annot
- ations.metadata.GenAsObjectMappable not found
C:\ptc\Windchill_10.0\Windchill\codebase\wt\type\TypeDefinitionReference.class:
warning: Cannot find annotation method 'properties()' in type 'com.ptc.windchill
.annotations.metadata.GenAsObjectMappable'
C:\ptc\Windchill_10.0\Windchill\codebase\wt\type\TypeDefinitionReference.class:
warning: Cannot find annotation method 'name()' in type 'com.ptc.windchill.annot
- ations.metadata.GeneratedProperty': class file for com.ptc.windchill.annotations
.metadata.GeneratedProperty not found
C:\ptc\Windchill_10.0\Windchill\codebase\wt\type\TypeDefinitionReference.class:
warning: Cannot find annotation method 'type()' in type 'com.ptc.windchill.annot
- ations.metadata.GeneratedProperty'
C:\ptc\Windchill_10.0\Windchill\codebase\wt\type\TypeDefinitionReference.class:
warning: Cannot find annotation method 'constraints()' in type 'com.ptc.windchil
- l.annotations.metadata.GeneratedProperty'
C:\ptc\Windchill_10.0\Windchill\codebase\wt\type\TypeDefinitionReference.class:
warning: Cannot find annotation method 'required()' in type 'com.ptc.windchill.a
- nnotations.metadata.PropertyConstraints': class file for com.ptc.windchill.annot
- ations.metadata.PropertyConstraints not found
C:\ptc\Windchill_10.0\Windchill\codebase\wt\pdmlink\PDMLinkProduct.class: warnin
g: Cannot find annotation method 'superClass()' in type 'com.ptc.windchill.annot
- ations.metadata.GenAsPersistable': class file for com.ptc.windchill.annotations.
- metadata.GenAsPersistable not found
C:\ptc\Windchill_10.0\Windchill\codebase\wt\pdmlink\PDMLinkProduct.class: warnin
g: Cannot find annotation method 'interfaces()' in type 'com.ptc.windchill.annot
- ations.metadata.GenAsPersistable'
C:\ptc\Windchill_10.0\Windchill\codebase\wt\pdmlink\PDMLinkProduct.class: warnin
g: Cannot find annotation method 'versions()' in type 'com.ptc.windchill.annotat
- ions.metadata.GenAsPersistable'
C:\ptc\Windchill_10.0\Windchill\codebase\wt\pdmlink\PDMLinkProduct.class: warnin
g: Cannot find annotation method 'properties()' in type 'com.ptc.windchill.annot
- ations.metadata.GenAsPersistable'
C:\ptc\Windchill_10.0\Windchill\codebase\wt\pdmlink\PDMLinkProduct.class: warnin
g: Cannot find annotation method 'name()' in type 'com.ptc.windchill.annotations
.metadata.GeneratedProperty'
C:\ptc\Windchill_10.0\Windchill\codebase\wt\pdmlink\PDMLinkProduct.class: warnin
g: Cannot find annotation method 'type()' in type 'com.ptc.windchill.annotations
.metadata.GeneratedProperty'
C:\ptc\Windchill_10.0\Windchill\codebase\wt\pdmlink\PDMLinkProduct.class: warnin
g: Cannot find annotation method 'accessors()' in type 'com.ptc.windchill.annota
- tions.metadata.GeneratedProperty'
C:\ptc\Windchill_10.0\Windchill\codebase\wt\pdmlink\PDMLinkProduct.class: warnin
g: Cannot find annotation method 'getAccess()' in type 'com.ptc.windchill.annota
- tions.metadata.PropertyAccessors': class file for com.ptc.windchill.annotations.
- metadata.PropertyAccessors not found
An exception has occurred in the compiler (1.6.0_22). Please file a bug at the J
ava Developer Connection (http://java.sun.com/webapps/bugreport) after checking
the Bug Parade for duplicates. Include your program and the following diagnosti
c in your report. Thank you.
- com.sun.tools.javac.code.Symbol$CompletionFailure: class file for com.ptc.windch
- ill.annotations.metadata.GetAccess not found
If somebody has an idea to correct the join file, I will be interested.
Thank you in advance.