You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mb...@apache.org on 2015/12/13 18:42:03 UTC
svn commit: r1719816 -
/commons/proper/weaver/trunk/src/site/markdown/index.md
Author: mbenson
Date: Sun Dec 13 17:42:03 2015
New Revision: 1719816
URL: http://svn.apache.org/viewvc?rev=1719816&view=rev
Log:
remove nonessential part of code example in case it may serve as a distraction
Modified:
commons/proper/weaver/trunk/src/site/markdown/index.md
Modified: commons/proper/weaver/trunk/src/site/markdown/index.md
URL: http://svn.apache.org/viewvc/commons/proper/weaver/trunk/src/site/markdown/index.md?rev=1719816&r1=1719815&r2=1719816&view=diff
==============================================================================
--- commons/proper/weaver/trunk/src/site/markdown/index.md (original)
+++ commons/proper/weaver/trunk/src/site/markdown/index.md Sun Dec 13 17:42:03 2015
@@ -240,14 +240,6 @@ Commons Weaver abstracts this for you.
return true;
}
- public static void main(String[] args) {
- // If you are using Maven, .. might resolve to your target directory
- File targetDir = new File(MyWeaver.class.getResource("..").getFile());
- //MyWeaver myWeaver = new MyWeaver();
- WeaveProcessor weaveProcessor = new WeaveProcessor(Arrays.asList("test.MyWeaver", "test.User"), targetDir, new Properties());
- weaveProcessor.weave();
- }
-
}
Before running the example above you need to tell the ServiceProvider about