Skip to main content

Building on MacOS X

9 replies [Last post]
robross
Offline
Joined: 2003-06-13
Points: 0

I checked out the source from CVS and got an error while building it on my Mac. It turned out to be a pretty simple error:

I changed line 69 of make/properties.xml

FROM:

TO:

and now it builds fine. It runs fine too.

Question - is the source code for the demo available as well as the source code for the actual library files that are used by the demo? For example, org.jdesktop.jdnc.runner.Application?

Thanks,

Rob

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
rameshgupta
Offline
Joined: 2004-06-04
Points: 0

> I checked out the source from CVS and got an error
> while building it on my Mac. It turned out to be a
> pretty simple error:
>

> I changed line 69 of make/properties.xml
>
> FROM:
> > value="/Applications/Utilities/Java/Java\ Web\
> Start.app/Contents/MacOS/">
>
> TO:
> > value="/Applications/Utilities/Java/Java Web
> Start.app/Contents/MacOS/">
>
> and now it builds fine. It runs fine too.
>

Great! Are you just using Ant from the command line, or did you set up a project in XCode? If you have XCode project file(s), and don't mind sharing it, we'd like to add that to our repository. Ditto for JBuilder, NetBeans, and what not. Many developers prefer to work in full-blown IDEs.

robross
Offline
Joined: 2003-06-13
Points: 0

I actually use IntelliJ IDEA on the Mac as well as the PC. XCode is a great program for building native OSX Cocoa apps, but it does not feel natural to a pure "Java" developer.

I haven't actually used IDEA for this project yet, I've just been building with ant from the command line. But when I get around to creating an IDEA project for it I'll submit the project files.

Rob

gphilipp
Offline
Joined: 2003-06-10
Points: 0

CVSGrab works with many source control systems including ViewCVS, SourceCast 1.0, SourceCast 2.0...

(note that I replaced some real values with xxxx)

i tried with the following command line :

cvsgrab -rootUrl https://jdnc.dev.java.net/source/browse/jdnc -packagePath swingx -destDir C:\workspace\projects -prune true -connections 3 -proxyHost xxx.xxx.xxx.xxx -proxyPort 8080 -proxyUser xxxxx -proxyPassword xxxxx

Here's the output :

[i]
Using proxy xxx.xxx.xxx.xxx:8080
Login on the proxy with user name xxxxxx
Using up to 3 simultaneous connections to load files
CVSGrab version 2.0.3 starting...
[WARN] The root url https://jdnc.dev.java.net/source/browse/jdnc/ doesn't seem valid
[WARN] Try https://jdnc.dev.java.net/source/browse as the root url instead
Detected cvs web interface: SourceCast 2.6.2.4.5
cvs update: Updating swingx/
[/i]

but that's all, no files are downloaded...

Gilles Philippart
Senior IT Consultant
BNP PARIBAS Asset Management

rbair
Offline
Joined: 2003-07-08
Points: 0

I've put today's source's from CVS onto the following project site for download as a zip:

https://sourceforge.net/project/showfiles.php?group_id=66752

gphilipp
Offline
Joined: 2003-06-10
Points: 0

Thanks Richard !

Gilles

rbair
Offline
Joined: 2003-07-08
Points: 0

You bet :-)

Mark Davidson
Offline
Joined: 2006-02-17
Points: 0

Hey Rob,

Thanks for th fix. I made that change by asking a co-worker the location of Web Start on the Mac. Since I run Linux and Windows. I never actually tested this fix.

> Question - is the source code for the demo available
> as well as the source code for the actual library
> files that are used by the demo? For example,
> org.jdesktop.jdnc.runner.Application?

Currently, the sources are not in the distribution. However, they are in the CVS repository. Any classes in the org.jdesktop.swing package are in the swingx sub-project and the org.jdesktop.jdnc classes are in the jdnc_api sub-project. The runner package is in the jdnc_markup sub-project.

All the jdnc demos are located in jdnc_markup/demo. You can execute them in the workspace (after it has been built) by using the run.sh or run.bat scripts in the root of the cvs repositiory.

If you really want to reverse engineer the distribution then the ant file deployment/make/build.xml target "bundle" will create the distribution layout.

Hope this helps.

--Mark

gphilipp
Offline
Joined: 2003-06-10
Points: 0

Mark, could you please take 10 minutes (or 5) and post a source distribution in the files section. A lot of us are behind firewalls and can't access freely the CVS repository.
I also tried to use CVS Grab, and it didn't work (i have setup successfully other OSS projects with it though)...

Gilles Philippart
Senior IT Consultant
BNP PARIBAS Asset Management

Sundaranathan Sivashanmuganthan

Hi,

CVS Grab will work only if the OSS supports viewCVS. I don't
think JDNC project supports that. I too eagerly waiting for some
workaround to get the source behind firewall.

thanks,
-Sundar.

jdnc-interest@javadesktop.org wrote:

>Mark, could you please take 10 minutes (or 5) and post a source distribution in the files section. A lot of us are behind firewalls and can't access freely the CVS repository.
>I also tried to use CVS Grab, and it didn't work (i have setup successfully other OSS projects with it though)...
>
>Gilles Philippart
>Senior IT Consultant
>BNP PARIBAS Asset Management
>---
>[Message sent by forum member 'gphilipp' (Gilles Philippart)]
>
>http://www.javadesktop.org/forums/thread.jspa?messageID=13656㕘
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: jdnc-unsubscribe@jdnc.dev.java.net
>For additional commands, e-mail: jdnc-help@jdnc.dev.java.net
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jdnc-unsubscribe@jdnc.dev.java.net
For additional commands, e-mail: jdnc-help@jdnc.dev.java.net