Initial commit

This commit is contained in:
peterdell 2018-12-30 22:01:35 +01:00
parent 492892ebbc
commit 3ab03839a8
15 changed files with 156 additions and 51 deletions

View File

@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="lib" path="lib/commons-compress-1.15.jar" sourcepath="lib/commons-compress-1.15-sources.jar">
<attributes>
<attribute name="javadoc_location" value="jar:platform:/resource/Test-Java/lib/commons-compress-1.15-javadoc.jar!/"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="output" path="bin"/>
</classpath>

View File

@ -1 +0,0 @@
/bin

View File

@ -1,11 +0,0 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.6
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.6

View File

@ -1,22 +0,0 @@
import java.io.File;
import java.util.zip.ZipEntry;
import java.util.zip.ZipFile;
import org.apache.commons.compress.archivers.zip.*;
// Test
public class Main {
public static void main(String[] args) throws Exception {
String file = "C:\\Users\\D025328\\Documents\\Eclipse\\workspace.jac\\com.wudsn.site\\site\\productions\\atari800\\thecartstudio\\thecartstudio.zip";
System.out.println(file);
ZipFile zipFile=new ZipFile(new File(file));
ZipEntry entry=zipFile.getEntry("TheCartStudio.jar");
System.out.println(entry+":"+ entry.getSize());
ZipArchiveEntry archiveEntry=new ZipArchiveEntry(entry);
System.out.println(archiveEntry+":"+ archiveEntry.getUnixMode());
zipFile.close();
}
}

View File

@ -1,8 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration type="org.eclipse.pde.ui.RuntimeWorkbench">
<setAttribute key="additional_plugins">
<setEntry value="com.wudsn.ide.snd:1.7.0:default:true"/>
</setAttribute>
<setAttribute key="additional_plugins"/>
<booleanAttribute key="append.args" value="true"/>
<booleanAttribute key="askclear" value="true"/>
<booleanAttribute key="automaticAdd" value="true"/>

12
com.wudsn.site.update/.gitignore vendored Normal file
View File

@ -0,0 +1,12 @@
/1.6.0
/1.6.2
/1.6.3
/1.6.4
/1.6.5
/1.6.6
/1.7.0
/daily
/features
/plugins
/artifacts.jar
/content.jar

View File

@ -1,17 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>Test-Java</name>
<name>com.wudsn.site.update</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<name>org.eclipse.pde.UpdateSiteBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.pde.UpdateSiteNature</nature>
</natures>
</projectDescription>

View File

@ -0,0 +1,28 @@
@echo off
setlocal
set PATH=%PATH%;C:\jac\bin\wbin
cd C:\jac\system\Java\Programming\Workspaces\WUDSN-IDE
call :check com.wudsn.ide.asm
call :check com.wudsn.ide.asm.compilers
call :check com.wudsn.ide.asm.compilers.test
call :check com.wudsn.ide.base
call :check com.wudsn.ide.dsk
call :check com.wudsn.ide.gfx
call :check com.wudsn.ide.snd
call :check com.wudsn.ide.base.feature
call :check com.wudsn.ide.feature
pause
goto :eof
:check
rem echo | set /p=%1
echo %1
if exist %1\META-INF\MANIFEST.MF grep Bundle-Version %1\META-INF\MANIFEST.MF
if exist %1\META-INF\MANIFEST.MF grep Bundle-RequiredExecutionEnvironment %1\META-INF\MANIFEST.MF
if exist %1\build.properties grep jre.compilation.profile %1\build.properties
if exist %1\feature.xml grep version= %1\feature.xml
echo.
goto :eof

View File

@ -0,0 +1,17 @@
<html>
<head>
<title>WUDSN Eclipse Update Site</title>
<meta http-equiv="refresh" content="10;URL='https://www.wudsn.com/index.php/ide/installation#InstallingWUDSNIDE'"/>
</head>
<body>
<p>
Dear visitor, you cannot access this part of the web site with your browser.
<br/>
Instead you can use "http://www.wudsn.com/update" as update site in your Eclipse installation.
<br/>
You will be redirected to the
<a href="https://www.wudsn.com/index.php/ide/installation#InstallingWUDSNIDE">installation page</a>
now.
</p>
</body>
</html>

View File

@ -0,0 +1,65 @@
<project name="Site" basedir=".">
<!-- - - - - - - - - - - - - - - - - -
target: name
- - - - - - - - - - - - - - - - - -->
<target name="_clean_folder">
<echo message="Cleaning ${folder}" />
<delete dir="${folder}/features" />
<delete dir="${folder}/plugins" />
<delete file="${folder}/artifacts.jar" />
<delete file="${folder}/content.jar" />
</target>
<target name="_copy_folder">
<antcall target="_clean_folder">
<param name="folder" value="${target}" />
</antcall>
<echo message="Copying ${source} to ${target}" />
<copy todir="${target}" preservelastmodified="true">
<fileset file="${source}/artifacts.jar" />
<fileset file="${source}/content.jar" />
<fileset file="${source}/site.xml" />
</copy>
<copy todir="${target}/features" preservelastmodified="true">
<fileset file="${source}/features/**" />
</copy>
<copy todir="${target}/plugins" preservelastmodified="true">
<fileset file="${source}/plugins/**" />
</copy>
</target>
<target name="clean_daily">
<antcall target="_clean_folder">
<param name="folder" value="daily" />
</antcall>
<copy tofile="daily\site.xml" preservelastmodified="true" overwrite="true">
<fileset file="daily/site-template.xml" />
</copy>
<echo>Open daily/site.xml and press "Build All".</echo>
</target>
<target name="publish_daily_to_stable_and_main">
<echo>Copying daily to stable and main.</echo>
<antcall target="_copy_folder">
<param name="source" value="daily" />
<param name="target" value="1.7.0" />
</antcall>
<antcall target="_copy_folder">
<param name="source" value="daily" />
<param name="target" value="." />
</antcall>
<antcall target="upload_all" />
<echo>Done.</echo>
</target>
<target name="upload_all">
<echo>Uploading daily build from ${basedir}\daily.</echo>
<exec executable="C:\jac\system\Windows\Tools\NET\WinSCP\WinSCP.com">
<arg value="/script=site.scp"/>
</exec>
<echo>Upload completed.</echo>
</target>
</project>

View File

@ -0,0 +1,8 @@
open sftp://u52906944:wudsn2010@home280969378.1and1-data.host/ -hostkey="ssh-ed25519 256 0d:15:61:04:10:c2:d7:ce:af:55:68:0a:7c:9c:b8:d7"
lcd C:\jac\system\WWW\Sites\www.wudsn.com\update
cd /www.wudsn.com/update
synchronize -delete remote
exit

View File

@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<site>
<description name="WUDSN IDE Update Site" url="http://www.wudsn.com/update">
Central Update Site for WUDSN IDE
</description>
<feature url="features/com.wudsn.ide.base.feature_1.7.0.201812301213.jar" id="com.wudsn.ide.base.feature" version="1.7.0.201812301213">
<category name="General"/>
</feature>
<feature url="features/com.wudsn.ide.feature_1.7.0.201812301213.jar" id="com.wudsn.ide.feature" version="1.7.0.201812301213">
<category name="WUDSN IDE"/>
</feature>
<category-def name="WUDSN IDE" label="WUDSN IDE">
<description>
The free integrated Apple II, Atari VCS, Atari 8-bit, C64 and NES development plugin.
</description>
</category-def>
<category-def name="General" label="General Eclipse Enhancements">
<description>
General Eclipse Enhancements. Do not install if you already have WUDSN IDE installed. WUDSN IDE already contains all features included in this category.
</description>
</category-def>
</site>