Print at Nov 30, 2021, 9:55:56 PM

Posted by enkonyito at Aug 17, 2021, 4:36:26 AM
Re: Furniture Library Editor released
No but you could generate the javadoc if needed. Just look at the javadoc target in Sweet Home 3D project to see how.

After adding the "javadoc" target in the build.xml file of the FurnitureLibraryEditor project,
"<!-- addition start (EnkoNyito) -->
<!-- Builds FurnitureLibraryEditor-version-javadoc.zip archive that contains
the generated Javadoc of Java files found in FurnitureLibraryEditor-version-src -->
<target name="javadoc"
description="Builds FurnitureLibraryEditor-version-javadoc.zip archive">
<mkdir dir="build/javadoc/FurnitureLibraryEditor-${version}-javadoc"/>
<javadoc sourcepath="src" destdir="build/javadoc/FurnitureLibraryEditor-${version}-javadoc"
encoding="ISO-8859-1" version="true" author="true" use="true"
windowtitle="Furniture Library Editor ${version} API">
<doctitle><![CDATA[<img src='http://www.sweethome3d.com/SweetHome3DIcon.gif' width='48' height='48' alt='Sweet Home 3D' align='absmiddle'> Sweet Home 3D ${version} API]]></doctitle>
<header><![CDATA[<a href='http://www.sweethome3d.com' target='_parent'><font size='+1'>Sweet Home 3D ${version}</font></a>]]></header>
<footer><![CDATA[<a href='http://www.sweethome3d.com' target='_parent'><font size='+1'>Sweet Home 3D ${version}</font></a>]]></footer>
<bottom><![CDATA[<table align='center'><tr>
<td><a href='http://www.eteks.com' target='_parent'><img align='absmiddle' src='http://www.sweethome3d.com/images/eteks.gif' border='0'><a></td>
<td>&copy; Copyrights 2006-2021 Emmanuel PUYBARET / <a href='http://www.eteks.com' target='_parent'>eTeks</a>
<br>Distributed under <a href='http://www.gnu.org/licenses/gpl-2.0.html' target='_parent'>GNU General Public License</a></td></tr></table>]]></bottom>
<link href="http://docs.oracle.com/javase/1.5.1/docs/api/"/>
<link href="http://download.java.net/media/java3d/javadoc/1.5.3/"/>
<group title="Base classes" packages="*"/>
</javadoc>

<zip destfile="FurnitureLibraryEditor-${version}-javadoc.zip" basedir="build/javadoc"
includes="FurnitureLibraryEditor-${version}-javadoc/**" />

<!-- Clean build directory -->
<delete dir="build"/>

<echo message="FurnitureLibraryEditor-${version}-javadoc.zip ready for ftp"/>
</target>
<!-- addition end (EnkoNyito) -->"


I get this message in the console:
Buildfile: C:\Users\user\eclipse-workspace 4.16 (2020-06)\FurnitureLibraryEditor-1.28_derived\build.xml

javadoc:
[mkdir] Created dir: C:\Users\user\eclipse-workspace 4.16 (2020-06)\FurnitureLibraryEditor-1.28_derived\build\javadoc\FurnitureLibraryEditor-1.28-javadoc
[javadoc] Generating Javadoc
[javadoc] Javadoc execution
[javadoc] javadoc: error - Illegal package name: ".project"
[javadoc] javadoc: error - Illegal package name: ".settings"
[javadoc] javadoc: warning - No source files for package build
[javadoc] javadoc: warning - No source files for package build.xml
[javadoc] Loading source files for package build...
[javadoc] javadoc: warning - No source files for package COPYING.TXT
[javadoc] Loading source files for package build.xml...
[javadoc] javadoc: warning - No source files for package LICENSE.TXT
[javadoc] Loading source files for package COPYING.TXT...
[javadoc] javadoc: warning - No source files for package README.TXT
[javadoc] Loading source files for package LICENSE.TXT...
[javadoc] javadoc: warning - No source files for package src
[javadoc] Loading source files for package README.TXT...
[javadoc] Loading source files for package src...
[javadoc] Loading source files for package com.eteks.furniturelibraryeditor...
[javadoc] Loading source files for package com.eteks.furniturelibraryeditor.io...
[javadoc] Loading source files for package com.eteks.furniturelibraryeditor.model...
[javadoc] Loading source files for package com.eteks.furniturelibraryeditor.swing...
[javadoc] Loading source files for package com.eteks.furniturelibraryeditor.viewcontroller...
[javadoc] 2 errors
[javadoc] 6 warnings
[zip] Building zip: C:\Users\user\eclipse-workspace 4.16 (2020-06)\FurnitureLibraryEditor-1.28_derived\FurnitureLibraryEditor-1.28-javadoc.zip
[delete] Deleting directory C:\Users\user\eclipse-workspace 4.16 (2020-06)\FurnitureLibraryEditor-1.28_derived\build
[echo] FurnitureLibraryEditor-1.28-javadoc.zip ready for ftp

BUILD SUCCESSFUL


but the FurnitureLibraryEditor-1.28-javadoc folder is empty.
----------------------------------------
EnkoNyito