Examples of FileRef


Examples of com.google.gxp.compiler.fs.FileRef

/**
* Error tests related to instantiable GXPs.
*/
public class InstantiableErrorTest extends BaseTestCase {
  public void testCallConstructor_missingAttribute() throws Exception {
    FileRef callee = createFile("callee",
                                "<gxp:constructor>",
                                "  <gxp:param name='s1' type='String' />",
                                "</gxp:constructor>",
                                "<gxp:param name='s2' type='String' />");
    FileRef caller = createFile("caller", "<call:callee/>");
    compileFiles(callee, caller);

    assertAlert(new MissingAttributeError(pos(2,1), "<call:callee>", "s1"));
    assertAlert(new MissingAttributeError(pos(2,1), "<call:callee>", "s2"));
    assertNoUnexpectedAlerts();
View Full Code Here

Examples of com.hp.hpl.jena.tdb.sys.FileRef

        int checksum = Bytes.getInt(crcTrailer.array()) ;
        if ( checksum != (int)adler.getValue() )
          throw new TDBTransactionException("Checksum error reading from the Journal.") ;

        JournalEntryType type = JournalEntryType.type(typeId) ;
        FileRef fileRef = FileRef.get(ref) ;

        Block block = new Block(blockId, bb) ;
        return new JournalEntry(type, fileRef, block) ;
    }
View Full Code Here

Examples of org.apache.accumulo.server.fs.FileRef

      KeyExtent extent = extents[i];
     
      String tdir = ServerConstants.getTablesDirs()[0] + "/" + extent.getTableId().toString() + "/dir_" + i;
      MetadataTableUtil.addTablet(extent, tdir, SystemCredentials.get(), TabletTime.LOGICAL_TIME_ID, zl);
      SortedMap<FileRef,DataFileValue> mapFiles = new TreeMap<FileRef,DataFileValue>();
      mapFiles.put(new FileRef(tdir + "/" + RFile.EXTENSION + "_000_000"), new DataFileValue(1000017 + i, 10000 + i));
     
      if (i == extentToSplit) {
        splitMapFiles = mapFiles;
      }
      int tid = 0;
View Full Code Here

Examples of org.jostraca.util.FileRef

  public void load( TemplatePath pTemplatePath ) throws TemplateException {
    if( pTemplatePath instanceof VirtualTemplatePath ) {
      try {
        iTemplatePath   = pTemplatePath;
        iTemplateScript = BasicTemplateScript.defineByPath( Standard.EMPTY );
        iCodeWriterRef  = new FileRef( new File( iTemplatePath.getTemplateName() ) );
      }
      catch( Exception e ) {
        // REVIEW
        throw new TemplateException( e );
      }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.