This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 50314 - Sometimes unable to create freeform project - valid ant script refused
Summary: Sometimes unable to create freeform project - valid ant script refused
Status: RESOLVED WONTFIX
Alias: None
Product: projects
Classification: Unclassified
Component: Ant (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords: RANDOM
Depends on:
Blocks: 42682
  Show dependency tree
 
Reported: 2004-10-13 09:38 UTC by Ondrej Rypacek
Modified: 2012-05-08 14:27 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
the refused build script (1.19 KB, text/plain)
2004-10-13 09:39 UTC, Ondrej Rypacek
Details
problem build.xml script (3.35 KB, text/plain)
2005-01-27 16:45 UTC, farble1670
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ondrej Rypacek 2004-10-13 09:38:41 UTC
I tried to create a free-form project (for testing
purposes). The build script was copied from the
official ant manual, thus it should be valid. 

Nevertheless, I couldn't create the project with a
message saying "The selected file is not a valid
ant script"
Comment 1 Ondrej Rypacek 2004-10-13 09:39:34 UTC
Created attachment 18247 [details]
the refused build script
Comment 2 Ondrej Rypacek 2004-10-13 10:04:28 UTC
I just updated sources and rebuilt the IDE and it works fine. However,
I reported the bug against sources from yesterday morning, so I doubt
this was realy fixed between yesterday and today. It's more likely to
be connected with the rebuild.

I encountered the same problem some time ago - I was unable to create
a free-form project from an apparently valid ant-script. I looks like
the problem is not in the build script .

I downgrade the priority and add "Sometimes" to the summary. When I
experience it again, I'll add more details.
Comment 3 Jesse Glick 2004-10-13 18:32:11 UTC
Please use ant/code, not java/project, for freeform project issues.

No idea why such a thing would happen, so just going to wait for more
info.
Comment 4 Jesse Glick 2004-10-26 03:49:04 UTC
Reopen with details if it happens again.
Comment 5 farble1670 2005-01-27 16:45:06 UTC
Created attachment 20005 [details]
problem build.xml script
Comment 6 farble1670 2005-01-27 16:46:34 UTC
problem happens consistently with attached build script.
Comment 7 Jesse Glick 2005-01-28 02:26:05 UTC
Remove the unnecessary (and incorrect) "file:" prefix from the
relative URI in the entity include and the script should be fine.
Comment 8 remould 2011-11-02 16:50:48 UTC
I too have encountered several times when creating a free-form project. Isn't it better not to validate the build file when creating the project.
Comment 9 Jesse Glick 2011-11-04 22:19:12 UTC
The wizard needs to inspect the Ant script to find targets, so it needs to be well-formed.
Comment 10 Jesse Glick 2012-05-08 14:27:04 UTC
Reverting awawdeh's metadata changes, which seem to be junk.