Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Merged
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
Binary file added BIN +758 Bytes ReferenceGenerator/bin/ProcessingWeblet$1.class
Binary file not shown.
Binary file added BIN +756 Bytes ReferenceGenerator/bin/ProcessingWeblet$10.class
Binary file not shown.
Binary file added BIN +757 Bytes ReferenceGenerator/bin/ProcessingWeblet$2.class
Binary file not shown.
Binary file added BIN +756 Bytes ReferenceGenerator/bin/ProcessingWeblet$3.class
Binary file not shown.
Binary file added BIN +757 Bytes ReferenceGenerator/bin/ProcessingWeblet$4.class
Binary file not shown.
Binary file added BIN +755 Bytes ReferenceGenerator/bin/ProcessingWeblet$5.class
Binary file not shown.
Binary file added BIN +761 Bytes ReferenceGenerator/bin/ProcessingWeblet$6.class
Binary file not shown.
Binary file added BIN +819 Bytes ReferenceGenerator/bin/ProcessingWeblet$7.class
Binary file not shown.
Binary file added BIN +638 Bytes ReferenceGenerator/bin/ProcessingWeblet$8.class
Binary file not shown.
Binary file added BIN +818 Bytes ReferenceGenerator/bin/ProcessingWeblet$9.class
Binary file not shown.
Binary file not shown.
Binary file modified BIN +2.25 KB (150%) ReferenceGenerator/bin/ProcessingWeblet.class
Binary file not shown.
Binary file modified BIN +1.33 KB (110%) ReferenceGenerator/bin/writers/BaseWriter.class
Binary file not shown.
Binary file modified BIN +687 Bytes (110%) ReferenceGenerator/bin/writers/ClassWriter.class
Binary file not shown.
Binary file modified BIN +276 Bytes (110%) ReferenceGenerator/bin/writers/FieldWriter.class
Binary file not shown.
Binary file modified BIN +0 Bytes (100%) ReferenceGenerator/bin/writers/FileUtils.class
Binary file not shown.
Binary file modified BIN +114 Bytes (100%) ReferenceGenerator/bin/writers/FunctionWriter.class
Binary file not shown.
Binary file modified BIN +752 Bytes (140%) ReferenceGenerator/bin/writers/LibraryWriter.class
Binary file not shown.
Binary file modified BIN +160 Bytes (100%) ReferenceGenerator/bin/writers/MethodWriter.class
Binary file not shown.
Binary file not shown.
Binary file modified BIN +6.62 KB (240%) ReferenceGenerator/bin/writers/Shared.class
Binary file not shown.
Binary file modified BIN +0 Bytes (100%) ReferenceGenerator/bin/writers/TemplateWriter.class
Binary file not shown.
2 changes: 1 addition & 1 deletion 2 ReferenceGenerator/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
description="compile the source " >
<!-- Compile the java code from ${src} into ${build} -->
<!-- Note that your environment JAVA_HOME now matters for building -->
<javac srcdir="${src}" destdir="${build}" source="11" target="11" includeantruntime="true">
<javac srcdir="${src}" destdir="${build}" source="17" target="17" includeantruntime="true">
<classpath refid="class.path" />
</javac>
</target>
Expand Down
32 changes: 25 additions & 7 deletions 32 ReferenceGenerator/processingrefBuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,14 @@ echo "[REFERENCE GENERATOR] Booting up..."
# PROCESSING_SRC_PATH=./test
PROCESSING_SRC_PATH=../../processing4/core/src
PROCESSING_LIB_PATH=../../processing4/java/libraries
PROCESSING_VIDEO_PATH=../../processing-video
PROCESSING_SOUND_PATH=../../processing-sound

DOCLET_PATH=bin/:lib/org.json.jar
SOURCE_PATH=../../processing4/core/bin
REFERENCES_OUT_PATH=../../processing-website/content/references/translations/en
CLASS_PATH="$PROCESSING_SRC_PATH/../library/*:$PROCESSING_LIB_PATH/serial/library/*:$PROCESSING_LIB_PATH/io/library/*:$PROCESSING_LIB_PATH/net/library/*:$PROCESSING_VIDEO_PATH/library/*:$PROCESSING_SOUND_PATH/library/*"

# GENERATE REFERENCE ENTRIES AND INDEX THROUGH JAVADOC - BY DAVID WICKS

echo "[REFERENCE GENERATOR] Source Path :: $PROCESSING_SRC_PATH"
Expand All @@ -19,14 +26,15 @@ if [ $# -eq 0 ]
echo "No arguments supplied, generating everything"
echo "[REFERENCE GENERATOR] Removing previous version of the ref..."
FOLDERS="$PROCESSING_SRC_PATH/processing/core/*.java \
$PROCESSING_SRC_PATH/processing/awt/*.java \
$PROCESSING_SRC_PATH/processing/data/*.java \
$PROCESSING_SRC_PATH/processing/event/*.java \
$PROCESSING_SRC_PATH/processing/opengl/*.java \
$PROCESSING_LIB_PATH/io/src/processing/io/*.java \
$PROCESSING_LIB_PATH/net/src/processing/net/*.java \
$PROCESSING_LIB_PATH/serial/src/processing/serial/*.java \
$PROCESSING_LIB_PATH/../../../processing-video/src/processing/video/*.java \
$PROCESSING_LIB_PATH/../../../processing-sound/src/processing/sound/*.java"
$PROCESSING_VIDEO_PATH/src/processing/video/*.java \
$PROCESSING_SOUND_PATH/src/processing/sound/*.java"
elif [ $1 = "processing" ]
then
echo "Generating processing references"
Expand All @@ -38,20 +46,30 @@ if [ $# -eq 0 ]
$PROCESSING_LIB_PATH/io/src/processing/io/*.java \
$PROCESSING_LIB_PATH/net/src/processing/net/*.java \
$PROCESSING_LIB_PATH/serial/src/processing/serial/*.java"
else
echo "Generating $1 library"
elif [ $1 = "video" ]
then
echo "Generating video library"
echo "[REFERENCE GENERATOR] Removing previous version of the ref..."
FOLDERS="$PROCESSING_LIB_PATH/../../../processing-$1/src/processing/$1/*.java"
FOLDERS="$PROCESSING_VIDEO_PATH/src/processing/video/*.java"
elif [ $1 = "sound" ]
then
echo "Generating sound library"
echo "[REFERENCE GENERATOR] Removing previous version of the ref..."
FOLDERS="$PROCESSING_SOUND_PATH/src/processing/sound/*.java"
else
echo "Option '$1' not valid. Should be 'processing', 'sound' or 'video'"
fi

echo "[REFERENCE GENERATOR] Generating new javadocs..."
javadoc -doclet ProcessingWeblet \
-docletpath "bin/:lib/org.json.jar" \
-docletpath $DOCLET_PATH \
--source-path $SOURCE_PATH \
--class-path $CLASS_PATH \
-public \
-templatedir ../templates \
-examplesdir ../../content/api_en \
-includedir ../../content/api_en/include \
-imagedir images \
-encoding UTF-8 \
$FOLDERS \
$FOLDERS \
-noisy
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.