source: trunk/gui/filexfer/Makefile @ 154

Last change on this file since 154 was 50, checked in by mmc, 17 years ago

Added support for file transfer with the desktop. Each Rappture
application acts like an http server, configured to listen on
a particular port according to the parameters found in the file
~/data/sessions/$SESSION/resources. When the server is active,
the GUI has a "Download..." button in the results area. A Java
client (in the filexfer directory) connects to the server and
listens for download requests. When the user clicks on "Download...",
the desired result is spooled to a file, and a Java client pops up
a web page requesting the file. This downloads the result to the
user's desktop.

Note that if the $SESSION environment variable is not set, these
changes do nothing.

File size: 386 bytes
Line 
1
2SOURCES = filexfer.java monitor.java
3CLASSES = filexfer.class monitor.class
4ARCHIVE  = filexfer.jar
5MANIFEST = MANIFEST.MF
6
7JC = javac -deprecation
8JAR = jar
9
10all: ${CLASSES} ${ARCHIVE}
11
12test: ${CLASSES}
13        appletviewer test.html
14
15clean:
16        rm -rf *.class *.jar
17
18$(ARCHIVE): $(CLASSES) $(MANIFEST)
19        $(JAR) cfm $(ARCHIVE) $(MANIFEST) $(CLASSES)
20
21${CLASSES}: ${SOURCES}
22        ${JC} -O ${SOURCES}
Note: See TracBrowser for help on using the repository browser.