Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #18600

Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs)

From "John B. Matthews" <nospam@nospam.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs)
Date 2012-09-07 21:28 -0400
Organization The Wasteland
Message-ID <nospam-04BABF.21283207092012@news.aioe.org> (permalink)
References <08dcc4bb-ac13-4992-b576-1d4f51a28d2e@googlegroups.com> <aauhg0F26rkU1@mid.individual.net> <a678337b-f349-4648-8ac6-3b854de9545c@googlegroups.com>

Show all headers | View raw


In article <a678337b-f349-4648-8ac6-3b854de9545c@googlegroups.com>,
 Lew <lewbloch@gmail.com> wrote:

> > Check the contents of your dist/ directory, and the project jar. If 
> > it doesn't include these features then it's not a proper Java 
> > "application" jar. That may mean that you didn't create it 
> > correctly, or NetBeans has cocked up (technical term) the project 
> > properties (this does happen). If this does happen the simplest 
> > alternative is to create a new Java Application project and copy 
> > all your sources into it. Fixing it manually requires dexterous 
> > manipulation of, IIRC, project.properties and build-impl.xml. 
> > Creating a new project is simpler, quicker, and less likely to bite 
> > you back in the future.
> 
> You don't need to futz with NB-specific files if you edit manifests 
> yourself, and also you should build from "build.xml", not 
> IDE-specific artifacts.

I like the flexibility NetBeans affords in this area:

For convenience, I can use the stock, NB-generated build.xml, even from 
the command line, and hook into it as needed:

<http://stackoverflow.com/q/3955299/230513>

Alternatively, I can add a small number of targets to my custom 
build.xml, and NB will happily adopt it in a free-form project:

<http://netbeans.org/kb/articles/freeform-config.html>

For example:

<https://sites.google.com/site/drjohnbmatthews/manifesto>

-- 
John B. Matthews
trashgod at gmail dot com
<http://sites.google.com/site/drjohnbmatthews>

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) clusardi2k@aol.com - 2012-09-07 05:15 -0700
  Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2012-09-07 12:24 +0000
    Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) "John B. Matthews" <nospam@nospam.invalid> - 2012-09-07 09:54 -0400
    Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) clusardi2k@aol.com - 2012-09-13 06:40 -0700
      Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2012-09-13 17:20 +0000
        Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) clusardi2k@aol.com - 2012-09-13 11:00 -0700
        Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) Gene Wirchenko <genew@ocis.net> - 2012-09-13 15:36 -0700
      Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) Arne Vajhøj <arne@vajhoej.dk> - 2012-09-13 20:34 -0400
  Re: How Do I Publish My Working Project (corresponding dot jar doesn't   work on other's PCs) Nigel Wade <nmw@ion.le.ac.uk> - 2012-09-07 16:17 +0100
    Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) Lew <lewbloch@gmail.com> - 2012-09-07 11:11 -0700
      Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) "John B. Matthews" <nospam@nospam.invalid> - 2012-09-07 21:28 -0400
      Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) clusardi2k@aol.com - 2012-09-10 23:29 -0700
        Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) Lew <lewbloch@gmail.com> - 2012-09-10 23:49 -0700
          Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) clusardi2k@aol.com - 2012-09-11 05:12 -0700
            Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) markspace <-@.> - 2012-09-11 09:25 -0700
              Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) Lew <lewbloch@gmail.com> - 2012-09-11 11:08 -0700
                Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) markspace <-@.> - 2012-09-11 12:45 -0700
                Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) clusardi2k@aol.com - 2012-09-12 07:24 -0700
                Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) clusardi2k@aol.com - 2012-09-12 08:00 -0700
                Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) markspace <-@.> - 2012-09-12 08:21 -0700
                Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) clusardi2k@aol.com - 2012-09-12 08:58 -0700
                Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) clusardi2k@aol.com - 2012-09-12 09:02 -0700
                Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) markspace <-@.> - 2012-09-12 09:15 -0700
                Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) clusardi2k@aol.com - 2012-09-12 09:44 -0700
                Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) clusardi2k@aol.com - 2012-09-12 10:24 -0700
                Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) Lew <lewbloch@gmail.com> - 2012-09-12 10:19 -0700
                Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) clusardi2k@aol.com - 2012-09-12 11:10 -0700
                Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) clusardi2k@aol.com - 2012-09-12 11:26 -0700
                Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) clusardi2k@aol.com - 2012-09-12 11:47 -0700
                Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) Lew <lewbloch@gmail.com> - 2012-09-12 12:56 -0700
                Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) Lew <lewbloch@gmail.com> - 2012-09-12 12:58 -0700
                Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) Arne Vajhøj <arne@vajhoej.dk> - 2012-09-12 20:45 -0400
                Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) clusardi2k@aol.com - 2012-09-12 23:28 -0700
                Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) Arne Vajhøj <arne@vajhoej.dk> - 2012-09-12 20:43 -0400
                Re: How Do I Publish My Working Project (corresponding dot jar doesn't   work on other's PCs) Nigel Wade <nmw@ion.le.ac.uk> - 2012-09-17 10:10 +0100
              Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) clusardi2k@aol.com - 2012-09-11 16:21 -0700
                Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) markspace <-@.> - 2012-09-11 17:33 -0700
  Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) Roedy Green <see_website@mindprod.com.invalid> - 2012-09-07 22:26 -0700

csiph-web