View previous topic :: View next topic |
Author |
Message |
dreamkxd
Joined: 08 May 2007 Posts: 22
|
Posted: Fri Jul 04, 2008 12:51 am Post subject: Build error |
|
|
Maybe your lost some file to submit to svn server.
Because when I add a file that named StructLiteral.java and with a class StructLiteral in this file , then I can build the whole descent project! Or it's will report four error in project descent.core and module descent.internal.codeassist.EvaluationEngine.java(line 176 or line 255).
It's report that missing type StructLiteral . |
|
Back to top |
|
|
asterite
Joined: 01 Jun 2006 Posts: 235 Location: Buenos Aires, Argentina
|
Posted: Fri Jul 04, 2008 6:50 am Post subject: |
|
|
Indeed.
I'll commit soon, I'm about to finish to big optimization I did these last days.
In the meantime, here it is:
Code: | package descent.internal.codeassist;
import descent.core.IEvaluationResult;
import descent.core.IStructLiteral;
public class StructLiteral implements IStructLiteral {
private final String name;
private final String[] names;
private final IEvaluationResult[] values;
public StructLiteral(String name, String[] names, IEvaluationResult[] values) {
this.name = name;
this.names = names;
this.values = values;
}
/*
* (non-Javadoc)
* @see descent.core.IStructLiteral#getName()
*/
public String getName() {
return name;
}
/*
* (non-Javadoc)
* @see descent.core.IStructLiteral#getNames()
*/
public String[] getNames() {
return names;
}
/*
* (non-Javadoc)
* @see descent.core.IStructLiteral#getValues()
*/
public IEvaluationResult[] getValues() {
return values;
}
/*
* (non-Javadoc)
* @see java.lang.Object#toString()
*/
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("struct ");
sb.append(name);
sb.append(" {\n");
for (int i = 0; i < names.length; i++) {
if (i != 0) {
sb.append(",\n");
}
sb.append(" ");
sb.append(names[i]);
sb.append(" = ");
sb.append(values[i]);
}
sb.append("\n}");
return sb.toString();
}
} |
|
|
Back to top |
|
|
3-S-E
Joined: 16 Jun 2008 Posts: 54
|
Posted: Fri Jul 04, 2008 8:03 am Post subject: |
|
|
when we can expect a new nightly build version of descent?! Will it be until Saturday night (Middle European Time)? I ask because from Sunday on I'll be heading off on vacation! |
|
Back to top |
|
|
asterite
Joined: 01 Jun 2006 Posts: 235 Location: Buenos Aires, Argentina
|
Posted: Fri Jul 04, 2008 8:45 am Post subject: |
|
|
I just finished an important optimization, but I need to test it to clean it up and test it a little more. When I finish that, I'll make a new nightly build. It'll probably be tonight or tomorrow if everything goes ok.
I'm so happy it works really *fast* now, even with DWT. |
|
Back to top |
|
|
|