public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo commit in xml/htdocs/proj/en/java: java-devel.xml
@ 2007-12-28 16:38 Petteri Raty (betelgeuse)
  0 siblings, 0 replies; 13+ messages in thread
From: Petteri Raty (betelgeuse) @ 2007-12-28 16:38 UTC (permalink / raw
  To: gentoo-commits

betelgeuse    07/12/28 16:38:53

  Modified:             java-devel.xml
  Log:
  Change jarfrom to jar-from.

Revision  Changes    Path
1.28                 xml/htdocs/proj/en/java/java-devel.xml

file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/java/java-devel.xml?rev=1.28&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/java/java-devel.xml?rev=1.28&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/java/java-devel.xml?r1=1.27&r2=1.28

Index: java-devel.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/java/java-devel.xml,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- java-devel.xml	3 Sep 2007 22:19:44 -0000	1.27
+++ java-devel.xml	28 Dec 2007 16:38:52 -0000	1.28
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/java/java-devel.xml,v 1.27 2007/09/03 22:19:44 wltjr Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/java/java-devel.xml,v 1.28 2007/12/28 16:38:52 betelgeuse Exp $ -->
 
 <guide link="/doc/en/java-devel.xml">
 <title>Gentoo Java Packaging Guide</title>
@@ -777,7 +777,7 @@
 <body>
 
 <ul>
-  <li><c>java-pkg_jarfrom</c>
+  <li><c>java-pkg_jar-from</c>
   <ul>
     <li>Creates symlinks to the jars of a package in the cwd</li>
     <li>Can be called with



-- 
gentoo-commits@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 13+ messages in thread

* [gentoo-commits] gentoo commit in xml/htdocs/proj/en/java: java-devel.xml
@ 2008-01-18 16:31 Jean-Noel Rivasseau (elvanor)
  0 siblings, 0 replies; 13+ messages in thread
From: Jean-Noel Rivasseau (elvanor) @ 2008-01-18 16:31 UTC (permalink / raw
  To: gentoo-commits

elvanor     08/01/18 16:31:21

  Modified:             java-devel.xml
  Log:
  Updated Java developer documentation with respect to java-osgi.eclass. Bug #205795.

Revision  Changes    Path
1.29                 xml/htdocs/proj/en/java/java-devel.xml

file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/java/java-devel.xml?rev=1.29&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/java/java-devel.xml?rev=1.29&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/java/java-devel.xml?r1=1.28&r2=1.29

Index: java-devel.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/java/java-devel.xml,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- java-devel.xml	28 Dec 2007 16:38:52 -0000	1.28
+++ java-devel.xml	18 Jan 2008 16:31:20 -0000	1.29
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/java/java-devel.xml,v 1.28 2007/12/28 16:38:52 betelgeuse Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/java/java-devel.xml,v 1.29 2008/01/18 16:31:20 elvanor Exp $ -->
 
 <guide link="/doc/en/java-devel.xml">
 <title>Gentoo Java Packaging Guide</title>
@@ -25,8 +25,8 @@
 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
 <license/>
 
-<version>1.0.4</version>
-<date>2007-09-03</date>
+<version>1.0.5</version>
+<date>2008-01-18</date>
 
 <chapter>
 <title>Background</title>
@@ -462,7 +462,7 @@
 <body>
 
 <p>
-Currently there are four Java related eclasses.
+Currently there are six Java related eclasses.
 </p>
 
 <table>
@@ -492,6 +492,10 @@
   <ti><uri link="#java-vm-2.eclass">java-vm-2.eclass</uri></ti>
   <ti>Helper functions for packages that provide a VM</ti>
 </tr>
+<tr>
+	<ti><uri link="#java-osgi.eclass">java-osgi.eclass</uri></ti>
+	<ti>Helper functions for packages that need to be OSGi compliant (special manifest inside the jar)</ti>
+</tr>
 </table>
 
 </body>
@@ -608,6 +612,89 @@
 
 </body>
 </section>
+
+<section id="java-osgi.eclass">
+	<title>java-osgi.eclass</title>
+	<body>
+		
+		<p>
+			You should inherit this eclass when your package needs to be OSGi compliant. This eclass contains functions similar to those those in java-utils-2, but that creates a jar containing a manifest with special values. This manifest will allow the jar to be used as an OSGi bundle in applications based on OSGi, for example Eclipse.
+		</p>
+		<p>
+			If a package is using this eclass, it means that another Gentoo package based on OSGi needs it. Thus, version bumps of the package should still use the install functions on this eclass.
+		</p>
+		<p>
+			Some of the functions in this eclass requests a Manifest file. In this case, be careful about the file you provide. The best is usually to copy the Manifest from a safe source, eg. from Eclipse's bundled jars for example. Note that upstream Eclipse creates those files manually.
+		</p>
+		
+		<ul>
+			<li><c>java-osgi_dojar</c>
+				<ul>
+					<li>
+						Similar to java-pkg_dojar. Installs a jar, and records it in the package env. Make sure the jar name does not contain a version. The manifest in the jar will be filled with headers populated from the arguments given to this function.
+					</li>
+					<li>Takes four parameters:
+						<ul>
+							<li>path to the jar (like in java-pkg_dojar)</li>
+							<li>bundle symbolic name</li>
+							<li>bundle name</li>
+							<li>export-package-header. This is the most important thing, you must provide a valid OSGi export header. Refer to the OSGi documentation for help with this</li>
+     					</ul>
+					</li>
+				</ul>
+			</li>
+			<li><c>java-osgi_newjar</c>
+				<ul>
+					<li>
+						Similar to java-pkg_newjar. Use this if you need to rename the jar. The manifest in the jar will be filled with headers populated from the arguments given to this function.
+					</li>
+					<li>Takes four or five parameters:
+						<ul>
+							<li>path to the jar (like in java-pkg_newjar)</li>
+							<li>(Optional) name of the renamed jar. If absent, it will be ${PN}.jar</li>
+							<li>bundle symbolic name</li>
+							<li>bundle name</li>
+							<li>export-package-header. This is the most important thing, you must provide a valid OSGi export header. Refer to the OSGi documentation for help with this</li>
+						</ul>
+					</li>
+				</ul>
+			</li>			
+			<li><c>java-osgi_dojar-fromfile</c>
+				<ul>
+					<li>
+						Similar to java-osgi_dojar, except that instead of creating the manifest from the given arguments, it takes a path to a Manifest file.
+					</li>
+					<li>Takes three or four parameters:
+						<ul>
+							<li>(Optional) --no-auto-version. This option disables automatic rewriting of the version in the Manifest file. If not present, the Gentoo package version will be written to the Manifest</li>
+							<li>path to the jar</li>
+							<li>path to the Manifest file</li>
+							<li>bundle name</li>
+						</ul>
+					</li>
+				</ul>
+			</li>
+			<li><c>java-osgi_newjar-fromfile</c>
+				<ul>
+					<li>
+						Similar to java-osgi_newjar, except that instead of creating the manifest from the given arguments, it takes a path to a Manifest file.
+					</li>
+					<li>Takes from three to five parameters:
+						<ul>
+							<li>(Optional) --no-auto-version. This option disables automatic rewriting of the version in the Manifest file. If not present, the Gentoo package version will be written to the Manifest</li>
+							<li>path to the jar</li>
+							<li>(Optional) name of the renamed jar. If absent, it will be ${PN}.jar</li>
+							<li>path to the Manifest file</li>
+							<li>bundle name</li>
+						</ul>
+					</li>
+				</ul>
+			</li>
+		</ul>
+		
+	</body>
+</section>
+
 </chapter>
 
 <chapter id="java-utils-2.eclass">
@@ -670,13 +757,8 @@
   </li>
   <li><c>java-pkg_dohtml</c>
   <ul>
-    <li>
-      Installs html documentation. For compatibility with old ebuilds it automatically
-      detects if the arguments contain javadocs and installs them to the standard
-      javadoc locations. New ebuilds however should use java-pkg_dojavadoc.
+    <li>Deprecated, use dohtml now.
     </li>
-    <li>Takes one or more paths to a documentation</li>
-    <li>will not die on errors</li>
   </ul>
   </li>
   <li><c>java-pkg_dojavadoc</c>



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 13+ messages in thread

* [gentoo-commits] gentoo commit in xml/htdocs/proj/en/java: java-devel.xml
@ 2008-01-18 20:06 Petteri Raty (betelgeuse)
  0 siblings, 0 replies; 13+ messages in thread
From: Petteri Raty (betelgeuse) @ 2008-01-18 20:06 UTC (permalink / raw
  To: gentoo-commits

betelgeuse    08/01/18 20:06:16

  Modified:             java-devel.xml
  Log:
  Grammar fixes.

Revision  Changes    Path
1.30                 xml/htdocs/proj/en/java/java-devel.xml

file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/java/java-devel.xml?rev=1.30&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/java/java-devel.xml?rev=1.30&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/java/java-devel.xml?r1=1.29&r2=1.30

Index: java-devel.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/java/java-devel.xml,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- java-devel.xml	18 Jan 2008 16:31:20 -0000	1.29
+++ java-devel.xml	18 Jan 2008 20:06:15 -0000	1.30
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/java/java-devel.xml,v 1.29 2008/01/18 16:31:20 elvanor Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/java/java-devel.xml,v 1.30 2008/01/18 20:06:15 betelgeuse Exp $ -->
 
 <guide link="/doc/en/java-devel.xml">
 <title>Gentoo Java Packaging Guide</title>
@@ -618,13 +618,13 @@
 	<body>
 		
 		<p>
-			You should inherit this eclass when your package needs to be OSGi compliant. This eclass contains functions similar to those those in java-utils-2, but that creates a jar containing a manifest with special values. This manifest will allow the jar to be used as an OSGi bundle in applications based on OSGi, for example Eclipse.
+			You should inherit this eclass when your package needs to be OSGi compliant. This eclass contains functions similar to those those in java-utils-2, but that create a jar containing a manifest with special values. This manifest will allow the jar to be used as an OSGi bundle in applications based on OSGi, for example Eclipse.
 		</p>
 		<p>
-			If a package is using this eclass, it means that another Gentoo package based on OSGi needs it. Thus, version bumps of the package should still use the install functions on this eclass.
+			If a package is using this eclass, it means that another Gentoo package based on OSGi needs it. Thus, version bumps of the package should still use the install functions from this eclass.
 		</p>
 		<p>
-			Some of the functions in this eclass requests a Manifest file. In this case, be careful about the file you provide. The best is usually to copy the Manifest from a safe source, eg. from Eclipse's bundled jars for example. Note that upstream Eclipse creates those files manually.
+			Some of the functions in this eclass request a Manifest file. In this case, be careful about the file you provide. It's usually best to copy the Manifest from a safe source, eg. from Eclipse's bundled jars for example. Note that upstream Eclipse creates those files manually.
 		</p>
 		
 		<ul>
@@ -638,7 +638,7 @@
 							<li>path to the jar (like in java-pkg_dojar)</li>
 							<li>bundle symbolic name</li>
 							<li>bundle name</li>
-							<li>export-package-header. This is the most important thing, you must provide a valid OSGi export header. Refer to the OSGi documentation for help with this</li>
+							<li>export-package-header. This is the most important thing, you must provide a valid OSGi export header. Refer to the OSGi documentation for help with this.</li>
      					</ul>
 					</li>
 				</ul>
@@ -654,7 +654,7 @@
 							<li>(Optional) name of the renamed jar. If absent, it will be ${PN}.jar</li>
 							<li>bundle symbolic name</li>
 							<li>bundle name</li>
-							<li>export-package-header. This is the most important thing, you must provide a valid OSGi export header. Refer to the OSGi documentation for help with this</li>
+							<li>export-package-header. This is the most important thing, you must provide a valid OSGi export header. Refer to the OSGi documentation for help with this.</li>
 						</ul>
 					</li>
 				</ul>
@@ -666,7 +666,7 @@
 					</li>
 					<li>Takes three or four parameters:
 						<ul>
-							<li>(Optional) --no-auto-version. This option disables automatic rewriting of the version in the Manifest file. If not present, the Gentoo package version will be written to the Manifest</li>
+							<li>(Optional) --no-auto-version. This option disables automatic rewriting of the version in the Manifest file. If not present, the Gentoo package version will be written to the Manifest.</li>
 							<li>path to the jar</li>
 							<li>path to the Manifest file</li>
 							<li>bundle name</li>
@@ -681,7 +681,7 @@
 					</li>
 					<li>Takes from three to five parameters:
 						<ul>
-							<li>(Optional) --no-auto-version. This option disables automatic rewriting of the version in the Manifest file. If not present, the Gentoo package version will be written to the Manifest</li>
+							<li>(Optional) --no-auto-version. This option disables automatic rewriting of the version in the Manifest file. If not present, the Gentoo package version will be written to the Manifest.</li>
 							<li>path to the jar</li>
 							<li>(Optional) name of the renamed jar. If absent, it will be ${PN}.jar</li>
 							<li>path to the Manifest file</li>



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 13+ messages in thread

* [gentoo-commits] gentoo commit in xml/htdocs/proj/en/java: java-devel.xml
@ 2008-01-19  5:28 Alistair Bush (ali_bush)
  0 siblings, 0 replies; 13+ messages in thread
From: Alistair Bush (ali_bush) @ 2008-01-19  5:28 UTC (permalink / raw
  To: gentoo-commits

ali_bush    08/01/19 05:28:33

  Modified:             java-devel.xml
  Log:
  Removing another reference to depreciated java-pkg_dohtml.

Revision  Changes    Path
1.32                 xml/htdocs/proj/en/java/java-devel.xml

file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/java/java-devel.xml?rev=1.32&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/java/java-devel.xml?rev=1.32&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/java/java-devel.xml?r1=1.31&r2=1.32

Index: java-devel.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/java/java-devel.xml,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- java-devel.xml	18 Jan 2008 22:43:30 -0000	1.31
+++ java-devel.xml	19 Jan 2008 05:28:33 -0000	1.32
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/java/java-devel.xml,v 1.31 2008/01/18 22:43:30 caster Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/java/java-devel.xml,v 1.32 2008/01/19 05:28:33 ali_bush Exp $ -->
 
 <guide link="/doc/en/java-devel.xml">
 <title>Gentoo Java Packaging Guide</title>
@@ -328,7 +328,7 @@
 <body>
 
 <p>
-If a manual or other extensive documentation is available, it should be installed using the doc USE flag.  If the build system can, you should build javadocs also using the <c>doc</c> USE flag. If it does not, you should consider patching it to do so, and provide the patch upstream. HTML documentation should be installed using <uri link="#func_install">java-pkg_dohtml</uri> and javadocs using <uri link="#func_install">java-pkg_dojavadoc</uri>.
+	If a manual or other extensive documentation is available, it should be installed using the doc USE flag.  If the build system can, you should build javadocs also using the <c>doc</c> USE flag. If it does not, you should consider patching it to do so, and provide the patch upstream. HTML documentation should be installed using <uri link="http://devmanual.gentoo.org/function-reference/install-functions/index.html">dohtml</uri> and javadocs using <uri link="#func_install">java-pkg_dojavadoc</uri>.
 </p>
 
 <p>



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 13+ messages in thread

* [gentoo-commits] gentoo commit in xml/htdocs/proj/en/java: java-devel.xml
@ 2008-02-13 17:57 Petteri Raty (betelgeuse)
  0 siblings, 0 replies; 13+ messages in thread
From: Petteri Raty (betelgeuse) @ 2008-02-13 17:57 UTC (permalink / raw
  To: gentoo-commits

betelgeuse    08/02/13 17:57:32

  Modified:             java-devel.xml
  Log:
  Use EAPI=1 and slot deps in the example ebuild.

Revision  Changes    Path
1.33                 xml/htdocs/proj/en/java/java-devel.xml

file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/java/java-devel.xml?rev=1.33&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/java/java-devel.xml?rev=1.33&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/java/java-devel.xml?r1=1.32&r2=1.33

Index: java-devel.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/java/java-devel.xml,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- java-devel.xml	19 Jan 2008 05:28:33 -0000	1.32
+++ java-devel.xml	13 Feb 2008 17:57:32 -0000	1.33
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/java/java-devel.xml,v 1.32 2008/01/19 05:28:33 ali_bush Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/java/java-devel.xml,v 1.33 2008/02/13 17:57:32 betelgeuse Exp $ -->
 
 <guide link="/doc/en/java-devel.xml">
 <title>Gentoo Java Packaging Guide</title>
@@ -362,6 +362,7 @@
 
 <pre caption="Example: Pure java package">
 
+EAPI=1
 JAVA_PKG_IUSE="doc examples source"
 
 inherit eutils java-pkg-2 java-ant-2
@@ -376,7 +377,7 @@
 IUSE=""
 
 COMMON_DEP="
-        =dev-java/xerces-2*
+        dev-java/xerces:2
         >=dev-java/log4j-1.2.8"
 
 RDEPEND=">=virtual/jre-1.4



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 13+ messages in thread

* [gentoo-commits] gentoo commit in xml/htdocs/proj/en/java: java-devel.xml
@ 2008-04-28 21:58 Petteri Raty (betelgeuse)
  0 siblings, 0 replies; 13+ messages in thread
From: Petteri Raty (betelgeuse) @ 2008-04-28 21:58 UTC (permalink / raw
  To: gentoo-commits

betelgeuse    08/04/28 21:58:01

  Modified:             java-devel.xml
  Log:
  Document java-pkg_register-dependency and java-pkg_register-optional-dependency. Fixes bug #217731.

Revision  Changes    Path
1.34                 xml/htdocs/proj/en/java/java-devel.xml

file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/java/java-devel.xml?rev=1.34&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/java/java-devel.xml?rev=1.34&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/java/java-devel.xml?r1=1.33&r2=1.34

Index: java-devel.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/java/java-devel.xml,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- java-devel.xml	13 Feb 2008 17:57:32 -0000	1.33
+++ java-devel.xml	28 Apr 2008 21:58:00 -0000	1.34
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/java/java-devel.xml,v 1.33 2008/02/13 17:57:32 betelgeuse Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/java/java-devel.xml,v 1.34 2008/04/28 21:58:00 betelgeuse Exp $ -->
 
 <guide link="/doc/en/java-devel.xml">
 <title>Gentoo Java Packaging Guide</title>
@@ -973,6 +973,19 @@
     <li>Takes a version: 1.4 1.5</li>
   </ul>
   </li>
+  <li><c>java-pkg_register-dependency</c>
+  <ul>
+    <li>Register runtime dependency on a package</li>
+    <li>Useful for binary packages and things loaded by custom classloading</li>
+    <li>Takes a package list: xerces-2,xalan</li>
+    <li>Or one jar from a package: ant-core ant.jar</li>
+  </ul>
+  </li>
+  <li><c>java-pkg_register-optional-dependency</c>
+  <ul>
+    <li>Same as register-dependency but the package is not expected to be installed at runtime</li>
+  </ul>
+  </li>
 </ul>
 
 </body>



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 13+ messages in thread

* [gentoo-commits] gentoo commit in xml/htdocs/proj/en/java: java-devel.xml
@ 2009-02-23 20:22 Serkan Kaba (serkan)
  0 siblings, 0 replies; 13+ messages in thread
From: Serkan Kaba (serkan) @ 2009-02-23 20:22 UTC (permalink / raw
  To: gentoo-commits

serkan      09/02/23 20:22:30

  Modified:             java-devel.xml
  Log:
  Add JAVA_PKG_STRICT

Revision  Changes    Path
1.35                 xml/htdocs/proj/en/java/java-devel.xml

file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/java/java-devel.xml?rev=1.35&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/java/java-devel.xml?rev=1.35&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/java/java-devel.xml?r1=1.34&r2=1.35

Index: java-devel.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/java/java-devel.xml,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- java-devel.xml	28 Apr 2008 21:58:00 -0000	1.34
+++ java-devel.xml	23 Feb 2009 20:22:30 -0000	1.35
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/java/java-devel.xml,v 1.34 2008/04/28 21:58:00 betelgeuse Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/java/java-devel.xml,v 1.35 2009/02/23 20:22:30 serkan Exp $ -->
 
 <guide link="/doc/en/java-devel.xml">
 <title>Gentoo Java Packaging Guide</title>
@@ -1039,6 +1039,12 @@
     <li>Default: unset</li>
   </ul>
   </li>
+  <li><c>JAVA_PKG_STRICT</c>
+  <ul>
+    <li>Enables additional checks in Java eclasses. This variable must be set when developing Java ebuilds.</li>
+    <li>Default: unset</li>
+  </ul>
+  </li>
 </ul>
 
 </body>






^ permalink raw reply	[flat|nested] 13+ messages in thread

* [gentoo-commits] gentoo commit in xml/htdocs/proj/en/java: java-devel.xml
@ 2009-03-27 19:13 Petteri Raty (betelgeuse)
  0 siblings, 0 replies; 13+ messages in thread
From: Petteri Raty (betelgeuse) @ 2009-03-27 19:13 UTC (permalink / raw
  To: gentoo-commits

betelgeuse    09/03/27 19:13:38

  Modified:             java-devel.xml
  Log:
  Update example ebuilds to EAPI 2.

Revision  Changes    Path
1.36                 xml/htdocs/proj/en/java/java-devel.xml

file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/java/java-devel.xml?rev=1.36&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/java/java-devel.xml?rev=1.36&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/java/java-devel.xml?r1=1.35&r2=1.36

Index: java-devel.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/java/java-devel.xml,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- java-devel.xml	23 Feb 2009 20:22:30 -0000	1.35
+++ java-devel.xml	27 Mar 2009 19:13:38 -0000	1.36
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/java/java-devel.xml,v 1.35 2009/02/23 20:22:30 serkan Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/java/java-devel.xml,v 1.36 2009/03/27 19:13:38 betelgeuse Exp $ -->
 
 <guide link="/doc/en/java-devel.xml">
 <title>Gentoo Java Packaging Guide</title>
@@ -362,7 +362,7 @@
 
 <pre caption="Example: Pure java package">
 
-EAPI=1
+EAPI="2"
 JAVA_PKG_IUSE="doc examples source"
 
 inherit eutils java-pkg-2 java-ant-2
@@ -378,7 +378,7 @@
 
 COMMON_DEP="
         dev-java/xerces:2
-        >=dev-java/log4j-1.2.8"
+        >=dev-java/log4j-1.2.8:0"
 
 RDEPEND=">=virtual/jre-1.4
         ${COMMON_DEP}"
@@ -388,9 +388,7 @@
 
 S=${WORKDIR}/${P}-src
 
-src_unpack() {
-        unpack ${A}
-
+java_prepare() {
         cd "${S}/lib"
         rm -v *.jar || die
 
@@ -408,6 +406,9 @@
 </pre>
 
 <pre caption="Example: Optional java support">
+
+EAPI="2"
+
 inherit eutils java-pkg-opt-2
 
 DESCRIPTION="Fictional example ebuild"
@@ -422,10 +423,7 @@
 DEPEND="java? ( >=virtual/jdk-1.4 )"
 RDEPEND="java? ( >=virtual/jre-1.4 )"
 
-pkg_unpack() {
-        unpack ${A}
-        cd "${S}"
-
+java_prepare() {
         epatch "${FILESDIR}/${P}.patch"
 }
 
@@ -570,7 +568,7 @@
 fex: Add source/target attributes to javac calls.
 </p>
 <p>
-The eclasses uses a post src_unpack hook in order to rewrite the build.xml files.
+The rewriting is done in java-ant-2_src_configure for EAPI 2 or eant for earlier EAPIs.
 </p>
 <p>
 Some variables you can set from your ebuild. (Usually not needed)






^ permalink raw reply	[flat|nested] 13+ messages in thread

* [gentoo-commits] gentoo commit in xml/htdocs/proj/en/java: java-devel.xml
@ 2009-05-03 10:17 Alistair Bush (ali_bush)
  0 siblings, 0 replies; 13+ messages in thread
From: Alistair Bush (ali_bush) @ 2009-05-03 10:17 UTC (permalink / raw
  To: gentoo-commits

ali_bush    09/05/03 10:17:10

  Modified:             java-devel.xml
  Log:
  Add java-pkg_dowar documentation.

Revision  Changes    Path
1.37                 xml/htdocs/proj/en/java/java-devel.xml

file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/java/java-devel.xml?rev=1.37&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/java/java-devel.xml?rev=1.37&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/java/java-devel.xml?r1=1.36&r2=1.37

Index: java-devel.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/java/java-devel.xml,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- java-devel.xml	27 Mar 2009 19:13:38 -0000	1.36
+++ java-devel.xml	3 May 2009 10:17:10 -0000	1.37
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/java/java-devel.xml,v 1.36 2009/03/27 19:13:38 betelgeuse Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/java/java-devel.xml,v 1.37 2009/05/03 10:17:10 ali_bush Exp $ -->
 
 <guide link="/doc/en/java-devel.xml">
 <title>Gentoo Java Packaging Guide</title>
@@ -755,6 +755,16 @@
     <li>will die on errors</li>
   </ul>
   </li>
+  <li><c>java-pkg_dowar</c>
+    <ul>
+      <li>
+        Installs a war into a packages webapps directory.
+      </li>
+      <li>War is not recorded within package.env and is not integrated with java-config or any servlet container (e.g. Tomcat)</li>
+      <li>Takes one or more paths to a war</li>
+      <li>will die on errors</li>
+    </ul>
+  </li>
   <li><c>java-pkg_dohtml</c>
   <ul>
     <li>Deprecated, use dohtml now.






^ permalink raw reply	[flat|nested] 13+ messages in thread

* [gentoo-commits] gentoo commit in xml/htdocs/proj/en/java: java-devel.xml
@ 2009-05-10 19:53 Petteri Raty (betelgeuse)
  0 siblings, 0 replies; 13+ messages in thread
From: Petteri Raty (betelgeuse) @ 2009-05-10 19:53 UTC (permalink / raw
  To: gentoo-commits

betelgeuse    09/05/10 19:53:55

  Modified:             java-devel.xml
  Log:
  As slot deps are now in use document that they should always be used. Fixes bug #269296.

Revision  Changes    Path
1.38                 xml/htdocs/proj/en/java/java-devel.xml

file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/java/java-devel.xml?rev=1.38&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/java/java-devel.xml?rev=1.38&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/java/java-devel.xml?r1=1.37&r2=1.38

Index: java-devel.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/java/java-devel.xml,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- java-devel.xml	3 May 2009 10:17:10 -0000	1.37
+++ java-devel.xml	10 May 2009 19:53:55 -0000	1.38
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/java/java-devel.xml,v 1.37 2009/05/03 10:17:10 ali_bush Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/java/java-devel.xml,v 1.38 2009/05/10 19:53:55 betelgeuse Exp $ -->
 
 <guide link="/doc/en/java-devel.xml">
 <title>Gentoo Java Packaging Guide</title>
@@ -302,7 +302,7 @@
 
   <li>For packages that are distributed as zip, you need to DEPEND on app-arch/unzip to unpack</li>
 
-  <li>Since Portage does not support depending on a particular slot at this time, your DEPEND and RDEPEND should look like =dev-java/some-library-1.2* to signify that any 1.2.x library is supported. Presumably, they will all be SLOT compatible.</li>
+  <li>Always use slot dependencies (EAPI 1 or later) as jars are installed to slot specific paths. Your DEPEND and RDEPEND should look like dev-java/some-library:1.2 or dev-java/another:0.</li>
 
   <li>Avoid using bundled .jar files at all costs for source-based packages. Instead, they should use system installed versions with the help of our eclass functions.</li>
 






^ permalink raw reply	[flat|nested] 13+ messages in thread

* [gentoo-commits] gentoo commit in xml/htdocs/proj/en/java: java-devel.xml
@ 2011-02-19 16:32 Sebastian Pipping (sping)
  0 siblings, 0 replies; 13+ messages in thread
From: Sebastian Pipping (sping) @ 2011-02-19 16:32 UTC (permalink / raw
  To: gentoo-commits

sping       11/02/19 16:32:18

  Modified:             java-devel.xml
  Log:
  Mention that ~/[..]/current-user-vm may be missing, include Java 6 and later in example on compatibility

Revision  Changes    Path
1.39                 xml/htdocs/proj/en/java/java-devel.xml

file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/proj/en/java/java-devel.xml?rev=1.39&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/proj/en/java/java-devel.xml?rev=1.39&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/proj/en/java/java-devel.xml?r1=1.38&r2=1.39

Index: java-devel.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/java/java-devel.xml,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- java-devel.xml	10 May 2009 19:53:55 -0000	1.38
+++ java-devel.xml	19 Feb 2011 16:32:18 -0000	1.39
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/java/java-devel.xml,v 1.38 2009/05/10 19:53:55 betelgeuse Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/java/java-devel.xml,v 1.39 2011/02/19 16:32:18 sping Exp $ -->
 
 <guide link="/doc/en/java-devel.xml">
 <title>Gentoo Java Packaging Guide</title>
@@ -117,7 +117,7 @@
 </p>
 
 <p>
-A user's current VM is represented by a symlink located at <path>~/.gentoo/java-config-2/current-user-vm</path>. This symlink points to the <c>JAVA_HOME</c> of the chosen VM. Similarly, the system VM is represented by a symlink at <path>/etc/java-config-2/current-system-vm</path>.
+A user's current VM is represented by a symlink located at <path>~/.gentoo/java-config-2/current-user-vm</path>, if existing. This symlink points to the <c>JAVA_HOME</c> of the chosen VM. Similarly, the system VM is represented by a symlink at <path>/etc/java-config-2/current-system-vm</path>.
 </p>
 
 <p>
@@ -154,7 +154,7 @@
 <body>
 
 <p>
-The default behavior of <c>javac</c> is to compile bytecode that will compatible with the current VM version and higher (ie forward compatible). This becomes particularly problematic when trying to use a lower versioned VM. For example, source compiled with 1.4 will be compatible with 1.4 and 1.5, and source compiled with 1.5 will only be compatible with 1.5.  This makes it particularly difficult to revert to an earlier VM.
+The default behavior of <c>javac</c> is to compile bytecode that will compatible with the current VM version and higher (ie forward compatible). This becomes particularly problematic when trying to use a lower versioned VM. For example, source compiled with 1.4 will be compatible with 1.4 and 1.5 and later, and source compiled with 1.5 will only be compatible with 1.5 and later, but not 1.4.  This makes it particularly difficult to revert to an earlier VM.
 </p>
 <p>
 It is possible to specify which VM to compile for to provide the best compatibility.






^ permalink raw reply	[flat|nested] 13+ messages in thread

* [gentoo-commits] gentoo commit in xml/htdocs/proj/en/java: java-devel.xml
@ 2012-02-28  7:22 Alfredo Tupone (tupone)
  0 siblings, 0 replies; 13+ messages in thread
From: Alfredo Tupone (tupone) @ 2012-02-28  7:22 UTC (permalink / raw
  To: gentoo-commits

tupone      12/02/28 07:22:17

  Modified:             java-devel.xml
  Log:
  typo

Revision  Changes    Path
1.40                 xml/htdocs/proj/en/java/java-devel.xml

file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/proj/en/java/java-devel.xml?rev=1.40&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/proj/en/java/java-devel.xml?rev=1.40&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/proj/en/java/java-devel.xml?r1=1.39&r2=1.40

Index: java-devel.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/java/java-devel.xml,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -r1.39 -r1.40
--- java-devel.xml	19 Feb 2011 16:32:18 -0000	1.39
+++ java-devel.xml	28 Feb 2012 07:22:17 -0000	1.40
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/java/java-devel.xml,v 1.39 2011/02/19 16:32:18 sping Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/java/java-devel.xml,v 1.40 2012/02/28 07:22:17 tupone Exp $ -->
 
 <guide link="/doc/en/java-devel.xml">
 <title>Gentoo Java Packaging Guide</title>
@@ -505,7 +505,7 @@
 <body>
 
 <p>
-This is the eclass you should for any package using Java.
+This is the eclass you should use for any package using Java.
 It inherits java-utils-2, and gives you all the needed function.
 It also depends on the correct version of java-config the eclass
 needs to do its work.






^ permalink raw reply	[flat|nested] 13+ messages in thread

* [gentoo-commits] gentoo commit in xml/htdocs/proj/en/java: java-devel.xml
@ 2012-04-18 15:27 Mike Frysinger (vapier)
  0 siblings, 0 replies; 13+ messages in thread
From: Mike Frysinger (vapier) @ 2012-04-18 15:27 UTC (permalink / raw
  To: gentoo-commits

vapier      12/04/18 15:27:27

  Modified:             java-devel.xml
  Log:
  fix spelling typo

Revision  Changes    Path
1.41                 xml/htdocs/proj/en/java/java-devel.xml

file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/proj/en/java/java-devel.xml?rev=1.41&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/proj/en/java/java-devel.xml?rev=1.41&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/proj/en/java/java-devel.xml?r1=1.40&r2=1.41

Index: java-devel.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/java/java-devel.xml,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- java-devel.xml	28 Feb 2012 07:22:17 -0000	1.40
+++ java-devel.xml	18 Apr 2012 15:27:27 -0000	1.41
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/java/java-devel.xml,v 1.40 2012/02/28 07:22:17 tupone Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/java/java-devel.xml,v 1.41 2012/04/18 15:27:27 vapier Exp $ -->
 
 <guide link="/doc/en/java-devel.xml">
 <title>Gentoo Java Packaging Guide</title>
@@ -805,7 +805,7 @@
   <li><c>java-pkg_doso</c>
   <ul>
     <li>Install a jni library, and register its location it the package env</li>
-    <li>Takes one ore more path to a library</li>
+    <li>Takes one or more path to a library</li>
     <li>will die on error</li>
   </ul>
   </li>






^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2012-04-18 15:27 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-28 16:38 [gentoo-commits] gentoo commit in xml/htdocs/proj/en/java: java-devel.xml Petteri Raty (betelgeuse)
  -- strict thread matches above, loose matches on Subject: below --
2008-01-18 16:31 Jean-Noel Rivasseau (elvanor)
2008-01-18 20:06 Petteri Raty (betelgeuse)
2008-01-19  5:28 Alistair Bush (ali_bush)
2008-02-13 17:57 Petteri Raty (betelgeuse)
2008-04-28 21:58 Petteri Raty (betelgeuse)
2009-02-23 20:22 Serkan Kaba (serkan)
2009-03-27 19:13 Petteri Raty (betelgeuse)
2009-05-03 10:17 Alistair Bush (ali_bush)
2009-05-10 19:53 Petteri Raty (betelgeuse)
2011-02-19 16:32 Sebastian Pipping (sping)
2012-02-28  7:22 Alfredo Tupone (tupone)
2012-04-18 15:27 Mike Frysinger (vapier)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox