Skip to content

Commit

Permalink
[docs] Add legal notice section in all documentation pages.
Browse files Browse the repository at this point in the history
Signed-off-by: Stéphane Galland <galland@arakhne.org>
  • Loading branch information
gallandarakhneorg committed Nov 15, 2016
1 parent e70fb82 commit 6630691
Show file tree
Hide file tree
Showing 21 changed files with 351 additions and 9 deletions.
Expand Up @@ -370,4 +370,33 @@ describe "General FAQ on SARL" {

}


/* Specification: SARL General-purpose Agent-Oriented Programming Language ("Specification")<br/>
* Version: %sarlspecversion%<br/>
* Status: %sarlspecreleasestatus%<br/>
* Release: %sarlspecreleasedate%
*
*
* <p>Copyright &copy; %copyrightdate% %copyrighters%.
*
* <p>Licensed under the Apache License, Version 2.0;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the [License](http://www.apache.org/licenses/LICENSE-2.0).
*
* @filter(.*)
*/
fact "Legal Notice" {
// The checks are valid only if the macro replacements were done.
// The replacements are done by Maven.
// So, Eclipse Junit tools do not make the replacements.
System.getProperty("sun.java.command", "").startsWith("org.eclipse.jdt.internal.junit.").assumeFalse
//
"%sarlversion%" should startWith "%sarlspecversion%"
("%sarlspecreleasestatus%" == "Stable Release"
|| "%sarlspecreleasestatus%" == "Draft Release") should be true
"%sarlspecreleasedate%" should beDate "YYYY-mm-dd"
"%copyrightdate%" should beNumber "0000";
("%copyrighters%".empty || "%copyrighters%".startsWith("%")) should be false
}

}
Expand Up @@ -317,4 +317,32 @@ describe "Runtime Environment FAQ" {

}

/* Specification: SARL General-purpose Agent-Oriented Programming Language ("Specification")<br/>
* Version: %sarlspecversion%<br/>
* Status: %sarlspecreleasestatus%<br/>
* Release: %sarlspecreleasedate%
*
*
* <p>Copyright &copy; %copyrightdate% %copyrighters%.
*
* <p>Licensed under the Apache License, Version 2.0;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the [License](http://www.apache.org/licenses/LICENSE-2.0).
*
* @filter(.*)
*/
fact "Legal Notice" {
// The checks are valid only if the macro replacements were done.
// The replacements are done by Maven.
// So, Eclipse Junit tools do not make the replacements.
System.getProperty("sun.java.command", "").startsWith("org.eclipse.jdt.internal.junit.").assumeFalse
//
"%sarlversion%" should startWith "%sarlspecversion%"
("%sarlspecreleasestatus%" == "Stable Release"
|| "%sarlspecreleasestatus%" == "Draft Release") should be true
"%sarlspecreleasedate%" should beDate "YYYY-mm-dd"
"%copyrightdate%" should beNumber "0000";
("%copyrighters%".empty || "%copyrighters%".startsWith("%")) should be false
}

}
Expand Up @@ -25,6 +25,9 @@ import io.sarl.docs.utils.SARLParser
import io.sarl.docs.utils.SARLSpecCreator
import org.jnario.runner.CreateWith

import static extension io.sarl.docs.utils.SpecificationTools.*
import static extension org.junit.Assume.assumeFalse

/*
* @outline
*/
Expand Down Expand Up @@ -249,4 +252,32 @@ describe "SARL Syntax FAQ" {

}

/* Specification: SARL General-purpose Agent-Oriented Programming Language ("Specification")<br/>
* Version: %sarlspecversion%<br/>
* Status: %sarlspecreleasestatus%<br/>
* Release: %sarlspecreleasedate%
*
*
* <p>Copyright &copy; %copyrightdate% %copyrighters%.
*
* <p>Licensed under the Apache License, Version 2.0;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the [License](http://www.apache.org/licenses/LICENSE-2.0).
*
* @filter(.*)
*/
fact "Legal Notice" {
// The checks are valid only if the macro replacements were done.
// The replacements are done by Maven.
// So, Eclipse Junit tools do not make the replacements.
System.getProperty("sun.java.command", "").startsWith("org.eclipse.jdt.internal.junit.").assumeFalse
//
"%sarlversion%" should startWith "%sarlspecversion%"
("%sarlspecreleasestatus%" == "Stable Release"
|| "%sarlspecreleasestatus%" == "Draft Release") should be true
"%sarlspecreleasedate%" should beDate "YYYY-mm-dd"
"%copyrightdate%" should beNumber "0000";
("%copyrighters%".empty || "%copyrighters%".startsWith("%")) should be false
}

}
Expand Up @@ -29,6 +29,7 @@ import org.eclipse.xtext.xbase.XBlockExpression
import org.jnario.runner.CreateWith

import static extension io.sarl.docs.utils.SpecificationTools.*
import static extension org.junit.Assume.assumeFalse

/**
* @outline
Expand Down Expand Up @@ -478,4 +479,32 @@ describe "Agent Definition Introduction" {
"RunSARLAgentInTheEclipseIDESpec.html" should beAccessibleFrom this
}

/* Specification: SARL General-purpose Agent-Oriented Programming Language ("Specification")<br/>
* Version: %sarlspecversion%<br/>
* Status: %sarlspecreleasestatus%<br/>
* Release: %sarlspecreleasedate%
*
*
* <p>Copyright &copy; %copyrightdate% %copyrighters%.
*
* <p>Licensed under the Apache License, Version 2.0;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the [License](http://www.apache.org/licenses/LICENSE-2.0).
*
* @filter(.*)
*/
fact "Legal Notice" {
// The checks are valid only if the macro replacements were done.
// The replacements are done by Maven.
// So, Eclipse Junit tools do not make the replacements.
System.getProperty("sun.java.command", "").startsWith("org.eclipse.jdt.internal.junit.").assumeFalse
//
"%sarlversion%" should startWith "%sarlspecversion%"
("%sarlspecreleasestatus%" == "Stable Release"
|| "%sarlspecreleasestatus%" == "Draft Release") should be true
"%sarlspecreleasedate%" should beDate "YYYY-mm-dd"
"%copyrightdate%" should beNumber "0000";
("%copyrighters%".empty || "%copyrighters%".startsWith("%")) should be false
}

}
Expand Up @@ -272,4 +272,32 @@ describe "Create First Project" {
"AgentDefinitionIntroductionSpec.html" should beAccessibleFrom this
}

/* Specification: SARL General-purpose Agent-Oriented Programming Language ("Specification")<br/>
* Version: %sarlspecversion%<br/>
* Status: %sarlspecreleasestatus%<br/>
* Release: %sarlspecreleasedate%
*
*
* <p>Copyright &copy; %copyrightdate% %copyrighters%.
*
* <p>Licensed under the Apache License, Version 2.0;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the [License](http://www.apache.org/licenses/LICENSE-2.0).
*
* @filter(.*)
*/
fact "Legal Notice" {
// The checks are valid only if the macro replacements were done.
// The replacements are done by Maven.
// So, Eclipse Junit tools do not make the replacements.
System.getProperty("sun.java.command", "").startsWith("org.eclipse.jdt.internal.junit.").assumeFalse
//
"%sarlversion%" should startWith "%sarlspecversion%"
("%sarlspecreleasestatus%" == "Stable Release"
|| "%sarlspecreleasestatus%" == "Draft Release") should be true
"%sarlspecreleasedate%" should beDate "YYYY-mm-dd"
"%copyrightdate%" should beNumber "0000";
("%copyrighters%".empty || "%copyrighters%".startsWith("%")) should be false
}

}
Expand Up @@ -62,4 +62,32 @@ describe "Install SARL Tools" {
"CreateFirstProjectSpec.html" should beAccessibleFrom this
}

/* Specification: SARL General-purpose Agent-Oriented Programming Language ("Specification")<br/>
* Version: %sarlspecversion%<br/>
* Status: %sarlspecreleasestatus%<br/>
* Release: %sarlspecreleasedate%
*
*
* <p>Copyright &copy; %copyrightdate% %copyrighters%.
*
* <p>Licensed under the Apache License, Version 2.0;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the [License](http://www.apache.org/licenses/LICENSE-2.0).
*
* @filter(.*)
*/
fact "Legal Notice" {
// The checks are valid only if the macro replacements were done.
// The replacements are done by Maven.
// So, Eclipse Junit tools do not make the replacements.
System.getProperty("sun.java.command", "").startsWith("org.eclipse.jdt.internal.junit.").assumeFalse
//
"%sarlversion%" should startWith "%sarlspecversion%"
("%sarlspecreleasestatus%" == "Stable Release"
|| "%sarlspecreleasestatus%" == "Draft Release") should be true
"%sarlspecreleasedate%" should beDate "YYYY-mm-dd"
"%copyrightdate%" should beNumber "0000";
("%copyrighters%".empty || "%copyrighters%".startsWith("%")) should be false
}

}
Expand Up @@ -236,4 +236,32 @@ describe "Run SARL Agent from the Command Line" {
"./RunSARLAgentFromAJavaProgramSpec.html" should beAccessibleFrom this
}

/* Specification: SARL General-purpose Agent-Oriented Programming Language ("Specification")<br/>
* Version: %sarlspecversion%<br/>
* Status: %sarlspecreleasestatus%<br/>
* Release: %sarlspecreleasedate%
*
*
* <p>Copyright &copy; %copyrightdate% %copyrighters%.
*
* <p>Licensed under the Apache License, Version 2.0;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the [License](http://www.apache.org/licenses/LICENSE-2.0).
*
* @filter(.*)
*/
fact "Legal Notice" {
// The checks are valid only if the macro replacements were done.
// The replacements are done by Maven.
// So, Eclipse Junit tools do not make the replacements.
System.getProperty("sun.java.command", "").startsWith("org.eclipse.jdt.internal.junit.").assumeFalse
//
"%sarlversion%" should startWith "%sarlspecversion%"
("%sarlspecreleasestatus%" == "Stable Release"
|| "%sarlspecreleasestatus%" == "Draft Release") should be true
"%sarlspecreleasedate%" should beDate "YYYY-mm-dd"
"%copyrightdate%" should beNumber "0000";
("%copyrighters%".empty || "%copyrighters%".startsWith("%")) should be false
}

}
Expand Up @@ -303,4 +303,32 @@ describe "Run SARL Agent in the Eclipse IDE" {
"RunSARLAgentFromTheCommandLineSpec.html" should beAccessibleFrom this
}

/* Specification: SARL General-purpose Agent-Oriented Programming Language ("Specification")<br/>
* Version: %sarlspecversion%<br/>
* Status: %sarlspecreleasestatus%<br/>
* Release: %sarlspecreleasedate%
*
*
* <p>Copyright &copy; %copyrightdate% %copyrighters%.
*
* <p>Licensed under the Apache License, Version 2.0;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the [License](http://www.apache.org/licenses/LICENSE-2.0).
*
* @filter(.*)
*/
fact "Legal Notice" {
// The checks are valid only if the macro replacements were done.
// The replacements are done by Maven.
// So, Eclipse Junit tools do not make the replacements.
System.getProperty("sun.java.command", "").startsWith("org.eclipse.jdt.internal.junit.").assumeFalse
//
"%sarlversion%" should startWith "%sarlspecversion%"
("%sarlspecreleasestatus%" == "Stable Release"
|| "%sarlspecreleasestatus%" == "Draft Release") should be true
"%sarlspecreleasedate%" should beDate "YYYY-mm-dd"
"%copyrightdate%" should beNumber "0000";
("%copyrighters%".empty || "%copyrighters%".startsWith("%")) should be false
}

}
Expand Up @@ -26,6 +26,7 @@ import io.sarl.docs.utils.SARLSpecCreator
import org.jnario.runner.CreateWith

import static extension io.sarl.docs.utils.SpecificationTools.*
import static extension org.junit.Assume.assumeFalse

/* @outline
*
Expand Down Expand Up @@ -127,4 +128,32 @@ describe "Run SARL Agent from a Java Program" {
"../SARLDocumentationSuite.html" should beAccessibleFrom this
}

/* Specification: SARL General-purpose Agent-Oriented Programming Language ("Specification")<br/>
* Version: %sarlspecversion%<br/>
* Status: %sarlspecreleasestatus%<br/>
* Release: %sarlspecreleasedate%
*
*
* <p>Copyright &copy; %copyrightdate% %copyrighters%.
*
* <p>Licensed under the Apache License, Version 2.0;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the [License](http://www.apache.org/licenses/LICENSE-2.0).
*
* @filter(.*)
*/
fact "Legal Notice" {
// The checks are valid only if the macro replacements were done.
// The replacements are done by Maven.
// So, Eclipse Junit tools do not make the replacements.
System.getProperty("sun.java.command", "").startsWith("org.eclipse.jdt.internal.junit.").assumeFalse
//
"%sarlversion%" should startWith "%sarlspecversion%"
("%sarlspecreleasestatus%" == "Stable Release"
|| "%sarlspecreleasestatus%" == "Draft Release") should be true
"%sarlspecreleasedate%" should beDate "YYYY-mm-dd"
"%copyrightdate%" should beNumber "0000";
("%copyrighters%".empty || "%copyrighters%".startsWith("%")) should be false
}

}
Expand Up @@ -1483,7 +1483,7 @@ describe "Agent Reference"{
* Release: %sarlspecreleasedate%
*
*
* <p>Copyright &copy; %copyrightdate% %copyrighters%. All rights reserved.
* <p>Copyright &copy; %copyrightdate% %copyrighters%.
*
* <p>Licensed under the Apache License, Version 2.0;
* you may not use this file except in compliance with the License.
Expand Down
Expand Up @@ -1392,7 +1392,7 @@ describe "Built-in Capacity Reference" {
* Release: %sarlspecreleasedate%
*
*
* <p>Copyright &copy; %copyrightdate% %copyrighters%. All rights reserved.
* <p>Copyright &copy; %copyrightdate% %copyrighters%.
*
* <p>Licensed under the Apache License, Version 2.0;
* you may not use this file except in compliance with the License.
Expand Down
Expand Up @@ -893,7 +893,7 @@ describe "Behavior Reference" {
* Release: %sarlspecreleasedate%
*
*
* <p>Copyright &copy; %copyrightdate% %copyrighters%. All rights reserved.
* <p>Copyright &copy; %copyrightdate% %copyrighters%.
*
* <p>Licensed under the Apache License, Version 2.0;
* you may not use this file except in compliance with the License.
Expand Down
Expand Up @@ -391,7 +391,7 @@ describe "Capacity Reference"{
* Release: %sarlspecreleasedate%
*
*
* <p>Copyright &copy; %copyrightdate% %copyrighters%. All rights reserved.
* <p>Copyright &copy; %copyrightdate% %copyrighters%.
*
* <p>Licensed under the Apache License, Version 2.0;
* you may not use this file except in compliance with the License.
Expand Down
Expand Up @@ -496,7 +496,7 @@ describe "Event Reference"{
* Release: %sarlspecreleasedate%
*
*
* <p>Copyright &copy; %copyrightdate% %copyrighters%. All rights reserved.
* <p>Copyright &copy; %copyrightdate% %copyrighters%.
*
* <p>Licensed under the Apache License, Version 2.0;
* you may not use this file except in compliance with the License.
Expand Down
Expand Up @@ -4324,7 +4324,7 @@ describe "General Syntax Reference" {
* Release: %sarlspecreleasedate%
*
*
* <p>Copyright &copy; %copyrightdate% %copyrighters%. All rights reserved.
* <p>Copyright &copy; %copyrightdate% %copyrighters%.
*
* <p>Licensed under the Apache License, Version 2.0;
* you may not use this file except in compliance with the License.
Expand Down
Expand Up @@ -1808,7 +1808,7 @@ describe "Basic Object-Oriented Programming Support" {
* Release: %sarlspecreleasedate%
*
*
* <p>Copyright &copy; %copyrightdate% %copyrighters%. All rights reserved.
* <p>Copyright &copy; %copyrightdate% %copyrighters%.
*
* <p>Licensed under the Apache License, Version 2.0;
* you may not use this file except in compliance with the License.
Expand Down
Expand Up @@ -933,7 +933,7 @@ describe "Skill Reference" {
* Release: %sarlspecreleasedate%
*
*
* <p>Copyright &copy; %copyrightdate% %copyrighters%. All rights reserved.
* <p>Copyright &copy; %copyrightdate% %copyrighters%.
*
* <p>Licensed under the Apache License, Version 2.0;
* you may not use this file except in compliance with the License.
Expand Down

0 comments on commit 6630691

Please sign in to comment.