国产一级a片免费看高清,亚洲熟女中文字幕在线视频,黄三级高清在线播放,免费黄色视频在线看

打開APP
userphoto
未登錄

開通VIP,暢享免費(fèi)電子書等14項(xiàng)超值服

開通VIP
TopCoder --- How to use PopsPack plugin

ExampleBuilder is a CodeProcessor plug-in that, given a ProblemComponentModel, produces code to test the examples in the target language.


The plug-in expects a JVM version 1.4 or later.


The plug-in has been in use for nearly a year in its current incarnation (its previous version that used a parser was in use for about a year before then). I did most of my testing using C# problems. I verified compatibility with Java and C++ on a handful of examples, but no extensive testing has been done.


ExampleBuilder comes with code templates for Java, C++, and C#. The plug-in defines a $MAINBODY$ variable used in the templates. Code templates are important part of the plug-in D you must configure your FileEdit with a version derived from one of the templates supplied with the plug-in.


Installing ExampleBuilder

To install ExampleBuilder, you need to install CodeProcessor, and configure it with an editor of your choice. See instructions below for configuring CodeProcessor to use ExampleBuilder and FileEdit.

  1. Download the latest CodeProcessor.jar, FileEdit.jar, and ExampleBuilder.jar from the TopCoder's web site
  2. Start the TopCoder Arena applet
  3. From the Options menu, choose Editor to open Editor Preferences
  4. In Editor Preferences, Click [Add]
  5. Enter Name = ExampleBuilder
  6. Enter EntryPoint = codeprocessor.EntryPoint
  7. Enter ClassPath = <download>/CodeProcessor.jar;<download>/FileEdit.jar;<download> ExampleBuilder.jar, where <download> represents an absolute path to the directory to which you downloaded the jar files.
  8. In Editor Preferences, select ExampleBuilder, and click [Configure] to open CodeProcessor Configuration
  9. Enter Editor EntryPoint = fileedit.EntryPoint
  10. Enter ProcessorClass = tc_plugin.ExampleBuilder
  11. In CodeProcessor Configuration, click [Verify]. The applet should detect that preprocess and getUserDefinedTags methods are present.
  12. In CodeProcessor Configuration, click [Configure] to access FileEdit's configuration page. Make a code template that uses the $MAINBODY$ tag to see the code that ExampleBuilder generates.
  13. Click [Save] and [Close] in all open dialogs
  14. Depending on your language preference, download CodeTemplate.java, CodeTemplate.cpp, or CodeTemplate.cs. Paste the text of the desired template in the FileEdit's configuration window.
  15. If you are running WebStart application, close it; if you are running in a browser, close the instance of the browser that runs the applet.


To verify the installation, go to a practice room and open a problem. Verify that examples are expanded in the output.

Troubleshooting the installation

The most common installation problem is a JVM version mismatch. If you are running The Arena from the browser, go to Java Plugin configuration in the Control Panel, and verify that your default JRE is 1.4. If you are running The Arena in WebStart, go to "File/Preferences, Java" in the WebStart application, and verify that 1.4 is the default JRE version.


本站僅提供存儲服務(wù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點(diǎn)擊舉報(bào)。
打開APP,閱讀全文并永久保存 查看更多類似文章
猜你喜歡
類似文章
docker-maven-plugin打包鏡像并上傳到私有倉庫
Jenkins中使用checkstyle, coverage, pmd, findbugs plugin
舊版插件R20 橋接插件 Plug
pentaho 連接hadoop
The plugin 'org.apache.maven.plugins:maven
SAP Fiori Launchpad頁面在服務(wù)器端的配置背后的實(shí)現(xiàn)原理
更多類似文章 >>
生活服務(wù)
分享 收藏 導(dǎo)長圖 關(guān)注 下載文章
綁定賬號成功
后續(xù)可登錄賬號暢享VIP特權(quán)!
如果VIP功能使用有故障,
可點(diǎn)擊這里聯(lián)系客服!

聯(lián)系客服