Java Doc for JSharp.java in  » Build » ANT » org » apache » tools » ant » taskdefs » optional » dotnet » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Build » ANT » org.apache.tools.ant.taskdefs.optional.dotnet 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.tools.ant.taskdefs.optional.dotnet.DotnetBaseMatchingTask
   org.apache.tools.ant.taskdefs.optional.dotnet.DotnetCompile
      org.apache.tools.ant.taskdefs.optional.dotnet.JSharp

JSharp
public class JSharp extends DotnetCompile (Code)
Compile J# source down to a managed .NET application.

J# is not Java. But it is the language closest to Java in the .NET framework. This task compiles jsharp source (.java files), and generates a .NET managed exe or dll.

For historical reasons the pattern **/*.java is preset as includes list and you can not override it with an explicit includes attribute. Use nested <src> elements instead of the basedir attribute if you need more control.


See Also:    See Also:   "http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vjsharp/html/vjoriMicrosoftVisualJ.asp"
See Also:   >Visual J++ online documentation

since:
   ant1.6


Field Summary
 StringbaseAddress
    
 booleanpureJava
    
 booleansecureScoping
    

Constructor Summary
public  JSharp()
     No arg constructor.

Method Summary
protected  voidaddCompilerSpecificOptions(NetCommand command)
    
protected  voidcreateResourceParameter(NetCommand command, DotnetResource resource)
    
public  StringgetFileExtension()
     Get the extension of filenames to compile.
public  StringgetReferenceDelimiter()
     Get the delimiter that the compiler uses between references.
public  voidsetBaseAddress(String baseAddress)
     Set the base address attribute.
public  voidsetPureJava(boolean pureJava)
    
public  voidsetSecureScoping(boolean secureScoping)
     Make package scoped code visible to the current assembly only (default: false) .NET does not have package scoping.
protected  voidvalidate()
    

Field Detail
baseAddress
String baseAddress(Code)
hex base address



pureJava
boolean pureJava(Code)
/x option to disable J++ and J# lang extensions



secureScoping
boolean secureScoping(Code)
whether to make package scoped stuff public or assembly scoped




Constructor Detail
JSharp
public JSharp()(Code)
No arg constructor.




Method Detail
addCompilerSpecificOptions
protected void addCompilerSpecificOptions(NetCommand command)(Code)
add jvc specific commands
Parameters:
  command - the command to add to.



createResourceParameter
protected void createResourceParameter(NetCommand command, DotnetResource resource)(Code)



getFileExtension
public String getFileExtension()(Code)
Get the extension of filenames to compile. The string extension of files to compile.



getReferenceDelimiter
public String getReferenceDelimiter()(Code)
Get the delimiter that the compiler uses between references. For example, c# will return ";"; VB.NET will return "," The string delimiter for the reference string.



setBaseAddress
public void setBaseAddress(String baseAddress)(Code)
Set the base address attribute.
Parameters:
  baseAddress - the value to use.



setPureJava
public void setPureJava(boolean pureJava)(Code)
do we want pure java (default, true) or corrupted J#?
Parameters:
  pureJava - a boolean value.



setSecureScoping
public void setSecureScoping(boolean secureScoping)(Code)
Make package scoped code visible to the current assembly only (default: false) .NET does not have package scoping. Instead it has assembly, private and public. By default, package content is public to all.
Parameters:
  secureScoping - a boolean value.



validate
protected void validate() throws BuildException(Code)
validation code
throws:
  org.apache.tools.ant.BuildException - if validation failed



Fields inherited from org.apache.tools.ant.taskdefs.optional.dotnet.DotnetCompile
final protected static String REFERENCE_OPTION(Code)(Java Doc)
protected String additionalModules(Code)(Java Doc)
protected boolean debug(Code)(Java Doc)
protected Vector definitionList(Code)(Java Doc)
protected String executable(Code)(Java Doc)
protected String extraOptions(Code)(Java Doc)
protected String mainClass(Code)(Java Doc)
protected Vector referenceFilesets(Code)(Java Doc)
protected Vector resources(Code)(Java Doc)
protected String targetType(Code)(Java Doc)
protected boolean utf8output(Code)(Java Doc)

Methods inherited from org.apache.tools.ant.taskdefs.optional.dotnet.DotnetCompile
abstract protected void addCompilerSpecificOptions(NetCommand command)(Code)(Java Doc)
public void addDefine(DotnetDefine define)(Code)(Java Doc)
public void addReference(FileSet reference)(Code)(Java Doc)
protected int addReferenceFilesets(NetCommand command, long outputTimestamp)(Code)(Java Doc)
public void addResource(DotnetResource resource)(Code)(Java Doc)
protected void addResources(NetCommand command)(Code)(Java Doc)
public void clear()(Code)(Java Doc)
protected NetCommand createNetCommand()(Code)(Java Doc)
abstract protected void createResourceParameter(NetCommand command, DotnetResource resource)(Code)(Java Doc)
public void execute() throws BuildException(Code)(Java Doc)
protected void fillInSharedParameters(NetCommand command)(Code)(Java Doc)
protected String getAdditionalModulesParameter()(Code)(Java Doc)
public boolean getDebug()(Code)(Java Doc)
protected String getDebugParameter()(Code)(Java Doc)
public String getDefinitionsDelimiter()(Code)(Java Doc)
protected String getDefinitionsParameter() throws BuildException(Code)(Java Doc)
protected String getDestFileParameter()(Code)(Java Doc)
protected String getExecutable()(Code)(Java Doc)
public String getExtraOptions()(Code)(Java Doc)
protected String getExtraOptionsParameter()(Code)(Java Doc)
protected String[] getExtraOptionsParameters()(Code)(Java Doc)
public boolean getFailOnError()(Code)(Java Doc)
abstract public String getFileExtension()(Code)(Java Doc)
public String getFilePattern()(Code)(Java Doc)
public boolean getIncludeDefaultReferences()(Code)(Java Doc)
protected String getIncludeDefaultReferencesParameter()(Code)(Java Doc)
public String getMainClass()(Code)(Java Doc)
protected String getMainClassParameter()(Code)(Java Doc)
public boolean getOptimize()(Code)(Java Doc)
protected String getOptimizeParameter()(Code)(Java Doc)
abstract public String getReferenceDelimiter()(Code)(Java Doc)
protected String getReferenceFilesParameter()(Code)(Java Doc)
protected String getReferencesParameter()(Code)(Java Doc)
public String getTargetType()(Code)(Java Doc)
protected String getTargetTypeParameter()(Code)(Java Doc)
protected String getUtf8OutputParameter()(Code)(Java Doc)
public int getWarnLevel()(Code)(Java Doc)
protected String getWarnLevelParameter()(Code)(Java Doc)
protected String getWin32IconParameter()(Code)(Java Doc)
public File getWin32Res()(Code)(Java Doc)
protected String getWin32ResParameter()(Code)(Java Doc)
protected static boolean isFileManagedBinary(File file)(Code)(Java Doc)
public boolean isUseResponseFile()(Code)(Java Doc)
protected boolean notEmpty(String s)(Code)(Java Doc)
public void setAdditionalModules(String params)(Code)(Java Doc)
public void setDebug(boolean f)(Code)(Java Doc)
public void setDestDir(File dirName)(Code)(Java Doc)
public void setExecutable(String executable)(Code)(Java Doc)
public void setExtraOptions(String extraOptions)(Code)(Java Doc)
public void setFailOnError(boolean b)(Code)(Java Doc)
public void setIncludeDefaultReferences(boolean f)(Code)(Java Doc)
public void setMainClass(String mainClass)(Code)(Java Doc)
public void setOptimize(boolean f)(Code)(Java Doc)
public void setReferenceFiles(Path path)(Code)(Java Doc)
public void setReferences(String s)(Code)(Java Doc)
public void setTargetType(TargetTypes targetType)(Code)(Java Doc)
public void setTargetType(String ttype) throws BuildException(Code)(Java Doc)
public void setUseResponseFile(boolean useResponseFile)(Code)(Java Doc)
public void setUtf8Output(boolean enabled)(Code)(Java Doc)
public void setWarnLevel(int warnLevel)(Code)(Java Doc)
public void setWin32Icon(File fileName)(Code)(Java Doc)
public void setWin32Res(File fileName)(Code)(Java Doc)
protected void validate() throws BuildException(Code)(Java Doc)

Fields inherited from org.apache.tools.ant.taskdefs.optional.dotnet.DotnetBaseMatchingTask
protected Vector filesets(Code)(Java Doc)
final protected static boolean isWindows(Code)(Java Doc)
protected File outputFile(Code)(Java Doc)
protected File srcDir(Code)(Java Doc)

Methods inherited from org.apache.tools.ant.taskdefs.optional.dotnet.DotnetBaseMatchingTask
protected void addFilesAndExecute(NetCommand command, boolean ignoreTimestamps)(Code)(Java Doc)
protected void addFilesToCommand(Hashtable filesToBuild, NetCommand command)(Code)(Java Doc)
public void addSrc(FileSet src)(Code)(Java Doc)
protected int buildFileList(NetCommand command, Hashtable filesToBuild, long outputTimestamp)(Code)(Java Doc)
public File getDestFile()(Code)(Java Doc)
protected long getOutputFileTimestamp()(Code)(Java Doc)
public File getSrcDir()(Code)(Java Doc)
public void setDestFile(File file)(Code)(Java Doc)
public void setSrcDir(File srcDirName)(Code)(Java Doc)

w___w___w_._j_av_a_2_s_.___c___o___m___ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.