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 68820 - [50cat] Single Compile wont recognize selected file
Summary: [50cat] Single Compile wont recognize selected file
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: EJB Project (show other bugs)
Version: 5.x
Hardware: PC All
: P3 blocker (vote)
Assignee: Andrei Badea
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-16 15:28 UTC by workerbee
Modified: 2005-11-21 10:24 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description workerbee 2005-11-16 15:28:58 UTC
[ JDK VERSION : 1.5.0_03 ]

Working on an EJB project. I selected a file and had the IDE generate the test script for me. 

Now when I click on the file, right click and choose compile. I get the ant error
Must Select some files in the IDE or set javac.includes.  

I've been working on the EJB project all day so I'm not sure what one specific change made this occur.  I did at one point have an error in a jboss deployment and the IDE would never fully shutdown JBoss and I had to kill that process manually. I don't know if that did it or not as I didnt test the single compile immediately after. 

The single compile works in the src directory. 
I have another project ( web) open at the time and the single compile works in both src and test trees in that project. 

Here's what I tried in order to fix the issue. None of these worked. 
1. Removed build-impl and restarted ide 
2. Removed the test directory in properties and added it back. 
3. Removed my user directory and rebuilt all the libraries servers etc. 

No errors are thrown in messages.log

I'll try playing with project files, since it seems project centric and update any progress.
Comment 1 workerbee 2005-11-16 15:43:49 UTC
I created an new EJB project. Added a simple bean to the source tree( no other 
changes). Generated the test script and I get the same error trying to compile. 
Comment 2 Andrei Badea 2005-11-21 10:24:14 UTC
Fixed.

Checking in EjbJarActionProvider.java;
/cvs/j2ee/ejbjarproject/src/org/netbeans/modules/j2ee/ejbjarproject/EjbJarActionProvider.java,v
 <--  EjbJarActionProvider.java
new revision: 1.24; previous revision: 1.23
done