lved this issue.
> So I'd recommend to install Java 8 inside of the ide as Tools > Java
> Platforms, then change to that platform in the project settings.
> In order to solve the original issue we would need real logs. Just execute
> the ant build in debug mode, then send the
,
then change to that platform in the project settings.
In order to solve the original issue we would need real logs. Just execute the
ant build in debug mode, then send the debug output. I'm sorry, but screenshot
won't help in this case.
On 7/4/19 3:11 AM, Peter Toye wrote:
Re: ...an
help in this case.
On 7/4/19 3:11 AM, Peter Toye wrote:
Re: ...and now I can't build Dear Laszlo,
Yes - that was my point. I had opened the project (well, a copy of it
so as not to disturb the original which works in NB version 8) in NB
11 and gone through the error resolution. Changing the
Dear Geertjan,
That's right. The main app is KillerSudoku. There's a separate class (which is
used by another project as well) called Partitions5. That hasn't changed for
years. You're probably right. It'll take me a bit of time to sort that out as I
have to go offline now for a few hours - may
Also, what you're showing in your screenshot looks pretty strange -- that
.txt extension is odd and will break things.
Gj
On Thu, Jul 4, 2019 at 1:48 PM Geertjan Wielenga
wrote:
> Maybe just create a brand new project and copy your 6 files and one form
> into that?
>
> Gj
>
> On Thu, Jul 4, 201
Maybe just create a brand new project and copy your 6 files and one form
into that?
Gj
On Thu, Jul 4, 2019 at 1:47 PM Peter Toye wrote:
> Dear Geertjan,
>
> No. There are 6 .java files and one form. See screenshot.
>
> Best regards,
>
> Peter
> mailto:netbe...@ptoye.com
> www.ptoye.com
>
>
Also, there appear to be two separate applications here, one named
'KillerSudoku11' and the other one named 'Partitions5'.
Not sure what this means, but something seems strange, aside from there
being two Java source files in total.
Maybe you need to check javac.source and javac.target in the
pro
Your application consists of two Java source files?
Gj
On Thu, Jul 4, 2019 at 12:52 PM Peter Toye wrote:
> Dear Geertjan,
>
> Here's the output from a clean build.
>
> ant -f D:\\Peter\\Netbeans\\KillerSudoku11 -Dnb.internal.action.name=rebuild
> clean jar
> init:
> deps-clean:
> Updating prope
Dear Geertjan,
Here's the output from a clean build.
ant -f D:\\Peter\\Netbeans\\KillerSudoku11 -Dnb.internal.action.name=rebuild
clean jar
init:
deps-clean:
Updating property file:
D:\Peter\Netbeans\KillerSudoku11\build\built-clean.properties
Partitions5.init:
Partitions5.deps-clean:
Updating
Can you do this: copy and paste the build error message into the response
to this e-mail and then press Send?
Gj
On Thu, 4 Jul 2019 at 12:32, Peter Toye wrote:
> Dear Geertjan,
>
> Both javac.source and javac.target are set to 12. If I change the
> source/target to 8 they change accordingly. Se
Dear Geertjan,
Both javac.source and javac.target are set to 12. If I change the source/target
to 8 they change accordingly. See the attached if you don't believe me!
Whichever I choose the build fails.
Best regards,
Peter
mailto:netbe...@ptoye.com
www.ptoye.com
-
Thur
Can you open the Files window and look in the nbproject folder, where
you’ll find the project.properties file?
There you will find javac.source and javac.target, which you can set
directly within that file.
Gj
On Thu, 4 Jul 2019 at 12:11, Peter Toye wrote:
> Dear Laszlo,
>
> Yes - that was
Dear Laszlo,
Yes - that was my point. I had opened the project (well, a copy of it so as not
to disturb the original which works in NB version 8) in NB 11 and gone through
the error resolution. Changing the source/target to JDK8 doesn't change
anything - see attached screenshot.
Best regards,
Dear Geertjan and Laszlo,
Thanks both for the help. But the source/binary field was already set to JDK12
(see the screenshot in my email of 12:01 yesterday).
It's very odd. I tried again yesterday after getting Geertjan's email and it
built OK without my changing anything. Then I shut down the
You might be compiling your old stuff with modern Java.
Either go back to Java 8 or add javac.source=1.8 and javac.target=1.8 in
your project properties.
On 7/1/19 1:57 AM, Peter Toye wrote:
...and now I can't build I made a copy of a project in NB 8 and opened
it in NB 11. Got some errors wh
I can very clearly see Source/Binary Format in your screenshot in the
Sources tab.
Gj
On Mon, 1 Jul 2019 at 13:01, Peter Toye wrote:
> Dear Geertjan,
>
> I think we're at cross-purposes here. My Project Properties doesn't have
> tabs - see the attached screenshot. I tried a new project using Ma
Dear Geertjan,
I think we're at cross-purposes here. My Project Properties doesn't have tabs -
see the attached screenshot. I tried a new project using Maven and that does
have tabs. So it seems to be an Ant problem.
Best regards,
Peter
mailto:netbe...@ptoye.com
www.ptoye.com
And in the Project Properties dialog, the first tab you see, named
'Sources', has 'Source/Binary Format' set to JDK 8 by default for me. When
I change that to JDK 6, the two properties are changed for me to the
following:
javac.source=1.6
javac.target=1.6
Thanks,
Gj
On Mon, Jul 1, 2019 at 12:40
When I create a new Java SE project with Ant in NetBeans, I see these two
in 'project.properties', you must have these too:
javac.source=1.8
javac.target=1.8
Look in the Files window, in the 'nbproject' folder, to find
'project.properties' file.
Gj
On Mon, Jul 1, 2019 at 11:57 AM Peter Toye wr
Dear Geertjan,
To answer both your posts:
I can't see any project option which corresponds to "source" or "target" with a
value including "6". Which option are you referring to, please?
It's a straight Java app using Swing. Generated originally on NB version <=8
(can't remember exactly which v
And what kind of project are we talking about, can you give a lot more
details so we can help?
Yes, it is Ant-based. But what kind of project type -- a NetBeans Platform
application? A Java EE application? An HTML/JavaScript application? What,
exactly?
Gj
On Mon, Jul 1, 2019 at 10:58 AM Geertjan
Look in the Project Properties of your project (right-click it in the
Projects window and choose Properties).
Gj
On Mon, Jul 1, 2019 at 10:57 AM Peter Toye wrote:
> I made a copy of a project in NB 8 and opened it in NB 11. Got some errors
> which were resolved OK.
>
> But it won't build - I ge
22 matches
Mail list logo