Bug 80372 - *Code Model - APT* provide driver "file->APT"
*Code Model - APT* provide driver "file->APT"
Status: CLOSED FIXED
Product: cnd
Classification: Unclassified
Component: Code Model
5.x
All All
: P1 (vote)
: 6.x
Assigned To: Vladimir Voskresensky
issues@cnd
:
Depends on: 80373 80374
Blocks: 79918
  Show dependency treegraph
 
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
:


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


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo