ConcourseSuite Support

Support
Corporate
PUBLIC PROFILE

Back to topics

Discuss Installation and Maintenance

Moderator: Matt Rajkowski

instaldb bug

You need to be logged in to post messages

instaldb bug

12/6/2008 4:58 PM EST

I`m using MS SQL SERVER DB

When i tried to build instaldb, I got a error:

[upgradeDatabase] Executing: C:\Documents and Settings\Nazzgul\workspace\Epicea[tunk]\src\sql\init\sync.bsh
[upgradeDatabase] Inserting sync API systems...

BUILD FAILED
java.lang.NoClassDefFoundError: com/sncf/epicea/dbutil/Closure

I dont know, what is wrong with these class

Please help!

Here is a code:

sync.bash:
[quote]
/*

  • This script is used by build.xml when installing a new database.
  • @author matt rajkowski
  • @created June 9, 2005
  • @version $Id: sync.bsh 16771 2006-10-27 20:20:50Z matt $
  • /

import java.sql.*;
import com.sncf.epicea.dbutil.*;
import java.io.File;
import org.aspcfs.utils.DatabaseUtils;
import org.aspcfs.modules.service.base.*;

print("Inserting sync API systems...");
int systemId = -1;
if (1==1)
SyncSystem thisSystem = new SyncSystem();
thisSystem.setApplicationName("Deprecated");
thisSystem.setEnabled(false);
thisSystem.insert(db);
}
if (1==1)
SyncSystem thisSystem = new SyncSystem();
thisSystem.setApplicationName("Auto Guide PocketPC");
thisSystem.setEnabled(false);
thisSystem.insert(db);
}
if (1==1)
SyncSystem thisSystem = new SyncSystem();
thisSystem.setApplicationName("Deprecated");
thisSystem.setEnabled(false);
thisSystem.insert(db);
}
if (1==1)
SyncSystem thisSystem = new SyncSystem();
thisSystem.setApplicationName("CFSHttpXMLWriter");
thisSystem.setEnabled(false);
thisSystem.insert(db);
systemId = thisSystem.getId();
}
if (1==1)
SyncSystem thisSystem = new SyncSystem();
thisSystem.setApplicationName("Deprecated");
thisSystem.setEnabled(false);
thisSystem.insert(db);
}
[/quote]

Closure:
][[
package com.sncf.epicea.dbutil;

public interface Closure

Object execute() throws Exception ;
}
[/quote]