#470 compile error related to class LoadAccountTypes..

open
nobody
None
9
2010-06-22
2010-06-22
tom tan
No

Hi everybocy,
I download the source from head, and try to run ant target "run clean-build-run-installer", and i get a compile error:
[echo] tolvenApplicationEditor: C:\tolven\tolvenApplicationEditor\build.xml
[javac] Compiling 69 source files to C:\tolven\tolvenApplicationEditor\build\bin
[javac] C:\tolven\tolvenApplicationEditor\src\org\tolven\ae\helper\ApplicationDataLoaderImpl.java:33: cannot find symbol
[javac] symbol : constructor LoadAccountTypes(java.lang.String,java.lang.String)
[javac] location: class org.tolven.client.load.LoadAccountTypes
[javac] org.tolven.client.load.LoadAccountTypes lat = new org.tolven.client.load.LoadAccountTypes(confDir, baseDir);
[javac] ^
[javac] C:\tolven\tolvenApplicationEditor\src\org\tolven\ae\helper\ApplicationDataLoaderImpl.java:34: cannot find symbol
[javac] symbol : method uploadApplication(org.tolven.menuStructure.Application)
[javac] location: class org.tolven.client.load.LoadAccountTypes
[javac] lat.uploadApplication(application);
[javac] ^
[javac] C:\tolven\tolvenApplicationEditor\src\org\tolven\teditor\model\TreeNodes\CalendarNode.java:34: cannot find symbol
[javac] symbol : method getActions()
[javac] location: class org.tolven.menuStructure.Calendar
[javac] for( Action action : cal.getActions()){
[javac] ^
[javac] C:\tolven\tolvenApplicationEditor\src\org\tolven\teditor\model\TreeNodes\CalendarNode.java:131: cannot find symbol
[javac] symbol : method getActions()
[javac] location: class org.tolven.menuStructure.Calendar
[javac] java.util.List<Action> actions = cal.getActions();
[javac] ^
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 4 errors

After I looked at the source code I found there class LoadAccountType only have constructor:
public LoadAccountTypes(String configDir) {
super(configDir);
appFiles = new HashMap<String, String>();
}
but the class ApplicationDataLoaderImpl try to instance it by using new org.tolven.client.load.LoadAccountTypes(confDir, baseDir);
there are also problem with class :
org.tolven.menuStructure.Calendar
org.tolven.teditor.model.TreeNodes.CalendarNode try to use calendar.getActions() which this method does not exist

any ideas?

Discussion

  • tom tan
    tom tan
    2010-06-22

    • priority: 5 --> 9