Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Versions : Build with Gradle #118

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
gradle/wrapper/
gradlew
gradlew.bat

target
project/boot
project/target
*~
.settings/
.idea/
**/*.iml
**/.classpath
**/.factorypath
**/.gradle
**/.project
6 changes: 6 additions & 0 deletions .idea/ClojureProjectResolveSettings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

31 changes: 31 additions & 0 deletions .idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions .idea/encodings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions .idea/libraries/Maven__org_apiguardian_apiguardian_api_1_0_0.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions .idea/libraries/Maven__org_opentest4j_opentest4j_1_1_0.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .project
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,14 @@
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
<nature>org.maven.ide.eclipse.maven2Nature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.LGPL.header
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Copyright (c) 2009 Olivier Chafik, All Rights Reserved

This file is part of JNAerator (http://jnaerator.googlecode.com/).
This file is part of JNAerator (https://github.com/nativelibs4java/JNAerator).

JNAerator is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[JNAerator](http://jnaerator.googlecode.com) generates complete native bindings for C, C++ and Objective-C libraries, targetting [BridJ](http://github.com/ochafik/BridJ), [JNA](https://github.com/twall/jna) or [node.js](http://nodejs.org) runtimes.

A comprehensive documentation is available on its [Wiki](https://code.google.com/p/jnaerator/wiki/Documentation?tm=6).
A comprehensive documentation is available on its [Wiki](https://github.com/nativelibs4java/JNAerator/wiki).

It was previously hosted on [ochafik/nativelibs4java](http://github.com/ochafik/nativelibs4java).

Expand Down
23 changes: 23 additions & 0 deletions anarres/anarres-jnaerator.iml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_6">
<output url="file://$MODULE_DIR$/target/classes" />
<output-test url="file://$MODULE_DIR$/target/test-classes" />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/test/resources" type="java-test-resource" />
<sourceFolder url="file://$MODULE_DIR$/target/generated-sources/main" isTestSource="false" generated="true" />
<excludeFolder url="file://$MODULE_DIR$/target" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" scope="TEST" name="Maven: junit:junit:4.12" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.hamcrest:hamcrest-core:1.3" level="project" />
<orderEntry type="library" name="Maven: gnu.getopt:java-getopt:1.0.13" level="project" />
<orderEntry type="library" scope="PROVIDED" name="Maven: org.apache.ant:ant:1.8.2" level="project" />
<orderEntry type="library" scope="PROVIDED" name="Maven: org.apache.ant:ant-launcher:1.8.2" level="project" />
<orderEntry type="library" name="Maven: commons-collections:commons-collections:3.2.1" level="project" />
</component>
</module>
2 changes: 1 addition & 1 deletion anarres/lib/findbugs/xsl/fancy-hist.xsl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8" ?>
<?xml version="1.0" encoding="UTF-8" ?>
<!--
Copyright (C) 2005, 2006 Etienne Giraudy, InStranet Inc
Copyright (C) 2005, 2007 Etienne Giraudy
Expand Down
2 changes: 1 addition & 1 deletion anarres/lib/findbugs/xsl/fancy.xsl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8" ?>
<?xml version="1.0" encoding="UTF-8" ?>
<!--
Copyright (C) 2005, 2006 Etienne Giraudy, InStranet Inc

Expand Down
12 changes: 9 additions & 3 deletions anarres/src/main/java/org/anarres/cpp/CppReader.java
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public CppReader(Preprocessor p) {
}

/**
* Returns the Preprocessor used by this CppReader.
* @return the Preprocessor used by this CppReader.
*/
public Preprocessor getPreprocessor() {
return cpp;
Expand All @@ -66,7 +66,9 @@ public Preprocessor getPreprocessor() {
/**
* Defines the given name as a macro.
*
* This is a convnience method.
* This is a convenience method.
* @param name the macro name
* @throws LexerException TODO
*/
public void addMacro(String name)
throws LexerException {
Expand All @@ -76,7 +78,11 @@ public void addMacro(String name)
/**
* Defines the given name as a macro.
*
* This is a convnience method.
* This is a convenience method.
*
* @param name the macro name
* @param value TODO
* @throws LexerException TODO
*/
public void addMacro(String name, String value)
throws LexerException {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Copyright (c) 2009-2011 Olivier Chafik, All Rights Reserved

This file is part of JNAerator (http://jnaerator.googlecode.com/).
This file is part of JNAerator (https://github.com/nativelibs4java/JNAerator).

JNAerator is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
4 changes: 4 additions & 0 deletions anarres/src/main/java/org/anarres/cpp/FileLexerSource.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ public class FileLexerSource extends LexerSource {
* Creates a new Source for lexing the given File.
*
* Preprocessor directives are honoured within the file.
*
* @param file the file to lex
* @param path TODO
* @throws IOException TODO
*/
public FileLexerSource(File file, String path)
throws IOException {
Expand Down
12 changes: 9 additions & 3 deletions anarres/src/main/java/org/anarres/cpp/InputLexerSource.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ public class InputLexerSource extends LexerSource {
* Creates a new Source for lexing the given Reader.
*
* Preprocessor directives are honoured within the file.
* @param input the input stream to lex
* @throws IOException TODO
*/
public InputLexerSource(InputStream input)
throws IOException {
Expand All @@ -52,14 +54,18 @@ public InputLexerSource(InputStream input)
);
}

/**
* @return the standard input path
*/
@Override
/* pp */
public String getPath() {
return "<standard-input>";
}

/**
* @return the standard input name
*/
@Override
/* pp */ String getName() {
String getName() {
return "standard input";
}

Expand Down
Loading