Women in Technology

Hear us Roar



Article:
  Atomic File Transactions, Part 1
Subject:   Classes don't compile
Date:   2002-01-08 21:23:06
From:   mdubord
nice idea but:


$javac -classpath . com\astrel\io\atomic\*.java
com\astrel\io\atomic\Transaction.java:136: cannot resolve symbol
symbol : class WriteAction
location: class com.astrel.io.atomic.Transaction
return (FileOutputStream) run(new WriteAction(f, append));
^
com\astrel\io\atomic\RenameAction.java:5: com.astrel.io.atomic.RenameAction shou
ld be declared abstract; it does not define execute() in com.astrel.io.atomic.Ac
tion
class RenameAction extends Action {
^
com\astrel\io\atomic\RenameAction.java:16: cannot resolve symbol
symbol : variable Tools
location: class com.astrel.io.atomic.RenameAction
Tools.rename(source, dest);
^
com\astrel\io\atomic\RenameAction.java:29: cannot resolve symbol
symbol : variable Tools
location: class com.astrel.io.atomic.RenameAction
Tools.delete(source);
^
com\astrel\io\atomic\RenameAction.java:31: cannot resolve symbol
symbol : variable Tools
location: class com.astrel.io.atomic.RenameAction
Tools.rename(dest, source);
^
5 errors

Full Threads Oldest First

Showing messages 1 through 2 of 2.

  • Classes don't compile
    2003-10-25 10:18:57  tomlauren [View]

    I fixed the api and posted it at http://www.tomlauren.com. Search for atomic.jar.

    Tom Lauren
    • Classes don't compile
      2006-11-27 03:34:11  ziglee [View]

      The requested URL could not be retrieved