This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 80372 - *Code Model - APT* provide driver "file->APT"
Summary: *Code Model - APT* provide driver "file->APT"
Status: CLOSED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on: 80373 80374
Blocks: 79918
  Show dependency tree
 
Reported: 2006-07-16 20:42 UTC by Vladimir Voskresensky
Modified: 2010-02-01 10:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Voskresensky 2006-07-16 20:42:46 UTC
Need to have driver which returns APT for interested file.
APT could be get from cache or created on request.
Comment 1 Vladimir Voskresensky 2006-07-16 21:11:46 UTC
implemented thread safe driver: creating token stream and generating apt from
stream under one sync method:

cvs log:
Removing APTCreatorImpl.java;
/cvs/cnd/modelimpl/src/org/netbeans/modules/cnd/modelimpl/apt/impl/support/Attic/APTCreatorImpl.java,v
 <--  APTCreatorImpl.java
new revision: delete; previous revision: 1.1.2.5
done
Checking in APTDriverImpl.java;
/cvs/cnd/modelimpl/src/org/netbeans/modules/cnd/modelimpl/apt/impl/support/Attic/APTDriverImpl.java,v
 <--  APTDriverImpl.java
new revision: 1.1.2.4; previous revision: 1.1.2.3
done
Comment 2 Vladimir Voskresensky 2006-07-16 21:28:53 UTC
 - update after renaming TokenStreamBuilder to APTTokenStreamBuilder

cvs log:
Checking in APTDriverImpl.java;
/cvs/cnd/modelimpl/src/org/netbeans/modules/cnd/modelimpl/apt/impl/support/Attic/APTDriverImpl.java,v
 <--  APTDriverImpl.java
new revision: 1.1.2.5; previous revision: 1.1.2.4
done
Comment 3 Vladimir Voskresensky 2006-07-17 17:56:56 UTC
findAPT() now throws FileNotFoundException

cvs log:
Checking in impl/support/APTDriverImpl.java;
/cvs/cnd/modelimpl/src/org/netbeans/modules/cnd/modelimpl/apt/impl/support/Attic/APTDriverImpl.java,v
 <--  APTDriverImpl.java
new revision: 1.1.2.6; previous revision: 1.1.2.5
done
Checking in support/APTDriver.java;
/cvs/cnd/modelimpl/src/org/netbeans/modules/cnd/modelimpl/apt/support/Attic/APTDriver.java,v
 <--  APTDriver.java
new revision: 1.1.2.5; previous revision: 1.1.2.4
done
Comment 4 Vladimir Voskresensky 2006-08-12 11:17:07 UTC
APT integrated in cnd-nb50-dev branch.
To use it pass -J-Dcnd.use.apt=true param